Template:Infobox/Weapon/StrategyEx: Difference between revisions
From Inkipedia, the Splatoon wiki
< Template:Infobox | Weapon
(Added Duration parameter (separate from Base Damage parameter).) |
(uses flat icon for sub weapons when game is Splatoon 3 (line 16 is copied from line 32 of Template:Infobox/WeaponEx)) |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 9: | Line 9: | ||
|Splatoon = S | |Splatoon = S | ||
|Splatoon 2 = S2 | |Splatoon 2 = S2 | ||
|Splatoon 3 = S3 | |||
|#default = S | |#default = S | ||
}}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}_promo_render.jpg}}|300px|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]] | }}_{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}_promo_render.jpg}}|300px|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]] | ||
{| 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|Sub weapon|black|Sub}}|{{#if:{{{sub|}}}|{{#ifeq:{{{game|}}}|Splatoon 3|{{Weapon|{{GameShortened|{{{game|}}}}}|Sub|{{{sub}}}|var=Flat}}|{{Weapon|{{GameShortened|{{{game|}}}}}|Sub|{{{sub}}}}}}}}}}} | ||
{{Infobox/Property|color={{{color}}}|{{color-link|Special weapon|black|Special}}|{{#if:{{{special|}}}|{{Weapon|{{#switch:{{{game|}}} | |||
|Splatoon = S | |Splatoon = S | ||
|Splatoon 2 = S2 | |Splatoon 2 = S2 | ||
|Splatoon 3 = S3 | |||
}}|Special|{{#ifeq:{{{special}}}|Bomb Rush|{{{special}}} {{{sub}}}|{{{special}}}}}}}}}}} | |||
|Splatoon | {{Infobox/Property|color={{{color}}}|Base {{color-link|damage|black}}|{{#if:{{{base|}}}|{{{base}}}}}}} | ||
{{Infobox/Property|color={{{color}}}|Base duration|{{#if:{{{duration|}}}|{{{duration}}}}}}} | |||
}}|Special|{{#ifeq:{{{special}}}|Bomb Rush|{{{special}}}  | {{Infobox/Property|color={{{color}}}|Ink consumption|{{#if:{{{ink|}}}|{{{ink}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Special points|{{#if:{{{points|}}}|{{{points}}}p}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|[[Special gauge#Depletion|<span style="color:black;">Special depletion</span>]]|{{#if:{{{depletion|}}}|[[File:Specdep icon.png{{!}}24px{{!}}link=Special gauge#Depletion]] {{{depletion}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color|}}}|Role|{{{role}}}}} | ||
{{ | {{Infobox/Property|color={{{color|}}}|Strengths|{{{strengths}}}}} | ||
{{ | {{Infobox/Property|color={{{color|}}}|Weaknesses|{{{weaknesses}}}}} | ||
{{ | |||
{{ | |||
{{ | |||
|}</div>{{#ifeq: {{{suppress category}}} | true ||[[Category:Weapon strategy]]}}</includeonly> | |}</div>{{#ifeq: {{{suppress category}}} | true ||[[Category:Weapon strategy]]}}</includeonly> | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
Displays an infobox for a [[weapon]] strategy. This template is a proxy that pre-evaluates parameters for [[Template:Infobox/Weapon/Strategy|Infobox/Weapon/Strategy]]. | Displays an infobox for a [[weapon]] strategy. This template is a proxy that pre-evaluates parameters for [[Template:Infobox/Weapon/Strategy|Infobox/Weapon/Strategy]]. | ||
</noinclude> | </noinclude> |
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.