Difference between revisions of "Template:Software"

From Worms Knowledge Base

Jump to: navigation, search
m (the #switch: thing makes this template far easier to understand and edit, and slightly more versatile too)
({{i-w2}}, {{i-wa}}, {{i-wwp}}, etc.)
 
(7 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]]
+
Usage:
| off =
+
<nowiki>{{Software|w2}} or {{Software|w2|wa}} etc.</nowiki>
| [[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