Template:Infobox/Weapon/StrategyEx: Difference between revisions
From Inkipedia, the Splatoon wiki
< Template:Infobox | Weapon
(making sub icons flat) Tag: Reverted |
(uses flat icon for sub weapons when game is Splatoon 3 (line 16 is copied from line 32 of Template:Infobox/WeaponEx)) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 14: | Line 14: | ||
{| style="border-spacing: 4px; text-align: left; width: 100%;" | {| style="border-spacing: 4px; text-align: left; width: 100%;" | ||
{{Infobox/Property|color={{{color}}}|{{color-link|Competitive:Callouts#Weapon naming|black|Abbreviations}}|{{#if:{{{abbreviation|}}}|{{{abbreviation}}}}}}} | {{Infobox/Property|color={{{color}}}|{{color-link|Competitive:Callouts#Weapon naming|black|Abbreviations}}|{{#if:{{{abbreviation|}}}|{{{abbreviation}}}}}}} | ||
{{Infobox/Property|color={{{color}}}|{{color-link|Sub weapon|black|Sub}}|{{#if:{{{sub|}}} | {{Infobox/Property|color={{{color}}}|{{color-link|Sub weapon|black|Sub}}|{{#if:{{{sub|}}}|{{#ifeq:{{{game|}}}|Splatoon 3|{{Weapon|{{GameShortened|{{{game|}}}}}|Sub|{{{sub}}}|var=Flat}}|{{Weapon|{{GameShortened|{{{game|}}}}}|Sub|{{{sub}}}}}}}}}}} | ||
|Splatoon | |||
| | |||
| | |||
{{Infobox/Property|color={{{color}}}|{{color-link|Special weapon|black|Special}}|{{#if:{{{special|}}}|{{Weapon|{{#switch:{{{game|}}} | {{Infobox/Property|color={{{color}}}|{{color-link|Special weapon|black|Special}}|{{#if:{{{special|}}}|{{Weapon|{{#switch:{{{game|}}} | ||
|Splatoon = S | |Splatoon = S |
Latest revision as of 18:21, 13 March 2024
Displays an infobox for a weapon strategy. This template is a proxy that pre-evaluates parameters for Infobox/Weapon/Strategy.