Template:FHL

From FamilySearch Wiki

(Difference between revisions)
(Add title parameter (acts just like item))
(Undo)
Line 7: Line 7:
 
         -->{{#ifeq: {{{2}}} | item | <!--
 
         -->{{#ifeq: {{{2}}} | item | <!--
 
             -->[http://fsbeta.familysearch.org/s/catalog/show?uri=http%3A%2F%2Fcatalog-search-api%3A8080%2Fwww-catalogapi-webservice%2Fitem%2F{{#replace:{{{1}}}| |+}}&hash=rh2%252B403z7n4WII67nHOFMh25nvE%253D FHL Collection] | <!--
 
             -->[http://fsbeta.familysearch.org/s/catalog/show?uri=http%3A%2F%2Fcatalog-search-api%3A8080%2Fwww-catalogapi-webservice%2Fitem%2F{{#replace:{{{1}}}| |+}}&hash=rh2%252B403z7n4WII67nHOFMh25nvE%253D FHL Collection] | <!--
             -->{{#ifeq: {{{2}}} | title | <!--
+
             INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--
              -->[http://fsbeta.familysearch.org/s/catalog/show?uri=http%3A%2F%2Fcatalog-search-api%3A8080%2Fwww-catalogapi-webservice%2Fitem%2F{{#replace:{{{1}}}| |+}}&hash=rh2%252B403z7n4WII67nHOFMh25nvE%253D FHL Collection] | <!--
+
              Book contain a space-->[http://fsbeta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=call_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL {{{1}}}] | <!--
              INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--
+
              Otherwise it is a film-->[http://fsbeta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=film_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL {{{1}}}] <!--
                  Book contain a space-->[http://fsbeta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=call_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL {{{1}}}] | <!--
+
                  Otherwise it is a film-->[http://fsbeta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=film_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL {{{1}}}] <!--
+
 
               -->}} <!--
 
               -->}} <!--
 
             -->}} <!--
 
             -->}} <!--
Line 23: Line 21:
 
         -->{{#ifeq: {{{2}}} | item | <!--
 
         -->{{#ifeq: {{{2}}} | item | <!--
 
             -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titledetails&titleno={{#replace:{{{1}}}| |+}} FHL Collection] | <!--
 
             -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titledetails&titleno={{#replace:{{{1}}}| |+}} FHL Collection] | <!--
             -->{{#ifeq: {{{2}}} | title | <!--
+
             INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--
              -->[http://fsbeta.familysearch.org/s/catalog/show?uri=http%3A%2F%2Fcatalog-search-api%3A8080%2Fwww-catalogapi-webservice%2Fitem%2F{{#replace:{{{1}}}| |+}}&hash=rh2%252B403z7n4WII67nHOFMh25nvE%253D FHL Collection] | <!--
+
              Book contain a space-->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&amp;columns=*%2C0%2C0&amp;callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
              INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--
+
              Otherwise it is a film-->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=filmhitlist&columns=*,0,0&filmno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] <!--
                  Book contain a space-->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&amp;columns=*%2C0%2C0&amp;callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
+
                  Otherwise it is a film-->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=filmhitlist&columns=*,0,0&filmno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] <!--
+
                  -->}} <!--
+
 
               -->}} <!--
 
               -->}} <!--
 
             -->}} <!--
 
             -->}} <!--

Revision as of 20:48, 28 September 2010

[view] [edit] [history] [purge] Documentation icon Template documentation

At this time, this only works based upon film, fiche, or book number. Other IDs or other cases are not set up to work as examples may be needed or other answers. Are there other cases needed to link to the Family History Library Catalog? If so, please discuss them in the right section on the Discussion page.

This is the {{FHL}} template. This template is used for formatting the text and links for FHL items generally used in source citations. Only one parameter is used and required, the FHL item number. When you search the Family History Library Catalog at http://www.FamilySearch.org/, you will find the call number which should be entered in the template as the first parameter.

Examples

All film or fiche require a "Film Number Search" (using only numbers, no letters, spaces, commas, or periods (none of these should be included)). Books, pamphlets, CDs, pedigrees, and maps require a "Call Number Search" (contains a combination of numbers and letters and always a space).

Entered Produces Notes
Current FHLC
{{FHL|782195}} FHL 782195 Link. No type specified. Automatically detect either a call number or a film number (this case). This is the recommended method.
{{FHL| 782195 }} FHL 782195 Spaces before and after are automatically sucked up.
{{FHL|782195|disp=Registros civiles del municipio de Actopan}} Registros civiles del municipio de Actopan To display different text than the item's call number.
{{FHL|941.5 D27gj}} FHL 941.5 D27gj Link. Call number (book in this case) automatically detected!
{{FHL|977.5 H2q vol. 3}} FHL 977.5 H2q vol. 3 Link. Call number (book with a specific volume in this case) automatically detected!
{{FHL|973 A1 no. 4}} FHL 973 A1 no. 4 Link. Call number (pamphlet in this case) automatically detected! Thousands of the "A1"s exists. A1 means its a small book-too small for the call number to placed on the spine, so they put them in bins.
{{FHL|016.9291 K128g supp. 1987}} FHL 016.9291 K128g supp. 1987 Link. Call number (book with a supplemental year in this case) automatically detected!
{{FHL|289.309 R541c index}} FHL 289.309 R541c index Link. Call number (book index in this case) automatically detected!
{{FHL|428.1 M855a v. 1 pt. 1 1995}} FHL 428.1 M855a v. 1 pt. 1 1995 Link. Call number (book with volume, part, and year in this case) automatically detected!
{{FHL|792.026 K824h}} FHL 792.026 K824h Link. Call number (book in this case) automatically detected!
{{FHL|973 E7fra}} FHL 973 E7fra Link. Call number (map in this case) automatically detected!
{{FHL|CD-ROM no. 1126}} FHL CD-ROM no. 1126 Link. Call number (CD in this case) automatically detected!
{{FHL|no. 1126}} FHL no. 1126 Link. Call number (pedigree in this case) automatically detected!
{{FHL|782195|film}} FHL 782195 This type has been kept around for purposes of backward compatibility. It may be used to override the automatic detection. However, automatic detection is strongly recommended.
{{FHL|941.5 D27gj|book}} FHL 941.5 D27gj This type has been kept around for purposes of backward compatibility. It may be used to override the automatic detection. However, automatic detection is strongly recommended.
{{FHL|Salt Lake City 4th Ward Utah|corporate}} FHL Corporate Name Salt Lake City 4th Ward Utah Link. Search for Corporate Names as authors. "|disp=" can be used to display any text.
{{FHL|782195|junk}} FHL 782195 Invalid type. Do same as no type specified.
{{FHL}} INVALID/MISSING FHL number Missing number
Are these needed?
For the following methods, "|disp=" can be added to the end of the template to change the text that will be included in the link. For example {{FHL|343687|title-id|disp=Illinois Mortality Schedules 1850-1880}} will display as Illinois Mortality Schedules 1850-1880
{{FHL|343687|title-id}} FHL Collection Link. For some unusual cases. The display would not make sense to display the ID used internal to the FHLC. A problem exists with the old catalog for the title bar display. Do we need this? Do we want to use internal IDs? Are these ID persistent and will they be for a long time? These need to be answered by FHLC people.

This is a prefered method, because it links directly to the resource, instead of going to search results. "|disp=" can be used to display any text.
{{FHL|343687|item}} FHL Collection Link. Backward compatibility. Does the same as title-id.
{{FHL|352615|subject_id}} FHL Subject#352615 Link. For some unusual cases. The display would not make sense to display the ID used internal to the FHLC. A problem exists with the old catalog for the title bar display. Do we need this?
{{FHL|308059|author_id}} FHL Author#308059 Link. For some unusual cases. The display would not make sense to display the ID used internal to the FHLC. A problem exists with the old catalog for the title bar display. Do we need this?
{{FHL|Australian Ethnic Heritage Series|keywords}} FHL Keyword Australian Ethnic Heritage Series Link. For some unusual cases. Do we need this?
{{FHL|The New Statistical Account of Scotland|title}} FHL Title Link. For some unusual cases. Do we need this?
{{FHL|Iowa Probate Records|title}} FHL Title Link. For some unusual cases. Do we need this?
{{FHL|Hessians|subject}} FHL Subject Link. For some unusual cases. Do we need this?
Beta FHLC
{{FHL|782195}} FHL 782195 Link. No type specified. Automatically detect either a call number or a film number (this case). This is the recommended method.
{{FHL| 782195 }} FHL 782195 Spaces before and after are automatically sucked up.
{{FHL|941.5 D27gj}} FHL 941.5 D27gj Link. Call number (book in this case) automatically detected!
{{FHL|977.5 H2q vol. 3}} FHL 977.5 H2q vol. 3 Link. Call number (book with a specific volume in this case) automatically detected!
{{FHL|973 A1 no. 4}} FHL 973 A1 no. 4 Link. Call number (pamphlet in this case) automatically detected! Thousands of the "A1"s exists. A1 means its a small book-too small for the call number to placed on the spine, so they put them in bins.
{{FHL|016.9291 K128g supp. 1987}} FHL 016.9291 K128g supp. 1987 Link. Call number (book with a supplemental year in this case) automatically detected!
{{FHL|289.309 R541c index}} FHL 289.309 R541c index Link. Call number (book index in this case) automatically detected!
{{FHL|428.1 M855a v. 1 pt. 1 1995}} FHL 428.1 M855a v. 1 pt. 1 1995 Link. Call number (book with volume, part, and year in this case) automatically detected!
{{FHL|792.026 K824h}} FHL 792.026 K824h Link. Call number (book in this case) automatically detected!
{{FHL|973 E7fra}} FHL 973 E7fra Link. Call number (map in this case) automatically detected!
{{FHL|CD-ROM no. 1126}} FHL CD-ROM no. 1126 Link. Call number (CD in this case) automatically detected!
{{FHL|no. 1126}} FHL no. 1126 Link. Call number (pedigree in this case) automatically detected!
{{FHL|782195|film}} FHL 782195 This type has been kept around for purposes of backward compatibility. It may be used to override the automatic detection. However, automatic detection is strongly recommended.
{{FHL|941.5 D27gj|book}} FHL 941.5 D27gj This type has been kept around for purposes of backward compatibility. It may be used to override the automatic detection. However, automatic detection is strongly recommended.
{{FHL|782195|junk}} FHL 782195 Invalid type. Do same as no type specified.
{{FHL}} INVALID/MISSING FHL number Missing number
Are these needed?
{{FHL|343687|title-id}} FHL Collection Link. For some unusual cases. The display would not make sense to display the ID used internal to the FHLC. A problem exists with the old catalog for the title bar display. Do we need this?
{{FHL|343687|item}} FHL Collection Link. Backward compatibility. Does the same as title-id.
{{FHL|352615|subject_id}} FHL Subject#352615 Link. For some unusual cases. The display would not make sense to display the ID used internal to the FHLC. A problem exists with the old catalog for the title bar display. Do we need this?
{{FHL|308059|author_id}} FHL Author#308059 Link. For some unusual cases. The display would not make sense to display the ID used internal to the FHLC. A problem exists with the old catalog for the title bar display. Do we need this?
{{FHL|Australian Ethnic Heritage Series|keywords}} FHL Keyword Australian Ethnic Heritage Series Link. For some unusual cases. Do we need this?
{{FHL|The New Statistical Account of Scotland|title}} FHL Title Link. For some unusual cases. Do we need this?
{{FHL|Iowa Probate Records|title}} FHL Title Link. For some unusual cases. Do we need this?
{{FHL|Hessians|subject}} FHL Subject Link. For some unusual cases. Do we need this?
{{FHL|Ontario, Peel, Albion Township|place}} FHL place Link. Returns list of all entries for a specified place.

See also