Help:Wiki University Wikitext--Breadcrumb Trails

From FamilySearch Wiki
Jump to: navigation, search
MAIN PAGE
WIKI
WIKITEXT
HTML/CSS
FAMILY HISTORY CENTERS
VISUAL EDITOR

Lessons


Intermediate


Advanced


Flexbox


Additional Helps

What are Breadcrumb Trails

The above is an example of a breadcrumb trail[1]. You see them on every county page for the United States.

What do we use breadcrumb trails for?

  • We use "breadcrumb trails" to get us back to the main article we left to get to the page we are now on. In this case we came from a country page, to a state page, then to a county page.
  • If you decided that you were not on the right county page and wanted to go back to the list on the state page, all you have to do is click the state page link in the breadcrumb trail to get back to the state page with its list of county pages.
  • You could even go back to the country page if you needed.

Location of breadcrumb trails on pages

They usually appear at the top of the page just below the page title. Here is an example of the placement of a breadcrumb trail after the page title.

Creating breadcrumb trails

A breadcrumb trail is really nothing more than internal links strung together separated by an arrow or something similar. To ensure consistency throughout the Wiki, the breadcrumb code is set up as a template. We will learn about templates in Advanced Wikitext.

Here is the wikitext coding for the above "breadcrumb trail" to be placed in an article:

{{breadcrumb
| link1=[[United States Genealogy|United States]]
| link2=[[Missouri, United States Genealogy|Missouri]]
| link3=
| link4=
| link5=[[Adair County, Missouri Genealogy|Adair County]]
}}

  • NOTICE links should be copied from the related URL replacing the underscore with a space between each word.
  • NOTICE link5 should always contain the current page you are on.
  • NOTICE there may be exceptions to the URL value used for link1 through link4. Follow Project instructions or post a Wiki911 question when in doubt.

Try these out

Tests.gif
Exercises
  • Take these three pages in FamilySearch Wiki and link them together with a breadcrumb trail:
    • United States
    • California
    • Contra Costa County


Quick Quiz
  • Breadcrumb trails are usually placed at the bottom of the page.
A. True
B. False
  • Breadcrumb trails are external links placed in order of size.
A. True
B. False
  • Breadcrumb trails are not to be used to go back to preceding pages that you came from.
A. True
B. False
  1. You are probably familiar with the story of Hansel and Gretel. The children were taken by their evil step-mother and abandoned in the dark woods, but they left a trail of breadcrumbs so they could find the way back home. Unfortunately, birds came and ate the breadcrumbs and Hansel and Gretel were lost. However, the story ends happily and the children were united with their father.

Navigation menu