Difference between revisions of "Template:DefaultBreadcrumb"

From Second Life Wiki
Jump to navigation Jump to search
(reverting now i'm done...)
(looks like titleparts isn't included in our current parserfunctions...)
Line 1: Line 1:
{{ #ifeq:{{PAGENAME}}|{{SUBPAGENAME}}|[[Main Page|Second Life Wiki]] > |[[Main Page|Second Life Wiki]] > [[{{#ifeq:{{NAMESPACE}}|{{ns:0}}||{{NAMESPACE}}:}}{{BASEPAGENAME}}]] > }}
{{#vardefine:sub|{{#titleparts:{{PAGENAME}}|1|-1}}}}[[{{:Main Page/L10n Lookup|{{#var:lang|{{#var:sub}}}}}}]] > {{#ifeq:{{PAGENAME}}|{{#var:sub}}||[[{{#titleparts:{{PAGENAME}}|1|1}}]] > {{#vardefine:sub|{{#titleparts:{{PAGENAME}}|1|-2}}}}{{#ifeq:{{PAGENAME}}|{{#var:sub}}||[[{{#titleparts:{{PAGENAME}}|1|2}}]] > {{#vardefine:sub|{{#titleparts:{{PAGENAME}}|1|-3}}}}{{#ifeq:{{PAGENAME}}|{{#var:sub}}||[[{{#titleparts:{{PAGENAME}}|1|3}}]] > }}}}}}

Revision as of 03:54, 11 December 2008