Jump to content

Breadcrumb Trails: Difference between revisions

m
Reverted edits by Sabwoo (talk) to last revision by Ccsmith
m (Reverted edits by Sabwoo (talk) to last revision by Ccsmith)
Line 46: Line 46:


=== How to code a Breadcrumb Trail ===
=== How to code a Breadcrumb Trail ===
This section as written does not work. Use the next section: '''Ready made breadcrum trail'''


Here's how the breadcrumb trail looks in Wikitext:  
Here's how the breadcrumb trail looks in Wikitext:  
Line 61: Line 59:
*'''<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>{{Gotoarrow}}</nowiki>'''. Then another template 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 type 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>  
 
===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>
Line 72: Line 69:
<nowiki>| link4=</nowiki><br>
<nowiki>| link4=</nowiki><br>
<nowiki>| link5=</nowiki><br>
<nowiki>| link5=</nowiki><br>
<nowiki>}}</nowiki><br>
<nowiki>}}</nowiki><br><br>
</div>
</div>
''Please remember:''<br>
''Please remember:''<br>
*Its best to leave off the word "Genealogy" in any of the breadcrumbs as it takes up too much room.
*Always leave off the word "Genealogy" in the breadcrumb as it takes up too much room.
*Each breadcrum is an internal link to another Research Wiki article
*Type the internal links for each page in the chain after each equal sign.
*Type the breadcrum after the link equal sign.
*If there is only two links, for example, do not type in anything after the equal signs on links 3 and 4.
*Start with link1 and continue thru link5 in order
*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.''
*If there are less breadcrums than 5, leave the unused links blank
*You can type the title of the last link in link five or you could type instead <nowiki>{{PAGENAME}}</nowiki> and your browser it add it automatically when you are on that page.
*For the last breadcrum you could type instead <nowiki>{{PAGENAME}}</nowiki> and the page you are on would be automatically inserted.


=== Advantages of Breadcrumbs ===
=== Advantages of Breadcrumbs ===
Reviewer, editor, pagecreator
27,631

edits