Difference between revisions of "Template:ShowFeature"

Jump to navigation Jump to search
m (Test whether the key is valid)
m (Fix a variable name (copy-pasting))
Line 1: Line 1:
{{#if:{{#pos:#{{{keys}}}#|#{{{key}}}#}}|invalid|valid}} key -
{{#if:{{#pos:#{{{keys}}}#|#{{{value}}}#}}|invalid|valid}} key -
{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}
{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}