Difference between revisions of "Template:Map"
Jump to navigation
Jump to search
m (Fix syntax) |
m (Search whole keys) |
||
Line 1: | Line 1: | ||
<includeonly>{{#explode:#{{{values}}}|#| | <includeonly>{{#explode:#{{{values}}}|#| | ||
{{#expr: | {{#expr: | ||
{{#len:{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}|}}}} | {{#len:{{#if:{{#pos:#{{{keys}}}#|#{{{key}}}#}}|{{#sub:#{{{keys}}}|0|{{#pos:##{{{keys}}}#|#{{{key}}}#}}}}|}}}} | ||
- | - | ||
{{#len:{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#replace:{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}|#|}}|}}}} | {{#len:{{#if:{{#pos:#{{{keys}}}#|#{{{key}}}#}}|{{#replace:{{#sub:#{{{keys}}}|0|{{#pos:##{{{keys}}}#|#{{{key}}}#}}}}|#|}}|}}}} | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
TODO: Usage | TODO: Usage | ||
</noinclude> | </noinclude> |
Revision as of 08:26, 8 April 2010
TODO: Usage