Difference between revisions of "Template:BreadCrumbs"
Jump to navigation
Jump to search
Tag: Manual revert |
|||
Line 25: | Line 25: | ||
-->{{#if:{{{auto|}}}|<!-- | -->{{#if:{{{auto|}}}|<!-- | ||
-->{{#vardefine:path|> {{{1|}}}}}<!-- | -->{{#vardefine:path|> {{{1|}}}}}<!-- | ||
-->|{{#vardefine:path|{{#arraymap:{{{1|}}}|,| | -->|{{#vardefine:path|{{#arraymap:{{{1|}}}|,|pagename|> {{link|{{#arraymap:pagename| |namepart|>{{ucfirst:namepart}}}}}} <wbr>|}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Revision as of 07:56, 2 August 2021
Used to create a hierarchy path that floats right. Automatically includes the "Main" page link and current page name. Any pages in the hierarchy between these two pages should be included by the author as the first variable.
Not technically a breadcrumbs path, since it doesn't necessarily match the page(s) the user was previously on.
Example: {{BreadCrumbs}}
Main > BreadCrumbs |
Example: {{BreadCrumbs|Templates,Layout}}
Main > [[>T, >E, >M, >P, >L, >A, >T, >E, >S|>T, >E, >M, >P, >L, >A, >T, >E, >S]] |
Example: {{BreadCrumbs|Templates,Layout/Tables}}
Main > [[>T, >E, >M, >P, >L, >A, >T, >E, >S|>T, >E, >M, >P, >L, >A, >T, >E, >S]] |
Example: {{BreadCrumbs|Templates,Layout|ThisPage}}
Main > [[>T, >E, >M, >P, >L, >A, >T, >E, >S|>T, >E, >M, >P, >L, >A, >T, >E, >S]] |
Example: {{BreadCrumbs|Templates > Layout|auto=no}}
Main > Templates > Layout > BreadCrumbs |