Template:Breadcrumb2/sandbox
< Template:Breadcrumb2
Jump to navigation
Jump to search
Revision as of 07:12, 23 July 2016 by imported>Quest for Truth (←Created page with '<span style="margin-left: 10px; padding: 5px 5px 5px 5px; border-top: 1px solid #C0C0C0; border-bottom: 1px solid #C0C0C0;"> File:{{{rootimg|Home breadcrumb.sv...')
This is the template sandbox page for Template:Breadcrumb2 (diff). See also the companion subpage for test cases. |
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
- roottext - text for an optional first "root" link. Defaults to none.
- other unnamed parameters - links to use as breadcrumbs (currently supports unlimited number)
Examples
{{Breadcrumb2|[[Nature]]|[[Animal]]s|[[Exploding animal]]s|[[Exploding whale]]}}
Nature Animals Exploding animals Exploding whale
{{Breadcrumb2|rootimg = Crystal Clear app help index.png|rootlink = Help:Contents|[[Help:Contents/Getting started|Getting started]]|[[Help:Navigation|Navigation]] }}
{{Breadcrumb2|rootimg = Question book magnify2.svg|rootlink = Help:Contents|roottext = Help|[[Help:Contents/Getting started|Getting started]]|[[Help:Navigation|Navigation]]}}
Help Getting started Navigation
{{Breadcrumb2|param1 |param2 |param3 |param4 |param5 |param6 |param7 |param8 |param9 |param10 |param11 |param12}}
param1 param2 param3 param4 param5 param6 param7 param8 param9 param10 param11 param12
{{Breadcrumb2|param1 | |param3 | |param5 }}
See also
- {{Breadcrumb}} - similar template with a different appearance, more like MediaWiki's subpage links
The above documentation is transcluded from Template:Breadcrumb2/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |