Difference between revisions of "Template:ShowFeature"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Typo)
m (Add a separation space)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}| {{#switch:{{#explode:{{{value|}}}| }}|yes={{{yes}}}|no={{{no}}}|#default={{{value}}}}} |noshowcommon}}
<includeonly>{{#if:{{#pos:#{{{keys}}}#|#{{#explode:{{{value|}}}| }}#}}|<!--
-
valid key-->{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}
{{#ifeq:{{#explode:{{{value|}}}| |1}}||noextra|extra}}
  |{{Map|keys={{{keys}}}|values={{{values}}}|key={{#explode:{{{value|}}}| }}}}|<!--noshowcommon-->}}
-
<!--
{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}|noboth|(}}
-->{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||0|1}}| ( |<!--noboth-->}}<!--
{{#ifeq:{{#explode:{{{value|}}}| |1}}||noextra|extra}}
-->{{#ifeq:{{#explode:{{{value|}}}| |1}}||<!--noextra-->|<!--extra-->{{#sub:{{{value|}}}|{{#pos:{{{value|}}}| }}|0}}}}<!--
{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}|noboth|)}}
-->{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||0|1}}|)|<!--noboth-->}}
 
|<!--
unknown key-->{{{value|}}}}}</includeonly><noinclude>
TODO: Usage
</noinclude>

Latest revision as of 14:11, 8 April 2010

TODO: Usage