Difference between revisions of "Template:SchemeWeapons"

From Worms Knowledge Base

Jump to: navigation, search
m (i give up. minor issue anyway, will fix later)
(now then. what if i did this... will the weapon icons left-align?)
Line 53: Line 53:
 
{{#if: {{{DynamiteQuantity|}}}{{{MineQuantity|}}}{{{SheepQuantity|}}}{{{SupersheepQuantity|}}}{{{MoleBombQuantity|}}} | {{!}}- style="vertical-align: top; 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|}}} | }} | }}
{{!}} {{#if: {{{MineQuantity|}}} | [[Image:Mineicon.png|30px|link=Mine]] <br>{{#ifeq: {{{MineQuantity}}} | Inf | | x{{{MineQuantity|}}} }} {{#if: {{{MinePower|}}} | ⋆{{{MinePower|}}} | }} | }}
+
{{#if: {{{MineQuantity|}}} | {{!}} [[Image:Mineicon.png|30px|link=Mine]] <br>{{#ifeq: {{{MineQuantity}}} | Inf | | x{{{MineQuantity|}}} }} {{#if: {{{MinePower|}}} | ⋆{{{MinePower|}}} | }} | }}
{{!}} {{#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: {{{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:02, 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