Actions

Template

Difference between revisions of "BreadCrumbs"

From Gulf of Fallen Stars

(Created page with "<includeonly>{{#if:{{#pos:{{{1|}}}|,}}<!-- -->|{{BreadCrumbsLayout|Main > {{#replace:{{{1|}}}|,|<wbr> > <wbr>}} > {{SUBPAGENAME}}}}<!-- -->|{{BreadCrumbsLayout...")
 
Line 1: Line 1:
<includeonly>{{#if:{{#pos:{{{1|}}}|,}}<!--
+
<includeonly>{{#if:{{{1|}}}<!--
  
 
-->|{{BreadCrumbsLayout|[[Main Page|Main]] > {{#replace:{{{1|}}}|,|<wbr> > <wbr>}} > {{SUBPAGENAME}}}}<!--
 
-->|{{BreadCrumbsLayout|[[Main Page|Main]] > {{#replace:{{{1|}}}|,|<wbr> > <wbr>}} > {{SUBPAGENAME}}}}<!--

Revision as of 18:07, 20 January 2020

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|[[Templates]], Layout}} Template:BreadCrumbsLayout