Template: Breadcrumb2/sandbox
From Break Into Chat - BBS wiki
50px | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Breadcrumb2 (diff). |
30px | 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" (20px)
- 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]]}}
20px 12pxNature 12pxAnimals 12pxExploding animals 12pxExploding whale
{{Breadcrumb2|rootimg = Crystal Clear app help index.png|rootlink = Help:Contents|[[Help:Contents/Getting started|Getting started]]|[[Help:Navigation|Navigation]] }}
20px 12pxGetting started 12pxNavigation
{{Breadcrumb2|rootimg = Question book magnify2.svg|rootlink = Help:Contents|roottext = Help|[[Help:Contents/Getting started|Getting started]]|[[Help:Navigation|Navigation]]}}
20px Help 12pxGetting started 12pxNavigation
{{Breadcrumb2|param1 |param2 |param3 |param4 |param5 |param6 |param7 |param8 |param9 |param10 |param11 |param12}}
20px 12pxparam1 12pxparam2 12pxparam3 12pxparam4 12pxparam5 12pxparam6 12pxparam7 12pxparam8 12pxparam9 12pxparam10 12pxparam11 12pxparam12
{{Breadcrumb2|param1 | |param3 | |param5 }}
20px 12pxparam1 12pxparam3 12pxparam5
See also
- {{Breadcrumb}} - similar template with a different appearance, more like MediaWiki's subpage links