Difference between revisions of "Template:WA editions"
From Worms Knowledge Base
m |
(Adding gog (test)) |
||
Line 1: | Line 1: | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
− | -->{{#if: {{#ifeq:{{lc:{{{1}}}}}|cd|1}}{{#ifeq:{{lc:{{{2}}}}}|cd|1}} | | + | -->{{#if: {{#ifeq:{{lc:{{{1}}}}}|cd|1}}{{#ifeq:{{lc:{{{2}}}}}|cd|1}}{{#ifeq:{{lc:{{{3}}}}}|cd|1}} | |
<span title="This item is compatible with the CD edition of W:A.">[[Image:cd_yes.png|14px|link=|alt=This item is compatible with the CD edition of W:A.]]</span> | <span title="This item is not compatible with the CD edition of W:A.">[[Image:cd_no.png|14px|link=|alt=This item is not compatible with the CD edition of W:A.]]</span> }} <!-- | <span title="This item is compatible with the CD edition of W:A.">[[Image:cd_yes.png|14px|link=|alt=This item is compatible with the CD edition of W:A.]]</span> | <span title="This item is not compatible with the CD edition of W:A.">[[Image:cd_no.png|14px|link=|alt=This item is not compatible with the CD edition of W:A.]]</span> }} <!-- | ||
− | -->{{#if: {{#ifeq:{{lc:{{{1}}}}}|steam|1}}{{#ifeq:{{lc:{{{2}}}}}|steam|1}} | | + | -->{{#if: {{#ifeq:{{lc:{{{1}}}}}|steam|1}}{{#ifeq:{{lc:{{{2}}}}}|steam|1}}{{#ifeq:{{lc:{{{3}}}}}|steam|1}} | |
<span title="This item is compatible with the Steam edition of W:A.">[[Image:steam_yes.png|14px|link=|alt=This item is compatible with the Steam edition of W:A.]]</span> | <span title="This item is not compatible with the Steam edition of W:A.">[[Image:steam_no.png|14px|link=|alt=This item is not compatible with the Steam edition of W:A.]]</span> }}<!-- | <span title="This item is compatible with the Steam edition of W:A.">[[Image:steam_yes.png|14px|link=|alt=This item is compatible with the Steam edition of W:A.]]</span> | <span title="This item is not compatible with the Steam edition of W:A.">[[Image:steam_no.png|14px|link=|alt=This item is not compatible with the Steam edition of W:A.]]</span> }}<!-- | ||
+ | -->{{#if: {{#ifeq:{{lc:{{{1}}}}}|gog|1}}{{#ifeq:{{lc:{{{2}}}}}|gog|1}}{{#ifeq:{{lc:{{{3}}}}}|gog|1}} | | ||
+ | <span title="This item is compatible with the GOG edition of W:A.">[[Image:gog_yes.png|14px|link=|alt=This item is compatible with the GOG edition of W:A.]]</span> | <span title="This item is not compatible with the GOG edition of W:A.">[[Image:gog_no.png|14px|link=|alt=This item is not compatible with the GOG edition of W:A.]]</span> }}<!-- | ||
--></onlyinclude> | --></onlyinclude> | ||
Usage: | Usage: | ||
− | <nowiki>{{WA_editions|cd}} or {{WA_editions|cd|steam}} etc.</nowiki> | + | <nowiki>{{WA_editions|cd}} or {{WA_editions|cd|steam|gog}} etc.</nowiki> |
Revision as of 15:53, 11 October 2016
Usage:
{{WA_editions|cd}} or {{WA_editions|cd|steam|gog}} etc.