Difference between revisions of "Template:Weapon"

From Worms Knowledge Base

Jump to: navigation, search
m (removed whitespace)
(add the second icon; optimize code)
Line 1: Line 1:
 
{| class="infobox" cellspacing="2" style="width: {{{width|22em}}}; font-size: 90%; text-align: left;"
 
{| class="infobox" cellspacing="2" style="width: {{{width|22em}}}; font-size: 90%; text-align: left;"
! colspan="2" style="align: left; font-size: 150%" | {{{1}}}{{#if:{{{2|}}}|&nbsp;&nbsp; {{{2}}} }}<noinclude>&nbsp;&nbsp; {{{2}}}</noinclude>
 
 
|-
 
|-
! style="width: 11em" | Type:
+
! colspan="2" style="font-size: 150%;" | {{{1}}}<span style="margin-right: 0.25em;"> </span>{{{2|}}}<noinclude><span style="margin-right: 0.25em;"> </span>{{{2}}}</noinclude>
| style="width: 11em" | {{{3}}}
+
|-
 +
! colspan="2" style="font-size: 150%;" | {{{icon2}}}<span style="margin-right: 0.25em;"> </span>{{{name2|}}}<noinclude>{{{name2}}}</noinclude>
 +
|-
 +
! style="width: 50%;" | Type:
 +
| {{{3}}}
 
|-
 
|-
 
! Keyboard selection:
 
! Keyboard selection:
| {{{4}}}{{#if: {{{w2key|}}} | [[Image:Worms2_icon_orig.gif|14px|Worms 2:]]&nbsp;{{{w2key}}}{{#if: {{{wakey|}}}|<br/>}} }}{{#if: {{{wakey|}}} | [[Image:WA_icon.png|14px|WA]][[Image:WWP_icon.png|14px|&nbsp;&amp; WWP:]]&nbsp;{{{wakey}}} }}<noinclude>
+
| {{{4}}}{{#if:{{{w2key|}}}|[[Image:Worms2_icon_orig.gif|14px|alt=[W2]|Worms 2]]&nbsp;{{{w2key}}}}}{{#if:{{{wakey|}}}|<br/>[[Image:WA_icon.png|14px|alt=[WA]|Worms Armageddon]][[Image:WWP_icon.png|14px|alt=[WWP]|Worms World Party]]&nbsp;{{{wakey}}}}}<noinclude><br/>[[Image:Worms2_icon_orig.gif|14px|Worms 2:]]&nbsp;{{{w2key}}}<br/>[[Image:WA_icon.png|14px|WA]][[Image:WWP_icon.png|14px|&nbsp;&amp; WWP:]]&nbsp;{{{wakey}}}</noinclude>
[[Image:Worms2_icon_orig.gif|14px|Worms 2:]]&nbsp;{{{w2key}}}<br/>[[Image:WA_icon.png|14px|WA]][[Image:WWP_icon.png|14px|&nbsp;&amp; WWP:]]&nbsp;{{{wakey}}}</noinclude>
+
 
|-  
 
|-  
 
! Standard effects:
 
! Standard effects:

Revision as of 05:18, 22 May 2010

{{{1}}} {{{2}}}
{{{icon2}}} {{{name2}}}
Type: {{{3}}}
Keyboard selection: {{{4}}}
Worms 2: {{{w2key}}}
WA & WWP: {{{wakey}}}
Standard effects: {{{5}}}
Present in: {{{6}}}
Note: Set "width=25em" or similar to make the template wider.
Personal tools