Template:HistRecColl/doc: Difference between revisions

From FamilySearch Wiki
(see also)
(make outside link and internal link)
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>  
<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] 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'''.  
'''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'''.  


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


'''An optional parameter '''<tt>disp=</tt> can be specified, allowing you to control the link text, ''for example''  
'''An optional parameter '''<tt>disp=</tt> can be specified, allowing you to control the link text, ''for example''  
<center><nowiki>{{</nowiki>[http://familysearch.org/search/collection/list HistRecColl]|1680837|collection|'''disp='''1867-1976 Missouri Deaths}} ''&nbsp;will produce:''<br><br></center> <center>{{HistRecColl|1680837|collection|disp=1867-1976 Missouri Deaths}}</center>  
<center><nowiki>{{</nowiki>[[Template:HistRecColl|HistRecColl]]|1680837|collection|'''disp='''1867-1976 Missouri Deaths}} ''&nbsp;will produce:''<br><br></center><center>{{HistRecColl|1680837|collection|disp=1867-1976 Missouri Deaths}}</center>
=== See also  ===
=== See also  ===



Revision as of 14:42, 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 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}}