Difference between revisions of "Template:SchemeWeapons"

From Worms Knowledge Base

Jump to: navigation, search
(now then. what if i did this... will the weapon icons left-align?)
(the answer is yes! but the extra cells don't appear so the border appears off. so what we want is, if a quantity is *not* specified, add an empty cell to the end, and repeat for whole row)
Line 57: Line 57:
 
{{#if: {{{SheepQuantity|}}} | {{!}} [[Image:Sheepicon.png|30px|link=Sheep]] <br>{{#ifeq: {{{SheepQuantity}}} | Inf | | x{{{SheepQuantity|}}} }} {{#if: {{{SheepPower|}}} | ⋆{{{SheepPower|}}} | }} | }}
 
{{#if: {{{SheepQuantity|}}} | {{!}} [[Image:Sheepicon.png|30px|link=Sheep]] <br>{{#ifeq: {{{SheepQuantity}}} | Inf | | x{{{SheepQuantity|}}} }} {{#if: {{{SheepPower|}}} | ⋆{{{SheepPower|}}} | }} | }}
 
{{#if: {{{SupersheepQuantity|}}} | {{!}} [[Image:Supersheepicon.png|30px|link=Supersheep]] <br>{{#ifeq: {{{SupersheepQuantity}}} | Inf | | x{{{SupersheepQuantity|}}} }} {{#if: {{{SupersheepPower|}}} | ⋆{{{SupersheepPower|}}} | }} | }}
 
{{#if: {{{SupersheepQuantity|}}} | {{!}} [[Image:Supersheepicon.png|30px|link=Supersheep]] <br>{{#ifeq: {{{SupersheepQuantity}}} | Inf | | x{{{SupersheepQuantity|}}} }} {{#if: {{{SupersheepPower|}}} | ⋆{{{SupersheepPower|}}} | }} | }}
{{#if: {{{MoleBombQuantity|}}} | {{!}} [[Image:Molebombicon.png|30px|link=Mole Bomb]] <br>{{#ifeq: {{{MoleBombQuantity}}} | Inf | | x{{{MoleBombQuantity|}}} }} {{#if: {{{MoleBombPower|}}} | ⋆{{{MoleBombPower|}}} | }} | }} |  
+
{{#if: {{{MoleBombQuantity|}}} | {{!}} [[Image:Molebombicon.png|30px|link=Mole Bomb]] <br>{{#ifeq: {{{MoleBombQuantity}}} | Inf | | x{{{MoleBombQuantity|}}} }} {{#if: {{{MoleBombPower|}}} | ⋆{{{MoleBombPower|}}} | }} | }}
 +
{{#if: {{{DynamiteQuantity|}}} | | {{!}} }}
 +
{{#if: {{{MineQuantity|}}} | | {{!}} }}
 +
{{#if: {{{SheepQuantity|}}} | | {{!}} }}
 +
{{#if: {{{SupersheepQuantity|}}} | | {{!}} }}
 +
{{#if: {{{MoleBombQuantity|}}} | | {{!}} }}
 +
|  
 
}}
 
}}
 
{{#if: {{{AirStrikeQuantity|}}}{{{NapalmStrikeQuantity|}}}{{{MailStrikeQuantity|}}}{{{MineStikeQuantity|}}}{{{MoleStrikeQuantity|}}} | {{!}}- style="vertical-align: top; color:white; font-size:80%"
 
{{#if: {{{AirStrikeQuantity|}}}{{{NapalmStrikeQuantity|}}}{{{MailStrikeQuantity|}}}{{{MineStikeQuantity|}}}{{{MoleStrikeQuantity|}}} | {{!}}- style="vertical-align: top; color:white; font-size:80%"

Revision as of 11:07, 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