Difference between revisions of "Template:PGFossilInfo"

From Nookipedia, the Animal Crossing wiki
(Creating)
 
m
(3 intermediate revisions by 3 users not shown)
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 8: Line 9:
 
|width = Float
 
|width = Float
 
|length = Float
 
|length = Float
}}</noinclude><includeonly>{{#cargo_store:
+
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=pg_fossil
 
_table=pg_fossil
 +
|number = {{{number|}}}
 
|name = {{{name|}}}
 
|name = {{{name|}}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
Line 17: Line 19:
 
|width = {{{width|}}}
 
|width = {{{width|}}}
 
|length = {{{length|}}}
 
|length = {{{length|}}}
}}</includeonly>{{Fossil Info
+
}}}}</includeonly>{{Fossil Info
|bordercolor    = d6a34b
+
|number        = {{{number|}}}
|primarycolor  = ebcb7a
 
|secondarycolor = f5e5bc
 
 
|name          = {{{name|}}}
 
|name          = {{{name|}}}
 
|image          = {{{image|}}}
 
|image          = {{{image|}}}
Line 27: Line 27:
 
|image2        = {{{image2|}}}
 
|image2        = {{{image2|}}}
 
|caption2      = {{{caption2|}}}
 
|caption2      = {{{caption2|}}}
|label          = Sell Price
+
|label          = Sell price
 
|data          = {{Currency|Bells|{{{sell|??}}}}}
 
|data          = {{Currency|Bells|{{{sell|??}}}}}
 
|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 14:39, April 15, 2021

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
}}