Template:Infobox treasure: Difference between revisions

→‎Parameters: This was missing?
m (Text replacement - "<noinclude> ==Info==" to "<noinclude> {{clear}} ==Info==")
(→‎Parameters: This was missing?)
 
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:
|-
|-
! Value
! Value
| {{#if:{{{sparklium|}}} | {{Sparklium|{{{sparklium|}}}}} | {{Pokos|{{{value}}}}} }}
| {{#if:{{{sparklium|}}} | {{Sparklium|hp|{{{sparklium|}}}}} | {{Pokos|{{{value}}}}} }}
|-
|-
! [[Weight]]
! [[Weight]]
Line 34: Line 34:
{{clear}}
{{clear}}
==Info==
==Info==
Place this at the top of [[treasure]] articles. This creates an information box with data about the treasure.
Place this at the top of articles for [[treasure]]s in {{p2}} and {{hp}}. This creates an information box with data about the treasure.


Articles with this template are automatically categorized under [[:Category:Treasures]], and the corresponding [[:Category:Treasure Series|treasure series category(ies)]].
Articles with this template are automatically categorized under [[:Category:Treasures]], and the corresponding [[:Category:Treasure Series|treasure series category(ies)]].
For treasures in {{p4}}, use {{tem|infobox p4 treasure}} instead.


==Parameters==
==Parameters==
{| class = "wikitable"
{| class = "wikitable"
! Parameter || Mandatory || Default || Detailed description
! Parameter || Mandatory || Default || Detailed description
|-
! treasure_name
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the name of the treasure is different from the title of the page, specify it here.
|-
|-
! image
! image