Difference between revisions of "Template:Map"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Calculate position)
m (New test)
Line 1: Line 1:
{{#sub:{{{keys}}}#|0|{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#pos:{{{keys}}}|{{{key}}}}}|-1}}}}@
{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#pos:{{{keys}}}|{{{key}}}}}|-1}}@
{{#expr:{{#len:{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}}} - {{#len:{{#replace:{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}|#|}}}}}}
{{#expr:{{#len:{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}}} - {{#len:{{#replace:{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}|#|}}}}}}

Revision as of 23:39, 7 April 2010

{{{keys}}}@ -1@ 1