Difference between revisions of "Template:CFFossilInfo"

From Nookipedia, the Animal Crossing wiki
(Sentence case)
Line 27: Line 27:
 
|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

Revision as of 17:32, November 28, 2022

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

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

Sell price  ?? Bells
Colors
 
 
Theme Unknown
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).
sell
Sell price.
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

{{CFFossilInfo
| name = Ankylo Skull
| group = Ankylosaurus
| image = Ankylo Skull CF Icon.png
| sell = 3000
| width = 2
| length = 2
}}