Difference between revisions of "Template:RecordSearch"

From FamilySearch Wiki
Jump to: navigation, search
m (fix inlcudeoonly)
(fix waypoint parameter link)
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://pilot.familysearch.org FamilySearch Record Search],  [http://pilot.familysearch.org/recordsearch/start.html#c={{{1}}};p=collectionDetails;t=searchable ''{{{2|CID {{{1}}}}}}'']<includeonly>
+
{{#if: {{{1|}}} | [{{#switch: {{{access}}}
[[Category:FamilySearch Record Collections|{{{1}}}]]
+
| browse = https://www.familysearch.org/search/image/index#uri=https://api.familysearch.org/records/collection/{{{1}}}/waypoints
</includeonly>
+
| waypoint = https://www.familysearch.org/search/image/index#uri=https://api.familysearch.org/records/waypoint/{{{1}}}
<noinclude>
+
| #default = https://www.familysearch.org/search/collection/show#uri=http://hr-search-api:8080/searchapi/search/collection/{{{1}}}
=== Usage ===
+
}} {{{2|Record Collection {{{1}}}}}}]  
This template can be used to link to collections available for search from the [http://pilot.familysearch.org FamilySearch Record Search – Pilot Site]. It takes two parameters
+
| [https://www.familysearch.org/search/collection/list Historical Record Collections]
# The CID reference for the collection
+
}}<noinclude>
# The text to be displayed in the link. ''optional''
+
{{Documentation}}
#* If omitted the CID reference number will be displayed instead.
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
=== Example ===
 
{| cellspacing="0" border="1"
 
!style="width:50%"|You type
 
!style="width:50%"|You get
 
|-
 
|
 
<pre>
 
{{CID|1610550}}
 
</pre>
 
|
 
{{CID|1610550}}
 
|-
 
|
 
<pre>
 
{{CID|1610550|England, Cheshire Nonconformist Church Records}}
 
</pre>
 
|
 
{{CID|1610550|England, Cheshire Nonconformist Church Records}}
 
|}
 
[[Category:External link templates|CID]]
 
 
</noinclude>
 
</noinclude>

Revision as of 10:44, 21 April 2012

Historical Record Collections

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