Open main menu

Difference between revisions of "Template:Map"

16 bytes added ,  08:26, 8 April 2010
m
Search whole keys
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>
960

edits