Breadcrumb Trails: Difference between revisions

(13 intermediate revisions by 5 users not shown)
Line 4: Line 4:
| link3=[[Help:Editing the Wiki|Help:Editing the Wiki]]
| link3=[[Help:Editing the Wiki|Help:Editing the Wiki]]
| link4=
| link4=
| link5=
| link5={{PAGENAME}}
| link6=
| link7=
| link8=
| link9=
| link10={{PAGENAME}}
| fontstyle=italic
}}
}}
[[File:Breadcrumbs.jpg|right|300px]]
[[File:Breadcrumbs.jpg|right|300px]]
Line 39: Line 33:
*Here is an example of a breadcrumb trail for an Irish parish:
*Here is an example of a breadcrumb trail for an Irish parish:


''[[Ireland Genealogy|Ireland]] [[Image:Gotoarrow.png]] [[Counties of Ireland]] [[Image:Gotoarrow.png]] [[County Antrim Genealogy|County Antrim]]'' [[Image:Gotoarrow.png]] '''Aghagallon, Antrim'''.
{{breadcrumb
| link1=[[Northern Ireland Genealogy|Northern Ireland]]  
| link2=[[Counties of Ireland|Counties of Ireland]]
| link3=[[County Antrim Genealogy|County Antrim]]
| link4=
| link5=[[Aghagallon Civil Parish, County Antrim, Northern Ireland Genealogy|Aghagallon Civil Parish]]
}}


*Notice the hierarchy of this breadcrumb trail:
*Notice the hierarchy of this breadcrumb trail:
Line 51: Line 51:
*The above examples are both examples of hierarchical order.
*The above examples are both examples of hierarchical order.


=== How to code a Breadcrumb Trail ===
 
Here's how the breadcrumb trail looks in Wikitext:
 
:'''<nowiki>''[[Ireland Genealogy|Ireland]] <nowiki>{{Gotoarrow}}</nowiki> [[Counties of Ireland]] <nowiki>{{Gotoarrow}}</nowiki> [[County Antrim Genealogy|County Antrim]]'' <nowiki>{{Gotoarrow}}</nowiki> [[{{PAGENAME}}]].</nowiki>'''
 
Let’s look at the parts of this breadcrumb trail.
 
*'''<nowiki>[[Ireland Genealogy|Ireland]]</nowiki>'''. The first set of <nowiki>[[ ]]</nowiki> shows the first page of the hierarchical order of articles. Ireland is the first page of the order. (The double brackets indicate an article within FamilySearch Wiki, not a link to an article outside of the wiki which has only a single set of brackets [ ].)<br><br>
*'''<nowiki>{{Gotoarrow}}</nowiki>''' Next comes an arrow pointing to the next article in this hierarchical order. Notice that it is a template. This arrow is pointing to:<br><br>
*'''<nowiki>[[Counties of Ireland]]</nowiki>'''. The link to the next article in the order. It is a link to the article “Counties of Ireland.”<br><br>
*'''<nowiki>{{Gotoarrow}}</nowiki>'''. Another template of an arrow which is pointing to:<br><br>
*'''<nowiki>[[County Antrim Genealogy|County Antrim]]</nowiki>'''. The next link in the order: “County Antrim.” <br><br>
*'''<nowiki>{{Gotoarrow}}</nowiki>'''. Then another template of an arrow which is pointing to:.<br><br>
*'''<nowiki>[[{{PAGENAME}}]]</nowiki>'''. The last link of the order which is normally the last page of the order and the one you are now reading. The <nowiki>{{PAGENAME}}</nowiki> template automatically puts the name of the article you are now reading in this place on the breadcrumb trail. Saves you from having to type it in manually.<br><br>
===Ready made breadcrumb trail===
===Ready made breadcrumb trail===
To save some confusion here is a ready to use template for creating breadcrumbs:  Copy and paste this coding into your page where you want the breadcrumb to appear (usually at the very top of the page) and fill in the links:<br>
Here is a ready to use template for creating breadcrumbs:  Copy and paste this coding into your page where you want the breadcrumb to appear (usually at the very top of the page) and fill in the links:<br>
<div style="border:1px solid black; padding:10px">
<nowiki>{{breadcrumb </nowiki><br>
<nowiki>{{breadcrumb </nowiki><br>
<nowiki>| link1=</nowiki><br>
<nowiki>| link1=</nowiki><br>
Line 74: Line 61:
<nowiki>| link4=</nowiki><br>
<nowiki>| link4=</nowiki><br>
<nowiki>| link5=</nowiki><br>
<nowiki>| link5=</nowiki><br>
<nowiki>| link6=</nowiki><br>
<nowiki>| link7=</nowiki><br>
<nowiki>| link8=</nowiki><br>
<nowiki>| link9=</nowiki><br>
<nowiki>| link10=</nowiki><br>
<nowiki>| fontstyle=italic</nowiki><br>
<nowiki>}}</nowiki><br><br>
<nowiki>}}</nowiki><br><br>
</div>
''Please remember:''<br>
''Please remember:''<br>
*Always leave off the word "Genealogy" in the breadcrumb as it takes up too much room.
*Always leave off the word "Genealogy" in the breadcrumb as it takes up too much room.
*Type the links after each equal sign.  
*Type the internal links for each page in the chain after each equal sign.
*The green arrows are automatically included.
*If there are only two links, for example, do not type in anything after the equal signs on links 2, 3 and 4.  
*There is room to add up to nine links with the tenth one reserved for the last one.   
*The fifth one reserved for the last one in the chain''Be sure to put the last link in link 5 not any of the others.''
*Links 1 to 9 are automatically italicized.
*You can type the title of the last link in link five or you could type instead <nowiki>{{PAGENAME}}</nowiki> and your browser will add it automatically when you are on that page.
*The tenth one should be filled with the page you are adding the breadcrumb. If the page was Aurora County, South Dakota Genealogy, you would shorten the name to be displayed. For example, the code would be <nowiki>[[Aurora County, South Dakota Genealogy|Aurora County]]</nowiki>
*If you do not want to italicize the any of the text, delete the word italic from the bottom link.


=== Advantages of Breadcrumbs ===
=== Advantages of Breadcrumbs ===
Line 96: Line 76:
*You can easily add other articles in the breadcrumb trail.  
*You can easily add other articles in the breadcrumb trail.  
*Last but not least you might see the need to create an intermediate article between two links in the breadcrumb trail.
*Last but not least you might see the need to create an intermediate article between two links in the breadcrumb trail.
{{H-langs|en=Breadcrumb Trails|pt=Menu Superior (Breadcrumb)}}
[[pt:Menu Superior (Breadcrumb)]]
[[Category:Additional_wikitext_help]]
[[Category:Additional_wikitext_help]]
22,352

edits