|
|
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> | | 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> |