Open main menu

Difference between revisions of "Template:Map"

30 bytes added ,  23:59, 7 April 2010
m
Show the value
m (Calculate position)
m (Show the value)
Line 1: Line 1:
{{#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}}}}}}}|#|}}|}}}}
}}
}}
}}


960

edits