Difference between revisions of "Template:NLFossilInfo"

From Nookipedia, the Animal Crossing wiki
(Undo revision 607746 by BladeofEvilsBane (talk))
Tag: Undo
m
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|color1 = String
 
|color1 = String
 
|color2 = String
 
|color2 = String
 +
|style = String
 
|theme = String
 
|theme = String
 
|hha_base = Integer
 
|hha_base = Integer
Line 18: Line 19:
 
|image_url = {{filepath:{{{image|}}}}}
 
|image_url = {{filepath:{{{image|}}}}}
 
|fossil_group = {{{group|}}}
 
|fossil_group = {{{group|}}}
|interactable = {{{interactable|}}}
 
 
|sell = {{{sell|}}}
 
|sell = {{{sell|}}}
 
|color1 = {{{color1|}}}
 
|color1 = {{{color1|}}}
 
|color2 = {{{color2|}}}
 
|color2 = {{{color2|}}}
|theme = {{{theme|}}}
+
|style = Historical
|hha_base = 87
+
|theme = {{#if:{{{group|}}}|Quirky|}}
 +
|hha_base = 51
 
|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>|}}
+
|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 37: Line 38:
 
|label2        = Colors
 
|label2        = Colors
 
|data2          = {{color|{{{color1|}}}|display=inline-block|small=yes}} {{color|{{{color2|}}}|display=inline-block|small=yes}}
 
|data2          = {{color|{{{color1|}}}|display=inline-block|small=yes}} {{color|{{{color2|}}}|display=inline-block|small=yes}}
|label3        = Theme
+
|label3        = Style
|data3          = {{{theme|Unknown}}}
+
|data3          = [[Clothing/New Leaf/Historical|Historical]]
 +
|label4        = {{#if:{{{group|}}}|HHA theme challenge|}}
 +
|data4          = {{#if:{{{group|}}}|[[Furniture/New Leaf/Quirky|Quirky]]|}}
 
|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 23:39, February 1, 2024

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

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

Sell price  ?? Bells
Colors
 
 
Style Historical
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

{{NLFossilInfo
| name = Ankylo Skull
| group = Ankylosaurus
| image = Ankylo Skull NL Icon.png
| sell = 3000
| color1 = Brown
| color2 = Brown
| theme = Quirky
| width = 2.0
| length = 2.0
}}