Difference between revisions of "Template:ShowFeature"
Jump to navigation
Jump to search
m (New test) |
m (Add a separation space and substring cutting) |
||
Line 1: | Line 1: | ||
{{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}| {{#switch:{{#explode:{{{value|}}}| }}|yes={{{yes}}}|no={{{no}}}|#default={{{value}}}}} |<!--noshowcommon-->}}<!-- | {{#ifexpr: {{{alwayscommon|0}}} or {{#ifeq:{{#explode:{{{value|}}}| |1}}||1|0}}| {{#switch:{{#explode:{{{value|}}}| }}|yes={{{yes}}}|no={{{no}}}|#default={{{value}}}}} |<!--noshowcommon-->}}<!-- | ||
{{#ifeq:{{#explode:{{{value|}}}| |1}}||noextra|extra}} | {{#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-->|{{{value}}}}}<!-- | -->{{#ifeq:{{#explode:{{{value|}}}| |1}}||<!--noextra-->|{{#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-->}} |
Revision as of 23:21, 7 April 2010
{{{value}}}