Difference between revisions of "Template:RecordSearch"

From FamilySearch Wiki
Jump to: navigation, search
m
(update to include linking to a specific waypoint)
Line 1: Line 1:
{{#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]
+
{{#if: {{{1|}}} | [{{#switch: {{{access}}}
 +
| browse = https://www.familysearch.org/search/image/show#uri=https://api.familysearch.org/records/collection/{{{1}}}/waypoints&hash=Mrd8SMocDIIen2Q83tu%252B82PRagg%253D
 +
| waypoint = https://www.familysearch.org/search/image/show#uri=https://api.familysearch.org/records/waypoint/{{{1}}}
 +
| #default = https://www.familysearch.org/search/collection/show#uri=http://hr-search-api:8080/searchapi/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 14:25, 17 March 2011

Historical Record Collections

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