Difference between revisions of "Template:SchemeWeapons"
From Worms Knowledge Base
(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) |
m (line break is back and i don't know why. tweaking) |
||
Line 58: | Line 58: | ||
{{#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: {{{DynamiteQuantity|}}} | | {{!}} }} {{#if: {{{MineQuantity|}}} | | {{!}} }} {{#if: {{{SheepQuantity|}}} | | {{!}} }} {{#if: {{{SupersheepQuantity|}}} | | {{!}} }} {{#if: {{{MoleBombQuantity|}}} | | {{!}} }} | |
− | {{#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:09, 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 | |||||
Weapons are unlimited in number, and have a power setting of 3, unless otherwise noted |