Template:Breadcrumb2/doc
![]() | This is a documentation subpage for Template:Breadcrumb2. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template uses TemplateStyles: |
![]() | This template uses Lua: |
This template can be used to create navigation breadcrumbs, inspired by those at WikiProject Accessibility.
It should not be used in article space.
Parameters
- rootimg - the filename of an image to use for the topmost "root" element. Defaults to "Home breadcrumb.svg" (
)
- rootlink - where the above image should link to. Defaults to Main Page
- rootalt - alt text for the image. Defaults to the same value as rootlink, or "Main Page" if rootlink is not given.
- roottext - text for an optional first "root" link. Defaults to none.
- other unnamed parameters - links to use as breadcrumbs (currently supports unlimited number)
Examples
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
See also
- {{Breadcrumb}} - similar template with a different appearance, more like MediaWiki's subpage links
- Breadcrumb separator.svg, the separator image used by this template