Mal:Katnav: Forskjell mellom sideversjoner
Hopp til navigering
Hopp til søk
m (Én sideversjon ble importert) |
m (Lenkefiks) |
||
Linje 3: | Linje 3: | ||
<ol> |
<ol> |
||
<li> |
<li> |
||
[[File:{{{rootimg|Home breadcrumb.svg}}}|20px|alt={{{rootalt|{{{rootlink|Forside}}}}}}|link={{{rootlink| |
[[File:{{{rootimg|Home breadcrumb.svg}}}|20px|alt={{{rootalt|{{{rootlink|Forside}}}}}}|link={{{rootlink|Forside}}}]]{{#if:{{{roottext|}}}| [[{{{rootlink|Forside}}}|{{{roottext}}}]]}} |
||
</li> |
</li> |
||
<li> |
<li> |
Sideversjonen fra 5. mai 2025 kl. 21:59
Maldokumentasjon
![]() | Denne malen benytter seg av TemplateStyles: |
![]() | Denne malen benytter seg av 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
- rootalt - alt text for the image. Defaults to the same value as rootlink, or "Main Page" if rootlink is not given.
- 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]]}}
{{Breadcrumb2|rootimg = Crystal Clear app help index.png|rootlink = Help:Contents|rootalt = Help|[[Help:Contents/Getting started|Getting started]]|[[Help:Navigation|Navigation]] }}
{{Breadcrumb2|rootimg = Question book magnify2.svg|rootlink = Help:Contents|rootalt = Help|roottext = Help|[[Help:Contents/Getting started|Getting started]]|[[Help:Navigation|Navigation]]}}
{{Breadcrumb2|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
- Breadcrumb separator.svg, the separator image used by this template