(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 |
||
(6 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 intermediate page, it will be treated as the direct parent. | |||
- If there are two | - 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, <code>...</code> will be used to indicate deep nesting, with the direct parent shown. | |||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Breadcrumbs| | {{Breadcrumbs}} | ||
{{Breadcrumbs| | {{Breadcrumbs|Page}} | ||
{{Breadcrumbs| | {{Breadcrumbs|Parent/Page}} | ||
{{Breadcrumbs|Grandparent/Parent/Page}} | |||
{{Breadcrumbs|Greatgrandparent/Grandparent/Parent/Page}} | |||
{{Breadcrumbs|Greatgreatgrandparent/Greatgrandparent/Grandparent/Parent/Page}} | |||
</pre> | </pre> | ||
{{Breadcrumbs| | {{Breadcrumbs}} | ||
{{Breadcrumbs| | {{Breadcrumbs|Page}} | ||
{{Breadcrumbs| | {{Breadcrumbs|Parent/Page}} | ||
{{Breadcrumbs|Grandparent/Parent/Page}} | |||
{{Breadcrumbs|Greatgrandparent/Grandparent/Parent/Page}} | |||
{{Breadcrumbs|Greatgreatgrandparent/Greatgrandparent/Grandparent/Parent/Page}} |
Latest revision as of 09:16, 19 February 2025
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}}