Difference between revisions of "Template:PGFossilInfo"

From Nookipedia, the Animal Crossing wiki
(Creating)
 
(Added number parameter)
Line 1: Line 1:
 
<noinclude>{{#cargo_declare:
 
<noinclude>{{#cargo_declare:
 
_table=pg_fossil
 
_table=pg_fossil
 +
|number = Integer
 
|name = String
 
|name = String
 
|image = String
 
|image = String
Line 10: Line 11:
 
}}</noinclude><includeonly>{{#cargo_store:
 
}}</noinclude><includeonly>{{#cargo_store:
 
_table=pg_fossil
 
_table=pg_fossil
 +
|number = {{{number|}}}
 
|name = {{{name|}}}
 
|name = {{{name|}}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
Line 21: Line 23:
 
|primarycolor  = ebcb7a
 
|primarycolor  = ebcb7a
 
|secondarycolor = f5e5bc
 
|secondarycolor = f5e5bc
 +
|number        = {{{number|}}}
 
|name          = {{{name|}}}
 
|name          = {{{name|}}}
 
|image          = {{{image|}}}
 
|image          = {{{image|}}}

Revision as of 18:07, October 12, 2020

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

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

Sell Price  ?? Bells
Size 1.0 x 1.0

Template documentation (view)


Usage

{{PGFossilInfo
| number = 
| name = 
| group = 
| image = 
| sell = 
| width = 
| length = 
| hha = 
}}

Parameters

number
The item's number in the catalog.
name
Name of the item.
group
The fossil group the item is a part of. Name comes from the quote from Blathers after donating the final part.
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.
hha
Base score received from the Happy Room Academy when placed in a house. Always 1,000 for multi-part fossils and always 300 for standalone fossils.

Example

{{PGFossilInfo
| number = 4
| name = T-Rex Skull
| group = Tyrannosaurus
| image = T-Rex Skull PG Icon.png
| sell = 6000
| width = 2.0
| length = 2.0
| hha = 1000
}}