Template:Breadcrumb2

From blackwiki
Revision as of 04:36, 19 March 2019 by imported>Jay D. Easy (Reverted 1 edit by 2601:405:4300:26:B02F:804F:9C99:65EF (talk) to last revision by Quest for Truth (TW))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

20px 12px

50px Template documentation[view] [edit] [history] [purge]

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