Template:Breadcrumb2/doc

From Kerbal Space Program Wiki
< Template:Breadcrumb2
Revision as of 09:09, 26 February 2020 by ArnePeirs (talk | contribs) (Add doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

This template can be used to create navigation breadcrumbs, inspired by those at WikiProject Accessibility.

It should not be used in article space.

Parameters

#/Name Optional Description Default
rootimg Yes The filename of an image to use for the topmost "root" element. (20px)
rootlink Yes Where the above image should link to. Main Page
roottext Yes Text for an optional first "root" link. Not set
1-6 Yes Links to use as breadcrumbs (currently supports up to 6 number) Not Set

Examples

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

Home breadcrumb.png >Nature >Animals >Exploding animals >Exploding whale

{{Breadcrumb2|rootimg=Help-magnify.png |rootlink=Help:Contents |[[Help:Contents/Getting started|Getting started]] |[[Help:Navigation|Navigation]] }}

Help-magnify.png >Getting started >Navigation

{{Breadcrumb2|rootimg=Book-magnify.png |rootlink=Help:Contents |roottext=Help |[[Help:Contents/Getting started|Getting started]] |[[Help:Navigation|Navigation]] }}

20px Help >Getting started >Navigation

{{Breadcrumb2|param1 |param2 |param3 |param4 |param5 |param6 }}

Home breadcrumb.png >param1 >param2 >param3 >param4 >param5 >param6

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

Home breadcrumb.png >param1 >param3 >param5

See also

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