Breadcrumb Trails: Difference between revisions

m
mNo edit summary
Line 55: Line 55:
Here's how the breadcrumb trail looks in Wikitext:  
Here's how the breadcrumb trail looks in Wikitext:  


:'''<nowiki>''[[Ireland Genealogy|Ireland]] [[Image:Gotoarrow.png]] [[Counties of Ireland]] [[Image:Gotoarrow.png]] [[County Antrim Genealogy|County Antrim]]'' [[Image:Gotoarrow.png]] [[{{PAGENAME}}]].</nowiki>'''
:'''<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.  
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>[[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>[[Image:Gotoarrow.png]]</nowiki>.''' Next comes an arrow pointing to the next article in this hierarchical order. Notice that it is an '''image not a link'''. You can use a "greater than sign" "&gt;" instead of the image, if you want. This arrow is pointing to:<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>[[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>[[Image:Gotoarrow.png]]</nowiki>'''. Another image of an arrow which is pointing to:<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>[[County Antrim Genealogy|County Antrim]]</nowiki>'''. The next link in the order: “County Antrim.” <br><br>  
*'''<nowiki>[[Image:Gotoarrow.png]]</nowiki>'''. Then another image of an arrow which is pointing to:.<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 typle it in manually.<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>  
*You might have noticed the two apostrophes (it is not a quotation mark) <nowiki>''</nowiki> before <nowiki>[[Ireland]]</nowiki> and after <nowiki>[[County Antrim Genealogy|County Antrim]]</nowiki>. This codes the breadcrumb trail to be italicized. Some editors like the breadcrumb in italics except for the name of the page you are on. However, you are free to use another style if you like.
*To save some confusion here is a ready for use template for creating breadcrumbs:  Just paste this coding:
<nowiki>{{breadcrumb </nowiki><br>
<nowiki>| link1=</nowiki><br>
<nowiki>| link2=</nowiki><br>
<nowiki>| link3=</nowiki><br>
<nowiki>| link4=</nowiki><br>
<nowiki>| link5=</nowiki><br>
<nowiki>| link6=</nowiki><br>
<nowiki>| link7=</nowiki><br>
<nowiki>| link8=</nowiki><br>
<nowiki>| link9=</nowiki><br>
<nowiki>| link10=[[PAGENAME]]</nowiki><br>
<nowiki>| fontstyle=</nowiki><br>
<nowiki>}}</nowiki>
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.


=== Advantages of Breadcrumbs ===
=== Advantages of Breadcrumbs ===
Interface administrators, smwadministrator, smwcurator, smweditor
82,369

edits