Template:Infobox/Weapon/StrategyEx: Difference between revisions

From Inkipedia, the Splatoon wiki
(More Splatoon 3 support)
m (Text replacement - "InfoboxProperty" to "Infobox/Property")
Line 13: Line 13:
}}_{{#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%;"
{{InfoboxProperty|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}}}}}}}
{{InfoboxProperty|color={{{color}}}|{{color-link|Sub weapon|black|Sub}}|{{#if:{{{sub|}}}|{{Weapon|{{#switch:{{{game|}}}
{{Infobox/Property|color={{{color}}}|{{color-link|Sub weapon|black|Sub}}|{{#if:{{{sub|}}}|{{Weapon|{{#switch:{{{game|}}}
|Splatoon  = S
|Splatoon  = S
|Splatoon 2 = S2
|Splatoon 2 = S2
|Splatoon 3 = S3
|Splatoon 3 = S3
}}|Sub|{{{sub}}}}}}}}}
}}|Sub|{{{sub}}}}}}}}}
{{InfoboxProperty|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
|Splatoon 2 = S2
|Splatoon 2 = S2
|Splatoon 3 = S3
|Splatoon 3 = S3
}}|Special|{{#ifeq:{{{special}}}|Bomb Rush|{{{special}}} ({{{sub}}})|{{{special}}}}}}}}}}}
}}|Special|{{#ifeq:{{{special}}}|Bomb Rush|{{{special}}} ({{{sub}}})|{{{special}}}}}}}}}}}
{{InfoboxProperty|color={{{color}}}|Base {{color-link|damage|black}}|{{#if:{{{base|}}}|{{{base}}}}}}}
{{Infobox/Property|color={{{color}}}|Base {{color-link|damage|black}}|{{#if:{{{base|}}}|{{{base}}}}}}}
{{InfoboxProperty|color={{{color}}}|Base duration|{{#if:{{{duration|}}}|{{{duration}}}}}}}
{{Infobox/Property|color={{{color}}}|Base duration|{{#if:{{{duration|}}}|{{{duration}}}}}}}
{{InfoboxProperty|color={{{color}}}|Ink consumption|{{#if:{{{ink|}}}|{{{ink}}}}}}}
{{Infobox/Property|color={{{color}}}|Ink consumption|{{#if:{{{ink|}}}|{{{ink}}}}}}}
{{InfoboxProperty|color={{{color}}}|Special points|{{#if:{{{points|}}}|{{{points}}}p}}}}
{{Infobox/Property|color={{{color}}}|Special points|{{#if:{{{points|}}}|{{{points}}}p}}}}
{{InfoboxProperty|color={{{color}}}|[[Special gauge#Depletion|<span style="color:black;">Special&nbsp;depletion</span>]]|{{#if:{{{depletion|}}}|[[File:Specdep icon.png{{!}}24px{{!}}link=Special gauge#Depletion]] {{{depletion}}}}}}}
{{Infobox/Property|color={{{color}}}|[[Special gauge#Depletion|<span style="color:black;">Special&nbsp;depletion</span>]]|{{#if:{{{depletion|}}}|[[File:Specdep icon.png{{!}}24px{{!}}link=Special gauge#Depletion]] {{{depletion}}}}}}}
{{InfoboxProperty|color={{{color|}}}|Role|{{{role}}}}}
{{Infobox/Property|color={{{color|}}}|Role|{{{role}}}}}
{{InfoboxProperty|color={{{color|}}}|Strengths|{{{strengths}}}}}
{{Infobox/Property|color={{{color|}}}|Strengths|{{{strengths}}}}}
{{InfoboxProperty|color={{{color|}}}|Weaknesses|{{{weaknesses}}}}}
{{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>

Revision as of 22:18, 1 September 2023


Displays an infobox for a weapon strategy. This template is a proxy that pre-evaluates parameters for Infobox/Weapon/Strategy.