Template:Breadcrumbs: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
[[Turing Complete Wiki|Turing Complete Wiki]] >
<templatestyles src="Breadcrumbs/styles.css" /><div class="breadcrumbs">[[Turing Complete Wiki|Turing Complete Wiki]] &gt;
{{#if:{{{2|}}}
{{#if:{{{2|}}}
|  {{#if:{{{1|}}}
|  {{#if:{{{1|}}}
Line 9: Line 9:
     | <b></b>
     | <b></b>
     }}
     }}
}} '''{{PAGENAME}}'''<br>
}} '''{{PAGENAME}}'''</div>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 03:42, 14 January 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 parameter, it will be treated as the direct parent. - If there are two parameters, the first will be treated as the grandparent and the second will be treated as the direct parent. - If there are two parameters and the first parameter is left blank, it will be replaced with ... to indicate nesting greater than four levels deep.

Usage

{{Breadcrumbs}}
{{Breadcrumbs|My Parent Page}}
{{Breadcrumbs|My Grandparent Page|My Parent Page}}
{{Breadcrumbs||My Parent Page}}