Difference between revisions of "Template:SchemeWeapons"

From Worms Knowledge Base

Jump to: navigation, search
m (what if i... force the row height?)
m (continued tweaking)
Line 45: Line 45:
 
{{#if: {{{FirepunchQuantity|}}}{{{DragonballQuantity|}}}{{{KamikazeQuantity|}}}{{{SuicideBomberQuantity|}}}{{{ProdQuantity|}}} | {{!}}- style="vertical-align: top; color:white; font-size:80%"
 
{{#if: {{{FirepunchQuantity|}}}{{{DragonballQuantity|}}}{{{KamikazeQuantity|}}}{{{SuicideBomberQuantity|}}}{{{ProdQuantity|}}} | {{!}}- style="vertical-align: top; color:white; font-size:80%"
 
{{!}} F4
 
{{!}} F4
{{!}} {{#if: {{{FirepunchQuantity|}}} | [[Image:Firepunchicon.png|30px|link=Firepunch]] <br>{{#ifeq: {{{FirepunchQuantity}}} | Inf | | x{{{FirepunchQuantity|}}} }} {{#if: {{{FirepunchPower|}}} | ⋆{{{FirepunchPower|}}} | }} | }}
+
{{#if: {{{FirepunchQuantity|}}} | {{!}} [[Image:Firepunchicon.png|30px|link=Firepunch]] <br>{{#ifeq: {{{FirepunchQuantity}}} | Inf | | x{{{FirepunchQuantity|}}} }} {{#if: {{{FirepunchPower|}}} | ⋆{{{FirepunchPower|}}} | }} | }}
{{!}} {{#if: {{{DragonballQuantity|}}} | [[Image:Dragonballicon.png|30px|link=Dragonball]] <br>{{#ifeq: {{{DragonballQuantity}}} | Inf | | x{{{DragonballQuantity|}}} }} {{#if: {{{DragonballPower|}}} | ⋆{{{DragonballPower|}}} | }} | }}
+
{{#if: {{{DragonballQuantity|}}} | {{!}} [[Image:Dragonballicon.png|30px|link=Dragonball]] <br>{{#ifeq: {{{DragonballQuantity}}} | Inf | | x{{{DragonballQuantity|}}} }} {{#if: {{{DragonballPower|}}} | ⋆{{{DragonballPower|}}} | }} | }}
{{!}} {{#if: {{{KamikazeQuantity|}}} | [[Image:Kamikazeicon.png|30px|link=Kamikaze]] <br>{{#ifeq: {{{KamikazeQuantity}}} | Inf | | x{{{KamikazeQuantity|}}} }} {{#if: {{{KamikazePower|}}} | ⋆{{{KamikazePower|}}} | }} | }}
+
{{#if: {{{KamikazeQuantity|}}} | {{!}} [[Image:Kamikazeicon.png|30px|link=Kamikaze]] <br>{{#ifeq: {{{KamikazeQuantity}}} | Inf | | x{{{KamikazeQuantity|}}} }} {{#if: {{{KamikazePower|}}} | ⋆{{{KamikazePower|}}} | }} | }}
{{!}} {{#if: {{{SuicideBomberQuantity|}}} | [[Image:Suicidebombicon.png|30px|link=Suicide Bomber]] <br>{{#ifeq: {{{SuicideBomberQuantity}}} | Inf | | x{{{SuicideBomberQuantity|}}} }} {{#if: {{{SuicideBomberPower|}}} | ⋆{{{SuicideBomberPower|}}} | }} | }}
+
{{#if: {{{SuicideBomberQuantity|}}} | {{!}} [[Image:Suicidebombicon.png|30px|link=Suicide Bomber]] <br>{{#ifeq: {{{SuicideBomberQuantity}}} | Inf | | x{{{SuicideBomberQuantity|}}} }} {{#if: {{{SuicideBomberPower|}}} | ⋆{{{SuicideBomberPower|}}} | }} | }}
{{!}} {{#if: {{{ProdQuantity|}}} | [[Image:Prodicon.png|30px|link=Prod]] <br>{{#ifeq: {{{ProdQuantity}}} | Inf || x{{{ProdQuantity|}}} }} {{#if: {{{ProdPower|}}} | ⋆{{{ProdPower|}}} |}} | }} |
+
{{#if: {{{ProdQuantity|}}} | {{!}} [[Image:Prodicon.png|30px|link=Prod]] <br>{{#ifeq: {{{ProdQuantity}}} | Inf || x{{{ProdQuantity|}}} }} {{#if: {{{ProdPower|}}} | ⋆{{{ProdPower|}}} |}} | }} |
 
}}
 
}}
{{#if: {{{DynamiteQuantity|}}}{{{MineQuantity|}}}{{{SheepQuantity|}}}{{{SupersheepQuantity|}}}{{{MoleBombQuantity|}}} | {{!}}- style="vertical-align: top; height:30px; color:white; font-size:80%"
+
{{#if: {{{DynamiteQuantity|}}}{{{MineQuantity|}}}{{{SheepQuantity|}}}{{{SupersheepQuantity|}}}{{{MoleBombQuantity|}}} | {{!}}- style="vertical-align: top; color:white; font-size:80%"
 
{{!}} F5
 
{{!}} F5
 
{{#if: {{{DynamiteQuantity|}}} | {{!}} [[Image:Dynamiteicon.png|30px|link=Dynamite]] <br>{{#ifeq: {{{DynamiteQuantity}}} | Inf | | x{{{DynamiteQuantity|}}} }} {{#if: {{{DynamitePower|}}} | ⋆{{{DynamitePower|}}} | }} | }}
 
{{#if: {{{DynamiteQuantity|}}} | {{!}} [[Image:Dynamiteicon.png|30px|link=Dynamite]] <br>{{#ifeq: {{{DynamiteQuantity}}} | Inf | | x{{{DynamiteQuantity|}}} }} {{#if: {{{DynamitePower|}}} | ⋆{{{DynamitePower|}}} | }} | }}

Revision as of 11:16, 14 July 2020

To use this template, add {{SchemeWeapons}} to an article with weapon quantities and powers as parameters. Weapons can be excluded from the parameters if their quantity is zero. Use "Inf" to indicate a weapon of unlimited quantity. For example, {{SchemeWeapons|BazookaQuantity=5|GrenadeQuantity=Inf|GrenadePower=5}}

Weapons in this scheme







F12 Skipgoicon.png Surrendericon.png
Weapons are unlimited in number,
and have a power setting of 3,
unless otherwise noted
Personal tools