Difference between revisions of "Template:SchemeWeapons"

From Worms Knowledge Base

Jump to: navigation, search
m (undo (it went horribly wrong))
m (what if i... force the row height?)
Line 51: Line 51:
 
{{!}} {{#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; color:white; font-size:80%"
+
{{#if: {{{DynamiteQuantity|}}}{{{MineQuantity|}}}{{{SheepQuantity|}}}{{{SupersheepQuantity|}}}{{{MoleBombQuantity|}}} | {{!}}- style="vertical-align: top; height:30px; 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:11, 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