Template:Breadcrumbs/doc
Jump to navigation
Jump to search
The template heavily leverages Interwiki links to connect to related pages on other wikis, both internal (Open EI and IM Wiki) and external (Wikipedia and Mediawiki).
Parameters
All parameters are optional in the {{Breadcrumbs}} template.
Parameter | Description | Notes |
---|---|---|
|align= |
Enter left, center, or right to specify the alignment. | The default is right. |
|page= |
Specify the article name you want to link to. | The default is the name of the article the template is used on. |
|url= |
This is the URL for the official website. | If omitted, no official website link will be shown. |
|officialwebsite= |
Enter yes or no to set whether a link is shown to the site specified in |url= . |
(Deprecated) The default is yes. This parameter only has an effect if an official website URL is provided by |url= , and |officialwebsite=no is specified so that the URL is ignored. A better solution in that case would be to simply omit the |url= parameter.
|
|wikipedia= |
Enter yes or no to set whether a link is shown for Wikipedia. | The default is yes. |
|mediawiki= |
Enter yes or no to set whether a link is shown for Mediawiki. | The default is no. |
|commons= |
Enter yes or no to set whether a link is shown for Wiki Commons. | The default is no. |
|other= |
Enter the URL for another site to link to | There are also |other2= through |other9= parameters for additional links.
|
|othername= |
Enter the name of the site, either as a link or as plain text | This should be used whenever |other= is used. It has no effect if |other= is not set. There are also |othername2= through |othername9= parameters for additional links.
|
Examples
The most basic usage (shown as it would appear if used in the Argonne National Laboratory article). | ||||
---|---|---|---|---|
{{Breadcrumbs}} |
| |||
More detailed breadcrumbs (shown as it would appear if used in the Advanced Research Projects Agency-Energy article). | ||||
{{Breadcrumbs |url=http://arpa-e.energy.gov/ |other=https://www.facebook.com/arpaegov |othername=[[Facebook]] |other2=https://twitter.com/ARPAE |othername2=[[Twitter]] |other3=http://www.linkedin.com/company/advanced-research-projects-agency-energy-arpa-e- |othername3=[[LinkedIn]] |other4=http://www.flickr.com/photos/departmentofenergy/collections/72157623522274893/ |othername4=[http://www.flickr.com Flickr] |other5=http://vimeo.com/arpae |othername5=[http://vimeo.com Vimeo] }} |
||||
Breadcrumbs for public key infrastructure (PKI) that could be used on any page with links to Energy.gov, Wikipedia, Saintapedia, and IM Wiki, but not Open EI, no official website, and no other websites (using all parameters). | ||||
{{Breadcrumbs |align=right |page=PKI |url= |officialwebsite=no |wikipedia=yes |mediawiki=no |commons=no |other= |othername= |other2= |othername2= . . . |other9= |othername9= }} |
| |||
A shorter version of the PKI breadcrumbs that uses defaults, and winds up with the same results. | ||||
{{Breadcrumbs |page=PKI }} |
| |||
A blank template you can copy from for use on other articles (unused parameters can be deleted) | ||||
{{breadcrumbs |align= |page= |url= |wikipedia=yes |other= |othername= }} |
Template data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Breadcrumbs in articles based on its TemplateData.
TemplateData for Breadcrumbs
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
align | align | no description
| Unknown | suggested |
page | page | no description | Unknown | optional |
url | url | no description | Unknown | suggested |
officialwebsite | officialwebsite | no description
| Unknown | suggested |
wikipedia | wikipedia | no description
| Unknown | suggested |
mediawiki | mediawiki | no description | Unknown | optional |
commons | commons | no description | Unknown | optional |
other | other | no description | Unknown | optional |
othername | othername | no description | Unknown | optional |
other2 | other2 | no description | Unknown | optional |
othername2 | othername2 | no description | Unknown | optional |
other3 | other3 | no description | Unknown | optional |
othername3 | othername3 | no description | Unknown | optional |
other4 | other4 | no description | Unknown | optional |
othername4 | othername4 | no description | Unknown | optional |
other5 | other5 | no description | Unknown | optional |
othername5 | othername5 | no description | Unknown | optional |