Difference between revisions of "Template:PathLinks"

From Second Life Wiki
Jump to navigation Jump to search
m (multi-lang support)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:
{{#if:
{{#vardefine:s|{{#if:{{{1|}}}|{{{1| > }}}| > }}}}
{{#vardefine:s|{{#if:{{{s|}}}|{{{s| > }}}| > }}}}
{{#vardefine:1|{{#explode:{{PAGENAME}}|/|0}}}}
{{#vardefine:r|{{#if:{{{1|}}}|{{{1|}}}|{{#if:{{#var:langbase}}|{{#var:langbase}}|{{PAGENAME}}}}}}}}
{{#vardefine:2|{{#explode:{{PAGENAME}}|/|1}}}}
{{#vardefine:e|{{#explode:{{#var:r}}|/|0}}}}
{{#vardefine:3|{{#explode:{{PAGENAME}}|/|2}}}}
{{#vardefine:p|{{{n|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}}}}{{#var:e}}}}
{{#vardefine:4|{{#explode:{{PAGENAME}}|/|3}}}}
}}[[{{#var:p}}{{#var:lang}}|{{#if:{{{f|}}}|{{#var:p}}|{{#var:e}}}}]]{{#if:
{{#vardefine:5|{{#explode:{{PAGENAME}}|/|4}}}}
{{#vardefine:e|{{#explode:{{#var:r}}|/|1}}}}
{{#vardefine:6|{{#explode:{{PAGENAME}}|/|5}}}}
{{#vardefine:p|{{#var:p}}/{{#var:e}}}}
}}[[{{NAMESPACE}}{{#var:1}}]]{{#if:
{{#var:e}}|{{#var:s}}[[{{#var:p}}{{#var:lang}}|{{#if:{{{f|}}}|{{#var:p}}|{{#var:e}}}}]]}}{{#if:
{{#var:2}}|{{#var:s}}[[{{NAMESPACE}}:{{#var:1}}/{{#var:2}}|{{#var:2}}]]}}{{#if:
{{#vardefine:e|{{#explode:{{#var:r}}|/|2}}}}
{{#var:3}}|{{#var:s}}[[{{NAMESPACE}}:{{#var:1}}/{{#var:2}}/{{#var:3}}|{{#var:3}}]]}}{{#if:
{{#vardefine:p|{{#var:p}}/{{#var:e}}}}
{{#var:3}}|{{#var:s}}[[{{NAMESPACE}}:{{#var:1}}/{{#var:2}}/{{#var:3}}/{{#var:4}}|{{#var:4}}]]}}{{#if:
{{#var:e}}|{{#var:s}}[[{{#var:p}}{{#var:lang}}|{{#if:{{{f|}}}|{{#var:p}}|{{#var:e}}}}]]}}{{#if:
{{#var:3}}|{{#var:s}}[[{{NAMESPACE}}:{{#var:1}}/{{#var:2}}/{{#var:3}}/{{#var:4}}/{{#var:5}}|{{#var:5}}]]}}{{#if:
{{#vardefine:e|{{#explode:{{#var:r}}|/|3}}}}
{{#var:3}}|{{#var:s}}[[{{NAMESPACE}}:{{#var:1}}/{{#var:2}}/{{#var:3}}/{{#var:4}}/{{#var:5}}/{{#var:6}}|{{#var:6}}]]}}
{{#vardefine:p|{{#var:p}}/{{#var:e}}}}
{{#var:e}}|{{#var:s}}[[{{#var:p}}{{#var:lang}}|{{#if:{{{f|}}}|{{#var:p}}|{{#var:e}}}}]]}}{{#if:
{{#vardefine:e|{{#explode:{{#var:r}}|/|4}}}}
{{#vardefine:p|{{#var:p}}/{{#var:e}}}}
{{#var:e}}|{{#var:s}}[[{{#var:p}}{{#var:lang}}|{{#if:{{{f|}}}|{{#var:p}}|{{#var:e}}}}]]}}{{#if:
{{#vardefine:e|{{#explode:{{#var:r}}|/|5}}}}
{{#vardefine:p|{{#var:p}}/{{#var:e}}}}
{{#var:e}}|{{#var:s}}[[{{#var:p}}{{#var:lang}}|{{#if:{{{f|}}}|{{#var:p}}|{{#var:e}}}}]]}}

Latest revision as of 08:34, 6 December 2008