Template:Infobox/WeaponEx: Difference between revisions

From Inkipedia, the Splatoon wiki
(Adding functionality to display info from template:special points data)
m (Moving end brackets to fix template, fixing color parameter for points to charge)
Line 72: Line 72:
|Splatoon 2 = S2
|Splatoon 2 = S2
|#default  = S
|#default  = S
}}_Weapon_{{{category}}}_{{{alt5}}}.png}}|24px|{{{alt5}}}]] [[{{{alt5}}}]]}}}}}}}}}}
}}_Weapon_{{{category}}}_{{{alt5}}}.png}}|24px|{{{alt5}}}]] [[{{{alt5}}}]]}}}}}}}}}}}}
{{InfoboxProperty|color={{SiteColor|Splatoon 2}}|Points to charge|{{#if: {{{specialpoints|}}}|{{Special points data|{{{specialpoints}}}}}}}|style=line-height: 100%;}}}}
{{InfoboxProperty|color={{{color}}}|Points to charge|{{#if: {{{specialpoints|}}}|{{Special points data|{{{specialpoints}}}}}}}|style=line-height: 100%;}}
|}</div>
|}</div>
{{#ifeq:{{{future}}}|true|[[Category:Future]]|
{{#ifeq:{{{future}}}|true|[[Category:Future]]|

Revision as of 23:21, 20 January 2020

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