Template:Infobox item: Difference between revisions
Jump to navigation
Jump to search
TeamSpecBot (talk | contribs) Drop the preset field; the cost label links to how costs work |
TeamSpecBot (talk | contribs) Add an image field |
||
| Line 2: | Line 2: | ||
|- | |- | ||
! colspan="2" style="background:#dcebdc;padding:6px;font-size:115%;text-align:center;" | {{{name|{{PAGENAME}}}}} | ! colspan="2" style="background:#dcebdc;padding:6px;font-size:115%;text-align:center;" | {{{name|{{PAGENAME}}}}} | ||
{{#if:{{{image|}}}| | |||
{{!}}- | |||
{{!}} colspan="2" style="padding:8px;text-align:center;background:#ffffff;" {{!}} [[File:{{{image}}}|250px|{{{name|{{PAGENAME}}}}}]] | |||
}} | |||
{{#if:{{{slot|}}}| | {{#if:{{{slot|}}}| | ||
{{!}}- | {{!}}- | ||
Revision as of 04:41, 20 October 2026
The box at the top right of every accessory item page. Same parameters as Template:Infobox weapon.
Usage
{{Infobox item
| name = Pet Rock
| slot = Accessory
| type = Passive
| cost = Pick 0, Power 10, Support 0
| stats =
{{Stat row|Max health|+100}}
}}
Parameters
name: the title. Defaults to the page name.slot: slottype: typecost: cost
Every parameter is optional; empty ones are left out. Needs the ParserFunctions extension for #if.