Difference between revisions of "Template:RecordSearch"

From FamilySearch Wiki
Jump to: navigation, search
(amend template so to amend URL for browse image only collections)
(edit URL default use)
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{1|}}} | [{{#ifeq:{{{access}}}|browse|http://pilot.familysearch.org/recordsearch/start.html#c={{{1}}};s=waypointsOnly;w=0;p=waypoint|http://pilot.familysearch.org/recordsearch/start.html#c={{{1}}};p=collectionDetails;t=searchable}} ''{{{2|Record Search collection {{{1}}}}}}''] | http://pilot.familysearch.org  
+
{{#if: {{{1|}}} | [{{#switch: {{{access}}}
 +
| browse = https://www.familysearch.org/search/image/index#uri=https://api.familysearch.org/records/collection/{{{1}}}/waypoints
 +
| waypoint = https://www.familysearch.org/search/image/index#uri=https://api.familysearch.org/records/waypoint/{{{1}}}
 +
| #default = https://www.familysearch.org/search/collection/{{{1}}}
 +
}} {{{2|Record Collection {{{1}}}}}}]  
 +
| [https://www.familysearch.org/search/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 17:58, 15 February 2013

Historical Record Collections

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