Difference between revisions of "Template:SchemeWeapons"

From Worms Knowledge Base

Jump to: navigation, search
m (fix syntax)
m (whitespace (not sure if this fixes parsing issue))
Line 49: Line 49:
 
{{!}} {{#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; color:white; font-size:80%"
 
{{#if: {{{DynamiteQuantity|}}}{{{MineQuantity|}}}{{{SheepQuantity|}}}{{{SupersheepQuantity|}}}{{{MoleBombQuantity|}}} | {{!}}- style="vertical-align: top; color:white; font-size:80%"

Revision as of 10:26, 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