No edit summary |
(Stylize more like built-in breadcrumbs) |
||
Line 1: | Line 1: | ||
<templatestyles src="Breadcrumbs/styles.css" /><div class="breadcrumbs"> | <templatestyles src="Breadcrumbs/styles.css" /><div class="breadcrumbs"> | ||
{{#ifeq: {{#titleparts:TCWIKI/{{{1|{{FULLPAGENAME}}}}}|1|-2}} | TCWIKI | {{#ifeq: {{#titleparts:TCWIKI/{{{1|{{FULLPAGENAME}}}}}|1|-2}} | TCWIKI | ||
| | | | ||
| {{#ifeq: {{#titleparts:TCWIKI/{{{1|{{FULLPAGENAME}}}}}|1|-3}} | TCWIKI | | {{#ifeq: {{#titleparts:TCWIKI/{{{1|{{FULLPAGENAME}}}}}|1|-3}} | TCWIKI | ||
| [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|-1}}|{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1|-2}}]] | | < [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|-1}} | {{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1|-2}}]] | ||
| {{#ifeq: {{#titleparts:TCWIKI/{{{1|{{FULLPAGENAME}}}}}|1|-4}} | TCWIKI | | < {{#ifeq: {{#titleparts:TCWIKI/{{{1|{{FULLPAGENAME}}}}}|1|-4}} | TCWIKI | ||
| [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|-2}}|{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1|-3}}]] | | [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|-2}} | {{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1|-3}}]] {{!}} <!-- | ||
--> [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|-1}}|{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1|-2}}]] | --> [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|-1}} | {{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1|-2}}]] | ||
| ... | | [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}1|1}} | {{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1|1}}]] {{!}} <!-- | ||
--> [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|-1}}|{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1|-2}}]] | --> ... {{!}} <!-- | ||
--> [[{{#titleparts:{{{1|{{FULLPAGENAME}}}}}|-1}} | {{#titleparts:{{{1|{{FULLPAGENAME}}}}}|1|-2}}]] | |||
}} | }} | ||
}} | }} | ||
}} <!-- | }} <!-- | ||
--> </div> | --> </div> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |
Latest revision as of 09:55, 19 February 2025
This page has been transcluded from Template:Breadcrumbs/Documentation.
Display a breadcrumbs-style navigation bar. The top level (Turing Complete Wiki) and the current page are always shown.
- If there is one intermediate page, it will be treated as the direct parent.
- If there are two intermediate pages, the first will be treated as the grandparent and the second will be treated as the direct parent.
- If there are more than two intermediate pages, ...
will be used to indicate deep nesting, with the direct parent shown.
Usage[edit source]
{{Breadcrumbs}} {{Breadcrumbs|Page}} {{Breadcrumbs|Parent/Page}} {{Breadcrumbs|Grandparent/Parent/Page}} {{Breadcrumbs|Greatgrandparent/Grandparent/Parent/Page}} {{Breadcrumbs|Greatgreatgrandparent/Greatgrandparent/Grandparent/Parent/Page}}