Template:Infobox cosmetic: Difference between revisions

From TeamSpec Wiki
Jump to navigation Jump to search
Template: infobox cosmetic
 
Add an image field
Line 2: Line 2:
|-
|-
! colspan="2" style="background:#f3e4ec;padding:6px;font-size:115%;text-align:center;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background:#f3e4ec;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 cosmetic page.

Usage

{{Infobox cosmetic
| name = Top Hat
| slot = Hat
| rarity = Rare
| paintable = Yes
}}

Parameters

  • name: the title. Defaults to the page name.
  • slot: slot
  • rarity: rarity
  • set: outfit
  • paintable: paintable
  • tradable: tradable
  • marketable: marketable

Every parameter is optional; empty ones are left out. Needs the ParserFunctions extension for #if.