Changes

Jump to navigation Jump to search
m
Test whether the key is valid
{{#if:{{#pos:#{{{keys}}}#|#{{{key}}}#}}|invalid|valid}} key -{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}  | {{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-->}}<!--
-->{{#ifeq:{{#explode:{{{value|}}}| |1}}||<!--noextra-->|extra:{{#sub:{{{value}}}|{{#pos:{{{1}}}| }}|0}}}}<!--
-->{{#ifexpr: {{{alwayscommon|0}}} and {{#ifeq:{{#explode:{{{value|}}}| |1}}||0|1}}|)|<!--noboth-->}}
960

edits

Navigation menu