Template:HistRecColl/doc: Difference between revisions

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


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 {{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 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:
:1. either the collection number, or the countryId number  
:1. either the collection number, or the countryId number
:2. whether it is the collection, or countryId number  
:2. whether it is the collection, or countryId number
:3. either the collection title, or the countryId name<br><br>
: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.  
'''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'''.  


An optional parameter '''<tt>disp</tt>''' can be specified, allowing the user to control the link text.
:'''''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>
<center>{{tlx|HistRecColl|1680837|collection|Missouri Deaths and Burials, 1867-1976}}</center>
<br>


=== Examples  ===
::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>
<br>


{| cellspacing="1" cellpadding="1" border="1"
'''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'''.  
|-
! 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>
<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>
<center>{{HistRecColl|38|countryId|Missouri}}</center>
<br>
'''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  ===
=== See also  ===


*[http://www.worldcat.org/links/default.jsp WorldCat permalink information]
{{tl|RecordSearch}} <includeonly>
*{{wpd|WorldCat}}  
*{{wpd|Online Computer Library Center}}
 
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:External link templates|{{PAGENAME}}]]
[[Category:External link templates|{{PAGENAME}}]]

Latest revision as of 17:25, 30 October 2023

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 you to control the link text, for example

{{HistRecColl|1680837|collection|disp=1867-1976 Missouri Deaths}} will produce:

1867-1976 Missouri Deaths

See also[edit source]

{{RecordSearch}}