Difference between revisions of "Template:Weapon"

From Worms Knowledge Base

Jump to: navigation, search
(add the second icon; optimize code)
m
Line 2: Line 2:
 
|-
 
|-
 
! 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>
 
! 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>
|-
+
{{#if:{{{icon2|}}}|{{!}}-
! colspan="2" style="font-size: 150%;" | {{{icon2}}}<span style="margin-right: 0.25em;"> </span>{{{name2|}}}<noinclude>{{{name2}}}</noinclude>
+
! colspan="2" style="font-size: 150%;" {{{!}}} {{{icon2}}}<span style="margin-right: 0.25em;"> </span>{{{name2|}}}}}<noinclude>|-
 +
! colspan="2" style="font-size: 150%;" | {{{icon2}}}<span style="margin-right: 0.25em;"> </span>{{{name2}}}</noinclude>
 
|-
 
|-
 
! style="width: 50%;" | Type:
 
! style="width: 50%;" | Type:

Revision as of 05:20, 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