Difference between revisions of "Template:Map"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Adjust the index)
m (New test)
Line 1: Line 1:
{{#explode:{{{values}}}|#|
+
{{#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}}}}}}}|#|}}|}}}}
- 1
 
 
}}
 
}}
 
}}
 
}}

Revision as of 00:01, 8 April 2010