Difference between revisions of "Template:NHFossilInfo"

From Nookipedia, the Animal Crossing wiki
(image_url in Cargo table)
(Sentence case)
 
Line 26: 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

Latest revision as of 17:30, November 28, 2022

This template defines the table "nh_fossil". View table.

Have an image of this fossil?
Then please upload it!

Interactable
Sell price  ?? Bells
Colors
 
 
Size 1.0 x 1.0

Template documentation (view)


More Cargo templates

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
}}