Template:GR Start here

From FamilySearch Wiki
Jump to navigation Jump to search

Search an index

Start here:[edit source]

Code example:
The following is an example of a call to the template.  You can have as many links as desired, just make sure to start at 1 and do not skip any numbers in your list. (don't have 1, 2, 4, 6 - only 1 and 2 will be output.) See below for definitions of input values.
{{GR start here
|Vital=
|Search link 1=
|Website 1=
|Search link 2=
|Website 2=
}}

Template:GR start here - On the GuidedResearch pages, this template creates the 'Search a (Vital type) index' title and the 'Start Here' title. Also, the links in the section are output.

Template parameters

ParameterDescriptionTypeStatus
Vital typeVital type

Vital type - defines the header of the dropdown section on the Guided Research page. Current recommended vital types are Birth, Marriage and Death.

Default
null
Example
Vital type=Birth
Auto value
null
Stringoptional
Search link 1Search link 1

entire string containing the link to be printed in the 'Start here' section. 'Search link' will be output exactly as entered.

Default
null
Example
Search link 1=1500s-1900s: '''<u>[https://www.familysearch.org/search/record/results?count=20&offset=0&query=%2Brecord_country%3AItaly%20%2Brecord_type%3A1 Italy Marriage Collections]</u>'''
Auto value
null
Stringrequired
Search link 2; Search link 3; ....Search link 'n'

You can have as many Search links as needed to be printed in the 'Start here' section

Default
null
Example
Search link 2=1500s-1900s: '''<u>[https://www.familysearch.org/search/record/results?count=20&offset=0&query=%2Brecord_country%3AItaly%20%2Brecord_type%3A1 Italy Marriage Collections]</u>'''
Auto value
null
Stringoptional
Website 1, Website 2...Website nWebsite 1, Website 2...Website n

Sending a website name that corresponds with a Search link will will result in the following being added to the end of the printed link on the GuidedResearch page: FamilySearch => at FamilySearch; FindMyPast => at FindMyPast ($); Ancestry => at Ancestry ($); American Ancestors => at American Ancestors ($); myherMyHeritage => at MyHeritage ($);

Default
null
Example
Website 1=Ancestry
Stringoptional