Breadcrumb Trails: Difference between revisions

(21 intermediate revisions by 6 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 ===
 
===Ready made breadcrumb trail===
Here's how the breadcrumb trail looks in Wikitext:
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>''[[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>
*To save some confusion here is a ready for use template for creating breadcrumbs: Just paste this coding:
<nowiki>{{breadcrumb </nowiki><br>
<nowiki>{{breadcrumb </nowiki><br>
<nowiki>| link1=</nowiki><br>
<nowiki>| link1=</nowiki><br>
Line 73: Line 61:
<nowiki>| link4=</nowiki><br>
<nowiki>| link4=</nowiki><br>
<nowiki>| link5=</nowiki><br>
<nowiki>| link5=</nowiki><br>
<nowiki>| link6=</nowiki><br>
<nowiki>}}</nowiki><br><br>
<nowiki>| link7=</nowiki><br>
</div>
<nowiki>| link8=</nowiki><br>
''Please remember:''<br>
<nowiki>| link9=</nowiki><br>
*Always leave off the word "Genealogy" in the breadcrumb as it takes up too much room.
<nowiki>| link10=[[PAGENAME]]</nowiki><br>
*Type the internal links for each page in the chain after each equal sign.
<nowiki>| fontstyle=</nowiki><br>
*If there are only two links, for example, do not type in anything after the equal signs on links 2, 3 and 4.
<nowiki>}}</nowiki>
*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.''
in your page where you want the breadcrumb to appear (usually at the very top of the page) and fill in the links. There is room to add up to nine links with the tenth one reserved for the last one.  Links 1 to 9 are automatically italisized. The tenth one is automatically filled in or you can add whatever name you want.
*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.


=== Advantages of Breadcrumbs ===
=== Advantages of Breadcrumbs ===
Line 88: 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