Template:Breadcrumb2

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Home breadcrumb.svg >

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[edit]

  • rootimg - the filename of an image to use for the topmost "root" element. Defaults to "Home breadcrumb.svg" (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[edit]

{{Breadcrumb2|[[Nature]]|[[Animal]]s|[[Exploding animal]]s|[[Exploding whale]]}}

Home breadcrumb.svg >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]] }}

Crystal Clear app help index.png >Getting started >Navigation

{{Breadcrumb2|rootimg = Question book magnify2.svg|rootlink = Help:Contents|roottext = Help|[[Help:Contents/Getting started|Getting started]]|[[Help:Navigation|Navigation]]}}

Question book magnify2.svg Help >Getting started >Navigation

{{Breadcrumb2|param1 |param2 |param3 |param4 |param5 |param6 |param7 |param8 |param9 |param10 |param11 |param12}}

Home breadcrumb.svg >param1 >param2 >param3 >param4 >param5 >param6 >param7 >param8 >param9 >param10 >param11 >param12

{{Breadcrumb2|param1 | |param3 | |param5 }}

Home breadcrumb.svg >param1 >param3 >param5

See also[edit]

  • {{Breadcrumb}} - similar template with a different appearance, more like MediaWiki's subpage links