Open main menu

Difference between revisions of "Template:ShowFeature"

54 bytes removed ,  14:03, 8 April 2010
m
New test
m (Show the rest just for known keys)
m (New test)
Line 1: Line 1:
{{#if:{{#pos:#{{{keys}}}#|#{{#explode:{{{value|}}}| }}#}}|<!--valid key-->
{{#if:{{#pos:#{{{keys}}}#|#{{#explode:{{{value|}}}| }}#}}|<!--
valid key-->{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}


{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}
   |{{Map|keys={{{keys}}}|values={{{values}}}|key={{{value|}}}}}|NN<!--noshowcommon-->}}<!--
 
   |{{Map|keys={{{keys}}}|values={{{values}}}|key={{{value|}}}}}|<!--noshowcommon-->}}<!--
 
{{#ifeq:{{#explode:{{{value|}}}| |1}}||noextra|extra}}
-->{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||0|1}}| (|<!--noboth-->}}<!--
-->{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||0|1}}| (|<!--noboth-->}}<!--
-->{{#ifeq:{{#explode:{{{value|}}}| |1}}||<!--noextra-->|extra:{{#sub:{{{value}}}|{{#pos:{{{1}}}| }}|0}}}}<!--
-->{{#ifeq:{{#explode:{{{value|}}}| |1}}||<!--noextra-->|extra:{{#sub:{{{value}}}|{{#pos:{{{1}}}| }}|0}}}}<!--
-->{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||0|1}}|)|<!--noboth-->}}
-->{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||0|1}}|)|<!--noboth-->}}


|<!--unknown key-->{{{value|}}}}}
|<!--
unknown key-->{{{value|}}}}}
960

edits