Difference between revisions of "Template:NHFossilInfo"
From Nookipedia, the Animal Crossing wiki
m |
AlexBot2004 (talk | contribs) (Sentence case) |
||
(2 intermediate revisions by 2 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 = Boolean | |interactable = Boolean | ||
Line 15: | Line 16: | ||
|name = {{{name|}}} | |name = {{{name|}}} | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
+ | |image_url = {{filepath:{{{image|}}}}} | ||
|fossil_group = {{{group|}}} | |fossil_group = {{{group|}}} | ||
|interactable = {{{interactable|}}} | |interactable = {{{interactable|}}} | ||
Line 24: | Line 26: | ||
|length = {{{length|}}} | |length = {{{length|}}} | ||
}}}}</includeonly>{{Fossil Info | }}}}</includeonly>{{Fossil Info | ||
− | |name = {{{name|}}}{{#if:{{{name-note|}}}|<br><span style="font-weight: normal; font-size: .8em;">{{{name-note|}}}</span>|}} | + | |name = {{#invoke:SentenceCase|main|{{{name|}}}}}{{#if:{{{name-note|}}}|<br><span style="font-weight: normal; font-size: .8em;">{{{name-note|}}}</span>|}} |
|image = {{{image|}}} | |image = {{{image|}}} | ||
|imagesize = 100px | |imagesize = 100px | ||
Line 32: | 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 }}