Difference between revisions of "Template:DefaultBreadcrumb"
Jump to navigation
Jump to search
(fix) |
(ugly, tho best solution I got so far... {{#ifeq:{{SUBJECTSPACE}}|Image|:|}} didn't quite produce the output I wanted to have...) |
||
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}}| [[{{SUBJECTSPACE}}:{{PAGENAME}}|{{#titleparts:{{#var:bcname}}||-1}}]] >|}} {{#ifeq:{{NAMESPACE}}|{{ns:0}}||{{NAMESPACE}}:}} | {{#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}}|Image|[[:{{SUBJECTSPACE}}:{{PAGENAME}}|{{#titleparts:{{#var:bcname}}||-1}}]] >|[[{{SUBJECTSPACE}}:{{PAGENAME}}|{{#titleparts:{{#var:bcname}}||-1}}]] >}}|}} {{#ifeq:{{NAMESPACE}}|{{ns:0}}||{{NAMESPACE}}:}} |
Revision as of 15:15, 3 June 2009
Second Life Wiki > Template: