Difference between revisions of "Template:ShowFeature"

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


  |{{Map|keys={{{keys}}}|values={{{values}}}|key={{{value|}}}}}|<!--noshowcommon-->}}<!--
|<!--
 
unknown key-->{{{value|}}}}}</includeonly><noinclude>
{{#ifeq:{{#explode:{{{value|}}}| |1}}||noextra|extra}}
TODO: Usage
-->{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||0|1}}| (|<!--noboth-->}}<!--
</noinclude>
-->{{#ifeq:{{#explode:{{{value|}}}| |1}}||<!--noextra-->|extra:{{#sub:{{{value}}}|{{#pos:{{{1}}}| }}|0}}}}<!--
-->{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||0|1}}|)|<!--noboth-->}}

Latest revision as of 14:11, 8 April 2010

TODO: Usage