Difference between revisions of "Template:NHFossilInfo"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Rm new line) |
AlexBot2004 (talk | contribs) (Sentence case) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
|name = String | |name = String | ||
|image = String | |image = String | ||
+ | |image_url = String | ||
|fossil_group = String | |fossil_group = String | ||
− | |interactable = | + | |interactable = Boolean |
− | | | + | |sell = Integer |
|color1 = String | |color1 = String | ||
|color2 = String | |color2 = String | ||
Line 11: | Line 12: | ||
|width = Float | |width = Float | ||
|length = Float | |length = Float | ||
− | }}</noinclude><includeonly>{{#cargo_store: | + | }}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store: |
_table=nh_fossil | _table=nh_fossil | ||
|name = {{{name|}}} | |name = {{{name|}}} | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
+ | |image_url = {{filepath:{{{image|}}}}} | ||
|fossil_group = {{{group|}}} | |fossil_group = {{{group|}}} | ||
|interactable = {{{interactable|}}} | |interactable = {{{interactable|}}} | ||
− | | | + | |sell = {{{sell|}}} |
|color1 = {{{color1|}}} | |color1 = {{{color1|}}} | ||
|color2 = {{{color2|}}} | |color2 = {{{color2|}}} | ||
Line 23: | Line 25: | ||
|width = {{{width|}}} | |width = {{{width|}}} | ||
|length = {{{length|}}} | |length = {{{length|}}} | ||
− | }}</includeonly>{{Fossil Info | + | }}}}</includeonly>{{Fossil Info |
− | | | + | |name = {{#invoke:SentenceCase|main|{{{name|}}}}}{{#if:{{{name-note|}}}|<br><span style="font-weight: normal; font-size: .8em;">{{{name-note|}}}</span>|}} |
− | | | ||
− | | | ||
− | |name | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
|imagesize = 100px | |imagesize = 100px | ||
Line 35: | Line 34: | ||
|label = Interactable | |label = Interactable | ||
|data = {{{interactable|}}} | |data = {{{interactable|}}} | ||
− | |label2 = Sell | + | |label2 = Sell price |
|data2 = {{Currency|Bells|{{{sell|??}}}}} | |data2 = {{Currency|Bells|{{{sell|??}}}}} | ||
|label3 = Colors | |label3 = Colors |
Latest revision as of 17:30, November 28, 2022
This template defines the table "nh_fossil". View table.
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.
Usage
Parameters
- name
- Name of the item.
- group
- The fossil group the item is a part of. Name comes from the fossil's plaque in the museum.
- image
- File name (do not include the "File:" prefix).
- interactable
- Yes or No for whether or not the fossil can be interacted with (e.g. some fossils may open their mouth).
- sell
- Sell price.
- color1
- Color of the fossil (factors into HHA score).
- color2
- Second color of the fossil (often the same as the first).
- width
- Width of the fossil when placed as a furniture item, as a float.
- length
- Length of the fossil when placed as a furniture item, as a float.
Example
{{NHFossilInfo | name = Ankylo Skull | group = Ankylosaurus | image = Ankylo Skull NH Icon.png | interactable = No | sell = 3500 | color1 = Brown | color2 = Brown | width = 2.0 | length = 2.0 }}