• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Breadcrumb2

  • Template
  • Talk
  • Language
  • Watch
  • Edit
  1. Main Page
Template documentation[view] [edit] [history] [purge]
CSSThis template uses TemplateStyles:
  • Template:Breadcrumb2/styles.css
This template uses Lua:
  • Module:Separated entries (sandbox)

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" ()
  • 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

edit
{{Breadcrumb2|[[Nature]]|[[Animal]]s|[[Exploding animal]]s|[[Exploding whale]]}}
  1. Main Page
  2. Nature
  3. Animals
  4. Exploding animals
  5. Exploding whale


{{Breadcrumb2|rootimg = Crystal Clear app help index.png|rootlink = Help:Contents|rootalt = Help|[[Help:Contents/Getting started|Getting started]]|[[Help:Navigation|Navigation]] }}
  1. Help
  2. Getting started
  3. Navigation


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


{{Breadcrumb2|param1 |param2 |param3 |param4 |param5 |param6 |param7 |param8 |param9 |param10 |param11 |param12}}
  1. Main Page
  2. param1
  3. param2
  4. param3
  5. param4
  6. param5
  7. param6
  8. param7
  9. param8
  10. param9
  11. param10
  12. param11
  13. param12


{{Breadcrumb2|param1 | |param3 | |param5 }}
  1. Main Page
  2. param1
  3. param3
  4. param5

See also

edit
  • {{Breadcrumb}} - similar template with a different appearance, more like MediaWiki's subpage links
  • Breadcrumb separator.svg, the separator image used by this template
The above documentation is transcluded from Template:Breadcrumb2/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Breadcrumb2&oldid=1126628597"
Last edited on 10 December 2022, at 10:32

Languages

    • Afrikaans
    • العربية
    • تۆرکجه
    • Català
    • Euskara
    • فارسی
    • 한국어
    • Ilokano
    • Bahasa Indonesia
    • Kurdî
    • Nederlands
    • 日本語
    • Nordfriisk
    • Norsk bokmål
    • ਪੰਜਾਬੀ
    • Papiamentu
    • සිංහල
    • کوردی
    • Svenska
    • తెలుగు
    • ไทย
    • Тоҷикӣ
    • اردو
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 10 December 2022, at 10:32 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop