Difference between revisions of "Template:PathLinks"

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