Difference between revisions of "Template:DefaultBreadcrumb"
Jump to navigation
Jump to search
(ugly, tho best solution I got so far... {{#ifeq:{{SUBJECTSPACE}}|Image|:|}} didn't quite produce the output I wanted to have...) |
(was renaimed in 1.14. same prob for cats tho (but less annoying)) |
||
Line 1: | Line 1: | ||
{{#vardefine:sub|{{#titleparts:{{SUBJECTSPACE}}:{{PAGENAME}}|1|-1}}}}{{#vardefine:bcname|{{#titleparts:{{SUBJECTSPACE}}:{{PAGENAME}}}}}}[[{{:Main Page/L10n Lookup|{{#if:{{#var:lang}}|{{#var:lang}}|/{{#var:sub}}}}}}]] > {{#ifeq:{{#var:bcname}}|{{#var:sub}}||[[{{#titleparts:{{#var:bcname}}|1|1}}]] > {{#ifeq:{{#var:bcname}}|{{#titleparts:{{#var:bcname}}|2|-2}}||[[{{#titleparts:{{#var:bcname}}|2|1}}|{{#titleparts:{{#var:bcname}}|1|2}}]] > {{#ifeq:{{#var:bcname}}|{{#titleparts:{{#var:bcname}}|3|-3}}||[[{{#titleparts:{{#var:bcname}}|3|1}}|{{#titleparts:{{#var:bcname}}|1|3}}]] > }}}}}}{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}| {{#ifeq:{{SUBJECTSPACE}}| | {{#vardefine:sub|{{#titleparts:{{SUBJECTSPACE}}:{{PAGENAME}}|1|-1}}}}{{#vardefine:bcname|{{#titleparts:{{SUBJECTSPACE}}:{{PAGENAME}}}}}}[[:{{:Main Page/L10n Lookup|{{#if:{{#var:lang}}|{{#var:lang}}|/{{#var:sub}}}}}}]] > {{#ifeq:{{#var:bcname}}|{{#var:sub}}||[[:{{#titleparts:{{#var:bcname}}|1|1}}]] > {{#ifeq:{{#var:bcname}}|{{#titleparts:{{#var:bcname}}|2|-2}}||[[:{{#titleparts:{{#var:bcname}}|2|1}}|{{#titleparts:{{#var:bcname}}|1|2}}]] > {{#ifeq:{{#var:bcname}}|{{#titleparts:{{#var:bcname}}|3|-3}}||[[:{{#titleparts:{{#var:bcname}}|3|1}}|{{#titleparts:{{#var:bcname}}|1|3}}]] > }}}}}}{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}| {{#ifeq:{{SUBJECTSPACE}}|File|[[:{{SUBJECTSPACE}}:{{PAGENAME}}|{{#titleparts:{{#var:bcname}}||-1}}]] >|[[{{SUBJECTSPACE}}:{{PAGENAME}}|{{#titleparts:{{#var:bcname}}||-1}}]] >}}|}} {{#ifeq:{{NAMESPACE}}|{{ns:0}}||{{NAMESPACE}}:}} |
Revision as of 06:36, 4 March 2010
Second Life Wiki > Template: