Difference between revisions of "Template:Weapon"

From Worms Knowledge Base

Jump to: navigation, search
(now uses "width" attribute instead of "longname")
m (w2key and wakey deprecated)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="2" style="width: {{{width|22em}}}; font-size: 90%; text-align: left;"
+
<includeonly>{| class="infobox" cellspacing="2" style="width: {{{width|22em}}}; font-size: 90%; text-align: left;"
! colspan="2" style="align: left; font-size: 150%" | {{{1}}}&nbsp;&nbsp; {{{2}}}
+
 
|-
 
|-
|&nbsp;
+
! colspan="2" style="font-size: 150%;" | {{{1}}}<span style="margin-right: 0.25em;"> </span>{{{2|}}}
|&nbsp;
+
{{#if:{{{icon2|}}}|{{!}}-
|-
+
! colspan="2" style="font-size: 150%;" {{!}} {{{icon2}}}<span style="margin-right: 0.25em;"> </span>{{{name2|}}}
! style="width: 11em" | Type:
+
{{!}}-|{{!}}-}}
| style="width: 11em" | {{{3}}}
+
! style="width: 50%;" | Type:
 +
| {{{3}}}
 
|-
 
|-
 
! Keyboard selection:
 
! Keyboard selection:
| {{{4}}}{{#if: {{{w2key|}}} | [[Image:Worms2_icon_orig.gif|14px]]&nbsp;{{{w2key}}}{{#if: {{{wakey|}}}|<br/>}} }}{{#if: {{{wakey|}}} | [[Image:WA_icon.png|14px]][[Image:WWP_icon.gif|14px]]&nbsp;{{{wakey}}} }}<noinclude>
+
| {{{4|}}}<!--
[[Image:Worms2_icon_orig.gif|14px]]&nbsp;{{{w2key}}}<br/>[[Image:WA_icon.png|14px]][[Image:WWP_icon.gif|14px]]&nbsp;{{{wakey}}}</noinclude>
+
 
 +
-->{{#if: {{{w2key|}}} | {{#if: {{{4|}}} | <br/>}}<!--
 +
-->{{i-w2}}&nbsp;{{{w2key}}} }}<!--
 +
 
 +
-->{{#if: {{{wakey|}}} | {{#if: {{{4|}}}{{{w2key|}}} | <br/>}}<!--
 +
-->{{i-wa}}{{i-wwp}}&nbsp;{{{wakey}}} }}
 
|-  
 
|-  
 
! Standard effects:
 
! Standard effects:
Line 17: Line 22:
 
! Present in:
 
! Present in:
 
| {{{6}}}
 
| {{{6}}}
|}
+
|}</includeonly><noinclude>{{Weapon|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|icon2={{{icon2}}}|name2={{{name2}}}}}
 +
''For the navigational box, see [[Template:Weapons]].''
  
<noinclude>Note: Set "width=25em" or similar to make the template wider.</noinclude>
+
Note: Set "width=25em" or similar to make the template wider.</noinclude>

Latest revision as of 11:44, 2 September 2010

{{{1}}} {{{2}}}
{{{icon2}}} {{{name2}}}
Type: {{{3}}}
Keyboard selection: {{{4}}}
Standard effects: {{{5}}}
Present in: {{{6}}}

For the navigational box, see Template:Weapons.

Note: Set "width=25em" or similar to make the template wider.

Personal tools