Difference between revisions of "Template:ShowFeature"

From ScummVM :: Wiki
Jump to navigation Jump to search
(New test)
(New test)
Line 1: Line 1:
{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}|showcommon|noshowcommon}}
+
{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}| {{#switch:{{#explode:{{{value|}}}| }}|yes={{{yes}}}|no={{{no}}}}} |noshowcommon}}
 
-
 
-
 
{{#ifeq:{{#explode:{{{value|}}}| |1}}||noextra|extra}}
 
{{#ifeq:{{#explode:{{{value|}}}| |1}}||noextra|extra}}
 
-
 
-
{{#switch:{{#explode:{{{value|}}}| }}|yes={{{yes}}}|no={{{no}}}|#default={{#explode:{{{value|}}}| |1}}}}
+
{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}|(|noboth}}
 +
{{#ifeq:{{#explode:{{{value|}}}| |1}}||noextra|extra}}
 +
{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}|)|noboth}}

Revision as of 23:09, 7 April 2010

- noextra - noboth noextra noboth