Difference between revisions of "Template:RecordSearch"

From FamilySearch Wiki
Jump to: navigation, search
(update URL to use searchapi)
(fix waypoint parameter link)
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{1|}}} | [{{#ifeq:{{{access}}}|browse|https://www.familysearch.org/s/image/show#uri=http%3A//pilot.familysearch.org/records/collection/{{{1}}}/waypoints&hash=MPAfKvgWGXfZ5STyuqUCQxOVNk8%253D|https://www.familysearch.org/s/collection/show#uri=http://search-api:8080/searchapi/search/collection/{{{1}}}}} ''{{{2|Record Collection {{{1}}}}}}''] | http://www.familysearch.org/s/collection/list  
+
{{#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/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 10:44, 21 April 2012

Historical Record Collections

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