Difference between revisions of "Template:PathLinks"
Jump to navigation
Jump to search
m |
|||
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:lang-base}}|{{#var:lang-base}}|{{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}}}} |