Difference between revisions of "Template:Software"

From Worms Knowledge Base

Jump to: navigation, search
m
({{i-w2}}, {{i-wa}}, {{i-wwp}}, etc.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch: {{{w2|}}}
+
<onlyinclude><!--
| yes = [[Image:Worms2_icon_orig.gif{{!}}14px{{!}}This item applies to Worms 2]]
+
-->{{#if: {{#ifeq:{{uc:{{{1}}}}}|W2|1}}{{#ifeq:{{uc:{{{2}}}}}|W2|1}}{{#ifeq:{{uc:{{{3}}}}}|W2|1}} |
| off =
+
{{i-w2}} | {{x-w2}} }}<!--
| [[Image:Worms2_icon_orig_disabled.png{{!}}14px{{!}}This item does not apply to Worms 2]]
+
-->{{#if: {{#ifeq:{{uc:{{{1}}}}}|WA|1}}{{#ifeq:{{uc:{{{2}}}}}|WA|1}}{{#ifeq:{{uc:{{{3}}}}}|WA|1}} |
}}{{#switch: {{{wa|}}}
+
{{i-wa}} | {{x-wa}} }}<!--
| yes = [[Image:WA_icon.png{{!}}14px{{!}}This item applies to Worms Armageddon]]
+
-->{{#if: {{#ifeq:{{uc:{{{1}}}}}|WWP|1}}{{#ifeq:{{uc:{{{2}}}}}|WWP|1}}{{#ifeq:{{uc:{{{3}}}}}|WWP|1}} |
| off =
+
{{i-wwp}} | {{x-wwp}} }}<!--
| [[Image:WA_icon_disabled.png{{!}}14px{{!}}This item does not apply to Worms Armageddon]]
+
--></onlyinclude>
}}{{#switch: {{{wwp|}}}
+
| yes = [[Image:WWP_icon.gif{{!}}14px{{!}}This item applies to Worms World Party]]
+
| off =
+
| [[Image:WWP_icon_disabled.png{{!}}14px{{!}}This item does not apply to Worms World Party]]
+
}}
+
  
 
+
Usage:
 
+
<nowiki>{{Software|w2}} or {{Software|w2|wa}} etc.</nowiki>
{{#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]]}}{{#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]]}}{{#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]]}}
+

Latest revision as of 11:35, 2 September 2010

[—][—][—]

Usage:

{{Software|w2}} or {{Software|w2|wa}} etc.
Personal tools