Template:Breadcrumb/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}}{{lua|Variable arguments}}{{templatestyles}} | ||
The '''Breadcrumb''' template is used to manually insert a breadcrumb navigation bar at the top of a subpage in the main namespace. While MediaWiki has an [[mw:Help:Subpages|automated subpage feature]] that automatically inserts navigation breadcrumbs at the top of pages, this feature is normally disabled in the main (article) namespace since forward slashes in page titles may be misinterpreted as separators for subpages. On the Xenharmonic Wiki, forward slashes frequently appear in page titles, such as [[3/2]]. | The '''Breadcrumb''' template is used to manually insert a breadcrumb navigation bar at the top of a subpage in the main namespace. While MediaWiki has an [[mw:Help:Subpages|automated subpage feature]] that automatically inserts navigation breadcrumbs at the top of pages, this feature is normally disabled in the main (article) namespace since forward slashes in page titles may be misinterpreted as separators for subpages. On the Xenharmonic Wiki, forward slashes frequently appear in page titles, such as [[3/2]]. | ||
All subpages in the article namespace are filed under [[:Category:Article subpages]]. | |||
=== Usage === | === Usage === | ||
Line 9: | Line 11: | ||
<pre>{{breadcrumb|Lorem ipsum|dolor sit/amet/consectetur|adipiscing elit sed do|eiusmod tempor incididunt}}</pre> | <pre>{{breadcrumb|Lorem ipsum|dolor sit/amet/consectetur|adipiscing elit sed do|eiusmod tempor incididunt}}</pre> | ||
<span style="display: inline-block; margin: | <span style="display: inline-block; margin-bottom: 3em;">which gives:</span> | ||
{{{{ | {{{{ROOTPAGENAMEE}}|Lorem ipsum|dolor sit/amet/consectetur|adipiscing elit sed do|eiusmod tempor incididunt}} |