Difference between revisions of "Template:Map"

Jump to navigation Jump to search
13 bytes added ,  23:57, 7 April 2010
m
Calculate position
m (New test)
m (Calculate position)
Line 1: Line 1:
{{#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}}}}}}}|#|}}|}}}}
|}}}}
}}
 
<!--
<!--
{{#sub:#{{{keys}}}|0|{{#expr:{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#pos:{{{keys}}}|{{{key}}}}}|-1}} + 1}} }}·
{{#sub:#{{{keys}}}|0|{{#expr:{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#pos:{{{keys}}}|{{{key}}}}}|-1}} + 1}} }}·
960

edits

Navigation menu