Difference between revisions of "Template:Test"

From Worms Knowledge Base

Jump to: navigation, search
m
m
Line 1: Line 1:
 
<noinclude>Use this for testing template code before creating new templates</noinclude>
 
<noinclude>Use this for testing template code before creating new templates</noinclude>
{| class="infobox" style="width: {{{width}}}; font-size: {{{fontsize}}};"
+
{{#ifexpr:{{#ifeq:{{{1}}}|w2|1|0}} or {{#ifeq:{{{2}}}|w2|1|0}} or {{#ifeq:{{{3}}}|w2|1|0}}|[[Image:Worms2_icon_orig.gif{{!}}14px{{!}}This item applies to Worms 2]]|[[Image:Worms2_icon_orig_disabled.png{{!}}14px{{!}}This item does not apply to Worms 2]]}}
| rowspan="{{#if:{{{3|}}} or {{{line2|}}}|3|2}}" | [[Image:Download.png|{{#if:{{{3|}}} or {{{line2|}}}|56px|35px}}|Click the links on the right to watch or download.]] || '''W:A replay''': {{{2}}}{{{line1}}}
+
{{#ifexpr:{{#ifeq:{{{1}}}|wa|1|0}} or {{#ifeq:{{{2}}}|wa|1|0}} or {{#ifeq:{{{3}}}|wa|1|0}}|[[Image:WA_icon.png{{!}}14px{{!}}This item applies to Worms Armageddon]]|[[Image:WA_icon_disabled.png{{!}}14px{{!}}This item does not apply to Worms Armageddon]]}}
{{#if:{{{3|}}} or {{{line2|}}}|
+
{{#ifexpr:{{#ifeq:{{{1}}}|wwp|1|0}} or {{#ifeq:{{{2}}}|wwp|1|0}} or {{#ifeq:{{{3}}}|wwp|1|0}}|[[Image:WWP_icon.gif{{!}}14px{{!}}This item applies to Worms World Party]]|[[Image:WWP_icon_disabled.png{{!}}14px{{!}}This item does not apply to Worms World Party]]}}
{{!}}-
+
{{!}}{{{3}}}{{{line2}}}}}
+
|-
+
| style="text-align: center" | <span class="plainlinks">[[Media:{{#if:{{{file|}}}|{{{file}}}|{{{1}}}}}|watch]] · [{{SERVER}}/download/{{#if:{{{file|}}}|{{{file}}}|{{{1}}}}} download] · [{{SERVER}}{{localurl:Image:{{#if:{{{file|}}}|{{{file}}}|{{{1}}}}}}} info]</span>
+
|}
+

Revision as of 14:57, 28 June 2008

Use this for testing template code before creating new templates This item does not apply to Worms 2 This item does not apply to Worms Armageddon This item does not apply to Worms World Party

Personal tools