Template:HistRecColl/doc: Difference between revisions

From FamilySearch Wiki
m (Text replacement - " " to " ")
(t)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}  
{{Documentation subpage}}  


This is the {{tl|HistRecColl}} Wiki template. This template is used for formatting the text and links for FamilySearch Historical Record Collections citations. Three parameters are required:
THIS TEMPLATE IS UNDER DEVELOPMENT AND FEEDBACK IS BEING REVIEWED FROM A FEW KEY PEOPLE. IT HAS BEEN DISCUSSED IN A COMMUNITY MEETING, BUT THE TEMPLATE HAS NOT BEEN FINALIZED. CHANGES MADE TO IT OTHER THAN THE AUTHOR MAY BE LOST. PLEASE USE DISCUSSION PAGE FOR COMMENTS.  


:1. either the collection number, or the countryId number  
This is the {{tl|HistRecColl}} template. This template is used for formatting the text and links for FamilySearch Historical Record Collections citations. Three parameters are required:
:2. whether it is the collection, or countryId number  
:1. either the collection number, or the countryId number
:3. either the collection title, or the countryId name<br><br>
: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 [https://www.familysearch.org//search/collection/list FamilySearch Historical Record Collections], you will find the collection number at the end of the Internet URL. For example, if you open [https://www.familysearch.org//search/collection/list 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'''.  
When you search http://www.WorldCat.org/ for a title, you will find the OCLC number in 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 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:<br>
An optional parameter '''<tt>disp</tt>''' can be specified, allowing the user to control the link text.  
<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>
=== Examples  ===
<center>{{HistRecColl|1680837|collection|Missouri Deaths and Burials, 1867-1976}}</center>
<br>


'''Place countryId numbers.''' When you bring up a Place in the [https://www.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 [https://www.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'''.  
{| 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.
|}


:'''''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:<br>
=== See also  ===
<center>{{tlx|HistRecColl|38|countryId|Missouri}}</center>
<br>


::This will produce the following linked text at the spot where it is used on Wiki pages:<br>
*[http://www.worldcat.org/links/default.jsp WorldCat permalink information]
<center>{{HistRecColl|38|countryId|Missouri}}</center>
*{{wpd|WorldCat}}  
<br>
*{{wpd|Online Computer Library Center}}
 
'''An optional parameter '''<tt>disp=</tt> can be specified, allowing you to control the link text, ''for example''
<center><nowiki>{{</nowiki>[[Template:HistRecColl|HistRecColl]]|1680837|collection|'''disp='''1867-1976 Missouri Deaths}} '' will produce:''<br><br></center><center>{{HistRecColl|1680837|collection|disp=1867-1976 Missouri Deaths}}</center>
=== See also  ===


{{tl|RecordSearch}} <includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:External link templates|{{PAGENAME}}]]
[[Category:External link templates|{{PAGENAME}}]]

Revision as of 06:10, 17 February 2012

THIS TEMPLATE IS UNDER DEVELOPMENT AND FEEDBACK IS BEING REVIEWED FROM A FEW KEY PEOPLE. IT HAS BEEN DISCUSSED IN A COMMUNITY MEETING, BUT THE TEMPLATE HAS NOT BEEN FINALIZED. CHANGES MADE TO IT OTHER THAN THE AUTHOR MAY BE LOST. PLEASE USE DISCUSSION PAGE FOR COMMENTS.

This is the {{HistRecColl}} 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

When you search http://www.WorldCat.org/ for a title, you will find the OCLC number in 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.

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

Examples[edit source]

Entered Produces Notes
{{WorldCat{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 68627254 Link
No type, default to oclc
{{WorldCat{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 68627254 Link
{{WorldCat{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 9780806317687 Link
{{WorldCat{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 0040-781X Link
{{WorldCat{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 1234 Invalid type, default to OCLC
{{WorldCat{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} Missing number
{{WorldCat{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} 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[edit source]