Difference between revisions of "Template:CFFossilInfo"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Creating CF fossil info template) |
AlexBot2004 (talk | contribs) m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare: | <noinclude>{{#cargo_declare: | ||
_table=cf_fossil | _table=cf_fossil | ||
+ | |number = Integer | ||
|name = String | |name = String | ||
|image = String | |image = String | ||
Line 6: | Line 7: | ||
|fossil_group = String | |fossil_group = String | ||
|sell = Integer | |sell = Integer | ||
+ | |color1 = String | ||
+ | |color2 = String | ||
+ | |theme = String | ||
+ | |hra_base = Integer | ||
|width = Float | |width = Float | ||
|length = Float | |length = Float | ||
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store: | }}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store: | ||
_table=cf_fossil | _table=cf_fossil | ||
+ | |number = {{{number|}}} | ||
|name = {{{name|}}} | |name = {{{name|}}} | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
Line 16: | Line 22: | ||
|interactable = {{{interactable|}}} | |interactable = {{{interactable|}}} | ||
|sell = {{{sell|}}} | |sell = {{{sell|}}} | ||
+ | |color1 = {{{color1|}}} | ||
+ | |color2 = {{{color2|}}} | ||
+ | |theme = {{{theme|}}} | ||
+ | |hra_base = {{{hra|}}} | ||
|width = {{{width|}}} | |width = {{{width|}}} | ||
|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>|}} | + | |number = {{{number|}}} |
+ | |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 27: | Line 38: | ||
|label = Sell price | |label = Sell price | ||
|data = {{Currency|Bells|{{{sell|??}}}}} | |data = {{Currency|Bells|{{{sell|??}}}}} | ||
+ | |label2 = Colors | ||
+ | |data2 = {{color|{{{color1|}}}|display=inline-block|small=yes}} {{color|{{{color2|}}}|display=inline-block|small=yes}} | ||
+ | |label3 = HRA genre | ||
+ | |data3 = {{{theme|Unknown}}} | ||
|labelend = Size | |labelend = Size | ||
|dataend = {{Size|{{{width|1.0}}}|{{{length|1.0}}}|imgsize=30x30px}} | |dataend = {{Size|{{{width|1.0}}}|{{{length|1.0}}}|imgsize=30x30px}} | ||
}}<noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Fossil info templates]]</noinclude> | }}<noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Fossil info templates]]</noinclude> |
Latest revision as of 15:58, February 1, 2024
This template defines the table "cf_fossil". View table.
Have an image of this fossil?
Then please upload it!
Sell price | ?? Bells |
---|---|
Colors | |
HRA genre | Unknown |
Size |
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).
- 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 }}