Template:Breadcrumbs/Documentation: Difference between revisions

Template page
Line 10: Line 10:
{{Breadcrumbs|My Grandparent Page|My Parent Page}}
{{Breadcrumbs|My Grandparent Page|My Parent Page}}
{{Breadcrumbs||My Parent Page}}
{{Breadcrumbs||My Parent Page}}
{{Breadcrumbs}}
</pre>
</pre>


Line 15: Line 16:
{{Breadcrumbs|My Grandparent Page|My Parent Page}}
{{Breadcrumbs|My Grandparent Page|My Parent Page}}
{{Breadcrumbs||My Parent Page}}
{{Breadcrumbs||My Parent Page}}
{{Breadcrumbs}}

Revision as of 01:24, 14 January 2025

Display a breadcrumbs-style navigation bar. - The top level (Turing Complete Wiki) is always shown as the first (top) link. - If there are two parameters, the first will considered as the grandparent and will be shown after the top level. If the first parameter is blank, a ... breadcrumb will be inserted to indicate nesting deeper than 4 levels. - The second parameter (or only parameter, if there is only one) is the direct parent, and will always be shown. - The current page is always shown at the end.

Usage

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