Template:GuidedResearch Start Here: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 22: Line 22:
Search link 5={{{Search link 5|}}}|}}
Search link 5={{{Search link 5|}}}|}}
|<nowiki></nowiki>}}  <!-- end original if statement -->
|<nowiki></nowiki>}}  <!-- end original if statement -->
<noinclude>
__NOTOC__
__NOTOC__
<noinclude>
== Purpose ==
== Purpose ==
This template is used to create the first search section of the Guided Research pages.  An example of this section might look like the following:
This template is used to create the first search section of the Guided Research pages.  An example of this section might look like the following:

Revision as of 16:04, 22 February 2018

Code example:
{{GuidedResearch Start Here|
  Vital type=Birth|
  Number of search links=1| 
  Search link 1=|
  Search link 2=|  <!-- etc... -->
 }}


Purpose[edit source]

This template is used to create the first search section of the Guided Research pages. An example of this section might look like the following:

Search a birth index

Search the following database.

Start here:


Usage[edit source]

To use this template insert the code {{GuidedResearch Start Here|parameters=}} on a page, with a combination of the following parameter:

Vital type=|
Vital type will be used in creating the heading of the section. For example, if the Vital type is Birth, the heading will be

Search a birth index

Number of search links=|
Number of search links is used to determine if the description sentence should be singular or plural. If there is only one search link, the description will be as follows:

Search a birth index

Search the following database.


If Number of search links is plural, the title will be as follows:

Search a birth index

For best results, search the following databases in the order listed below.

Search link 1=|
Search link 2=|
Search link 3=|
Search link # is the link you wish the user to click, including any text describing that link. Code that could be used as a link might look like this:
1800s-2000s: '''<u>[https://www.familysearch.org/search/record/results?count=20&localeSubcountryName=Ohio&query=%2Brecord_country%3A%22United%20States%22%20%2Brecord_subcountry%3A%22United%20States%2COhio%22&collection_id=(1680845%201932106) Ohio Birth Collections by FamilySearch]</u>''' - County births start in 1867 in Ohio; delayed birth records start earlier.


If there is more than one link, be sure that the number of Search link # matches the Number of search links.

Code Example[edit source]

Here's an example of code which can be used to call this template.

example:
{{GuidedResearch Start Here|
  Vital type=Birth|
  Number of search links=1| 
  Search link 1=|
  Search link 2=|  <!-- etc... -->
 }}