Template:HistRecColl/doc: Difference between revisions

From FamilySearch Wiki
(t)
(t)
Line 10: Line 10:


:'''''Using it in the template.''''' If you want the Wiki template to link to this title, enter this collection number ''1680837&nbsp;'' in the template as the first parameter. Enter the word ''collection'' as the second parameter. Copy and paste the collection title ''Missouri Deaths and Burials, 1867-1976&nbsp;'' into the template as the third parameter, like this:<br>
:'''''Using it in the template.''''' If you want the Wiki template to link to this title, enter this collection number ''1680837&nbsp;'' in the template as the first parameter. Enter the word ''collection'' as the second parameter. Copy and paste the collection title ''Missouri Deaths and Burials, 1867-1976&nbsp;'' into the template as the third parameter, like this:<br>
<center>'''{{tlx|HistRecColl|1680837|collection|Missouri Deaths and Burials, 1867-1976}}'''</center>
<center>{{tlx|HistRecColl|1680837|collection|Missouri Deaths and Burials, 1867-1976}}</center>  
 
<br>


::This will produce the following linked text at the spot where it is used on Wiki pages:<br>
::This will produce the following linked text at the spot where it is used on Wiki pages:<br>
<center>{{HistRecColl|1680837|collection|Missouri Deaths and Burials, 1867-1976}}</center>
<center>{{HistRecColl|1680837|collection|Missouri Deaths and Burials, 1867-1976}}</center>  
<br>
<br>  


'''Place countryId numbers.''' When you bring up a Place in the [http://familysearch.org/search/collection/list FamilySearch Historical Record Collections], you will find the countryId number at the end of the Internet URL. For example, if you open [http://familysearch.org/search/collection/list FamilySearch Historical Record Collections], click on the Place ''United States'', then click ''Missouri'', you will see the Internet URL for this place ends with the countryId number '''38'''. If you want the tenplate to link to this place, enter this number in the template as the first parameter.  
'''Place countryId numbers.''' When you bring up a Place in the [http://familysearch.org/search/collection/list FamilySearch Historical Record Collections] for viewing multiple titles, you will find the countryId number at the end of the Internet URL. For example, if you open [http://familysearch.org/search/collection/list FamilySearch Historical Record Collections], click on the Place ''United States'', then click ''Missouri'', you will see the Internet URL for this place ends with the countryId number '''38'''.  


<br> If you bin details section of the edition. Alternatively, it may be shown in the URL immediately after the "oclc" text. Enter this number in the template as the first parameter.
:'''''Using it in the template.''''' If you want the Wiki template to link to this place and show multiple titles, enter this countryId number ''38&nbsp;'' in the template as the first parameter. Enter the word ''countryId&nbsp;'' as the second parameter. Enter the Place name ''Missouri&nbsp;'' into the template as the third parameter, like this:<br>
<center>{{tlx|HistRecColl|38|countryId|Missouri}}</center>
<br>


An optional parameter '''<tt>disp</tt>''' can be specified, allowing the user to control the link text.
::This will produce the following linked text at the spot where it is used on Wiki pages:<br>
 
<center>{{HistRecColl|38|countryId|Missouri}}</center>
=== Examples  ===
<br>  
 
{| cellspacing="1" cellpadding="1" border="1"
|-
! Entered
! Produces
! Notes
|-
| {{tlx|WorldCat|68627254}}
| {{WorldCat|68627254}}
| [http://www.worldcat.org/oclc/68627254 Link]<br>No type, default to oclc
|-
| {{tlx|WorldCat|68627254|oclc}}  
| {{WorldCat|68627254|oclc}}
| [http://www.worldcat.org/oclc/68627254 Link]
|-
| {{tlx|WorldCat|9780806317687|isbn}}
| {{WorldCat|9780806317687|isbn}}
| [http://www.worldcat.org/isbn/9780806317687 Link]
|-
| {{tlx|WorldCat|0040-781X|issn}}
| {{WorldCat|0040-781X|issn}}
| [http://www.worldcat.org/issn/0040-781X Link]
|-
| {{tlx|WorldCat|1234|junk}}
| {{WorldCat|1234|junk}}
| Invalid type, default to OCLC
|-
| {{tlx|WorldCat}}
| {{WorldCat}}
| Missing number
|-
| {{tlx|WorldCat|68627254|<nowiki>disp=Tracing your Irish ancestors : the complete guide</nowiki>}}
| {{WorldCat|68627254|disp=Tracing your Irish ancestors : the complete guide}}
| To display different text than the default WorldCat reference. It is recommended to use the standard format to create the link consistent with other uses of this template. It makes it obvious where the holdings are.
|}
 
=== See also  ===


*[http://www.worldcat.org/links/default.jsp WorldCat permalink information]
'''An optional parameter '''<tt>disp=</tt> can be specified, allowing the user to control the link text.  
*{{wpd|WorldCat}}
*{{wpd|Online Computer Library Center}}


For example, {{tlx|HistRecColl|1680837|collection|disp=Missouri Deaths 1867-1976}} will produce: {{|HistRecColl|1680837|collection|disp=Missouri Deaths 1867-1976}}
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->

Revision as of 09:50, 17 February 2012

This is the {{HistRecColl}} Wiki template. This template is used for formatting the text and links for FamilySearch Historical Record Collections citations. Three parameters are required:

1. either the collection number, or the countryId number
2. whether it is the collection, or countryId number
3. either the collection title, or the countryId name

Title collection numbers. When you bring up a title in the FamilySearch Historical Record Collections, you will find the collection number at the end of the Internet URL. For example, if you open FamilySearch Historical Record Collections, click on the Place United States, then click Missouri, then click the title Missouri Deaths and Burials, 1867-1976, you will see the Internet URL for this collection ends with the number 1680837.

Using it in the template. If you want the Wiki template to link to this title, enter this collection number 1680837  in the template as the first parameter. Enter the word collection as the second parameter. Copy and paste the collection title Missouri Deaths and Burials, 1867-1976  into the template as the third parameter, like this:
{{HistRecColl{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}}


This will produce the following linked text at the spot where it is used on Wiki pages:
Missouri Deaths and Burials, 1867-1976 - FamilySearch Historical Record Collections


Place countryId numbers. When you bring up a Place in the FamilySearch Historical Record Collections for viewing multiple titles, you will find the countryId number at the end of the Internet URL. For example, if you open FamilySearch Historical Record Collections, click on the Place United States, then click Missouri, you will see the Internet URL for this place ends with the countryId number 38.

Using it in the template. If you want the Wiki template to link to this place and show multiple titles, enter this countryId number 38  in the template as the first parameter. Enter the word countryId  as the second parameter. Enter the Place name Missouri  into the template as the third parameter, like this:
{{HistRecColl{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}}


This will produce the following linked text at the spot where it is used on Wiki pages:
Missouri - FamilySearch Historical Record Collections


An optional parameter disp= can be specified, allowing the user to control the link text.

For example, {{HistRecColl{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} will produce: {{|HistRecColl|1680837|collection|disp=Missouri Deaths 1867-1976}}