Difference between revisions of "Template:SchemeWeapons"

From Worms Knowledge Base

Jump to: navigation, search
(conditional parameters across all rows)
m (fix horrific error)
Line 1: Line 1:
<noinclude>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}} </noinclude>
+
<noinclude><nowiki>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}} </nowiki></noinclude>
  
 
{| border=1 style="border-collapse:collapse; background-color:#000000; color:white; vertical-align: top;"
 
{| border=1 style="border-collapse:collapse; background-color:#000000; color:white; vertical-align: top;"
 +
|-
 +
| style="width:30px; border:0px" |
 +
| style="width:30px; border:0px" |
 +
| style="width:30px; border:0px" |
 +
| style="width:30px; border:0px" |
 +
| style="width:30px; border:0px" |
 +
| style="width:30px; border:0px" |
 
|-
 
|-
 
| colspan="6" style="text-align: center; color:white; font-size:80%" | Weapons in this scheme
 
| colspan="6" style="text-align: center; color:white; font-size:80%" | Weapons in this scheme
Line 106: Line 113:
 
| {{#if: {{{SelectWormQuantity|}}} | [[Image:Selectwormicon.png|30px|link=Select Worm]] <br>{{#ifeq: {{{SelectWormQuantity}}} | Inf | | x{{{SelectWormQuantity|}}} }} {{#if: {{{SelectWormPower|}}} | ⋆{{{SelectWormPower|}}} | }} | }}
 
| {{#if: {{{SelectWormQuantity|}}} | [[Image:Selectwormicon.png|30px|link=Select Worm]] <br>{{#ifeq: {{{SelectWormQuantity}}} | Inf | | x{{{SelectWormQuantity|}}} }} {{#if: {{{SelectWormPower|}}} | ⋆{{{SelectWormPower|}}} | }} | }}
 
| {{#if: {{{FreezeQuantity|}}} | [[Image:Freezeicon.png|30px|link=Freeze]] <br>{{#ifeq: {{{FreezeQuantity}}} | Inf | | x{{{FreezeQuantity|}}} }} {{#if: {{{FreezePower|}}} | ⋆{{{FreezePower|}}} | }} | }}
 
| {{#if: {{{FreezeQuantity|}}} | [[Image:Freezeicon.png|30px|link=Freeze]] <br>{{#ifeq: {{{FreezeQuantity}}} | Inf | | x{{{FreezeQuantity|}}} }} {{#if: {{{FreezePower|}}} | ⋆{{{FreezePower|}}} | }} | }}
| {{#if: {{{PatsysMagicBulletQuantity|}}} | [[Image:Magicbulleticon.png|30px|link=Patsy's Magic Bullet]] <br>{{#ifeq: {{{PatsysMagicBulletQuantity}}} | Inf | | x{{{PatsysMagicBulletQuantity|}}} }} {{#if: {{{PatsysMagicBulletPower|}}} | ⋆{{{PatsysMagicBulletPower|}}} | }} | }}
+
| {{#if: {{{PatsysMagicBulletQuantity|}}} | [[Image:Magicbulleticon.png|30px|link=Patsy's Magic Bullet]] <br>{{#ifeq: {{{PatsysMagicBulletQuantity}}} | Inf | | x{{{PatsysMagicBulletQuantity|}}} }} {{#if: {{{PatsysMagicBulletPower|}}} | ⋆{{{PatsysMagicBulletPower|}}} | }}
 
}}
 
}}
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| colspan="6" style="text-align: center; color:white; font-size:80%" | Weapons are unlimited in number,<br>and have a power setting of 3,<br> unless otherwise noted
 
| colspan="6" style="text-align: center; color:white; font-size:80%" | Weapons are unlimited in number,<br>and have a power setting of 3,<br> unless otherwise noted
 
|}
 
|}

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