Template:Infobox/WeaponEx: Difference between revisions

From Inkipedia, the Splatoon wiki
m (`)
m (`)
Line 12: Line 12:
}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png}}|128px|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]
}}_Weapon_{{{category}}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}.png}}|128px|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]
{| style="border-spacing: 4px; text-align: left; width: 100%;"
{| style="border-spacing: 4px; text-align: left; width: 100%;"
{{InfoboxProperty|color={{{color}}}|Category|{{#if:{{{category|}}}|[[{{{category}}} Weapon|{{{category}}}]]}}|style=width: 100%;}}
{{InfoboxProperty|color={{{color}}}|Category|[[{{{category}}} Weapon|{{{category}}}]]|style=width: 100%;}}
{{InfoboxProperty|color={{{color}}}|Class|{{#if:{{{class|}}}|[[{{#ifeq:{{{class}}}|Slosher|Slosher (Type){{!}}}}{{{class}}}]]}}}}
{{InfoboxProperty|color={{{color}}}|Class|{{#if:{{{class|}}}|[[{{#ifeq:{{{class}}}|Slosher|Slosher (Type){{!}}}}{{{class}}}]]}}}}
{{InfoboxProperty|color={{{color}}}|Sub|{{#if:{{{sub|}}}|{{Weapon|{{#switch:{{{game|}}}
{{InfoboxProperty|color={{{color}}}|Sub|{{#if:{{{sub|}}}|{{Weapon|{{#switch:{{{game|}}}

Revision as of 12:04, 14 May 2018

Displays an infobox for a Weapon. This is a chained template intended to be used only by Infobox/Weapon.