Template:RecordSearch

From FamilySearch Wiki

(Difference between revisions)
(update URL)
m
Line 1: Line 1:
{{#if: {{{1|}}} | [{{#ifeq:{{{access}}}|browse|https://www.familysearch.org/search/image/show#uri=http%3A//api.familysearch.org/records/collection/{{{1}}}/waypoints&hash=Mrd8SMocDIIen2Q83tu%252B82PRagg%253D|https://www.familysearch.org/search/collection/show#uri=http://hr-search-api:8080/searchapi/search/collection/{{{1}}}}} ''{{{2|Record Collection {{{1}}}}}}''] | [http://www.familysearch.org/s/collection/list Historical Record Collections]
+
{{#if: {{{1|}}} | [{{#ifeq:{{{access}}}|browse|https://www.familysearch.org/search/image/show#uri=https%3A//api.familysearch.org/records/collection/{{{1}}}/waypoints&hash=Mrd8SMocDIIen2Q83tu%252B82PRagg%253D|https://www.familysearch.org/search/collection/show#uri=http://hr-search-api:8080/searchapi/search/collection/{{{1}}}}} ''{{{2|Record Collection {{{1}}}}}}''] | [http://www.familysearch.org/s/collection/list Historical Record Collections]
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 06:59, 17 March 2011

Historical Record Collections

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

Contents

Purpose

When Record Search changed from beta to production, articles that had used this template were all updated with a single edit to this template.

Usage

This template can be used to link to specific FamilySearch Historical Record Collections available for search. It can take three parameters

  1. The reference for the collection optional
    • If omitted the URL for the site will be displayed
  2. The text to be displayed in the link. optional
    • If omitted the reference number will be displayed instead.
  3. access= optional named parameter. If the parameter is omitted it will default to the correct output for searchable collections
    • Used for linking to a Browse image only collection. This is done by using access=browse.
    • Used for linking to a specific browsing waypoint within a collection. This is done by using access=waypoint.

Example

You type You get
{{RecordSearch|1610550}}

Record Collection 1610550

{{RecordSearch 
|1610550
|England, Cheshire Nonconformist Church Records
}}

England, Cheshire Nonconformist Church Records

{{RecordSearch
|1462401
|Argentina National Census, 1869
|access=browse
}}

Argentina National Census, 1869

{{RecordSearch
|14031753
|Probate records for Rensselaer County
|access=waypoint
}}

Probate records for Rensselaer County

{{RecordSearch}}

Historical Record Collections

See also