Difference between revisions of "Template:WWFossilInfo"

From Nookipedia, the Animal Crossing wiki
(Creating WW fossil info template)
 
Line 6: Line 6:
 
|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=nh_fossil
+
_table=ww_fossil
 
|name = {{{name|}}}
 
|name = {{{name|}}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
Line 16: Line 20:
 
|interactable = {{{interactable|}}}
 
|interactable = {{{interactable|}}}
 
|sell = {{{sell|}}}
 
|sell = {{{sell|}}}
 +
|color1 = {{{color1|}}}
 +
|color2 = {{{color2|}}}
 +
|theme = {{{theme|}}}
 +
|hra_base = 87
 
|width = {{{width|}}}
 
|width = {{{width|}}}
 
|length = {{{length|}}}
 
|length = {{{length|}}}
Line 27: Line 35:
 
|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        = Theme
 +
|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>

Revision as of 18:43, July 22, 2021

This template defines the table "ww_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

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