Template:Breadcrumbs: Difference between revisions

Template page
(Created page with "<noinclude> {{Documentation}} </noinclude> Turing Complete Wiki {{#if:{{{2|}}} | > {{#if:{{{1|}}} | [[{{{1|}}}|{{{1|}}}]] | '''...'''}} > [[{{{2|}}}|{{{2|}}}]] | > [[{{{1|}}}|{{{1|}}}]]}} > '''{{PAGENAME}}'''")
 
No edit summary
Line 2: Line 2:
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>
[[Turing Complete Wiki|Turing Complete Wiki]]
[[Turing Complete Wiki|Turing Complete Wiki]] &gt;
{{#if:{{{2|}}} |
{{#if:{{{2|}}}
    > {{#if:{{{1|}}} | [[{{{1|}}}|{{{1|}}}]] | '''...'''}} > [[{{{2|}}}|{{{2|}}}]] |
|   {{#if:{{{1|}}}
     > [[{{{1|}}}|{{{1|}}}]]}} > '''{{PAGENAME}}'''
    |   [[{{{1|}}}|{{{1|}}}]] &gt;
    |   ... &gt;
    }} [[{{{2|}}}|{{{2|}}}]] &gt;
|  {{#if:{{{1|}}}
     | [[{{{1|}}}|{{{1|}}}]] &gt;
    | <b></b>
    }}
}} '''{{PAGENAME}}'''

Revision as of 01:24, 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}}


Turing Complete Wiki > Breadcrumbs

Turing Complete Wiki > My Parent Page > Breadcrumbs

Turing Complete Wiki > My Grandparent Page > My Parent Page > Breadcrumbs

Turing Complete Wiki > ... > My Parent Page > Breadcrumbs

Turing Complete Wiki > Breadcrumbs