(Created page with "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. The special token `...` can be used 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 t...") |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Display a breadcrumbs-style navigation bar. | Display a breadcrumbs-style navigation bar. The top level ([[Turing Complete Wiki|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 | - 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 <code>...</code> to indicate nesting greater than four levels deep. | |||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Breadcrumbs}} | |||
{{Breadcrumbs|My Parent Page}} | {{Breadcrumbs|My Parent Page}} | ||
{{Breadcrumbs|My Grandparent Page|My Parent Page}} | {{Breadcrumbs|My Grandparent Page|My Parent Page}} | ||
{{Breadcrumbs| | {{Breadcrumbs||My Parent Page}} | ||
</pre> | </pre> | ||
{{Breadcrumbs}} | |||
{{Breadcrumbs|My Parent Page}} | {{Breadcrumbs|My Parent Page}} | ||
{{Breadcrumbs|My Grandparent Page|My Parent Page}} | {{Breadcrumbs|My Grandparent Page|My Parent Page}} | ||
{{Breadcrumbs| | {{Breadcrumbs||My Parent Page}} |
Latest revision as of 01:26, 14 January 2025
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[edit source]
{{Breadcrumbs}} {{Breadcrumbs|My Parent Page}} {{Breadcrumbs|My Grandparent Page|My Parent Page}} {{Breadcrumbs||My Parent Page}}