Template:Infobox/WeaponEx: Difference between revisions

From Inkipedia, the Splatoon wiki
m (will show subheaders if level and alt1 are present (for the hero and grizzco infoboxes))
m (small fix to the separator)
Line 91: Line 91:
{{#ifeq:{{{category}}}|Main|{{#if:{{{alt1}}}|
{{#ifeq:{{{category}}}|Main|{{#if:{{{alt1}}}|
{{!}}-
{{!}}-
! <hr>|}}|}}
! colspan="2"{{!}}<hr>|}}|}}
{{InfoboxProperty|color={{{color}}}|{{color-link|Main Power Up|black|MPU}} effect|{{#if:{{{mpueffect|}}}|{{{mpueffect}}}}}}}
{{InfoboxProperty|color={{{color}}}|{{color-link|Main Power Up|black|MPU}} effect|{{#if:{{{mpueffect|}}}|{{{mpueffect}}}}}}}
{{InfoboxProperty|color={{{color}}}|{{color-link|Sub Power Up|black|SPU}} effect|{{#if:{{{subpueffect|}}}|{{{subpueffect}}}}}}}
{{InfoboxProperty|color={{{color}}}|{{color-link|Sub Power Up|black|SPU}} effect|{{#if:{{{subpueffect|}}}|{{{subpueffect}}}}}}}

Revision as of 13:12, 6 February 2022

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