Template:HR Coverage Table/doc: Difference between revisions

From FamilySearch Wiki
No edit summary
No edit summary
Line 1: Line 1:
This template is for use in documents containing coverage tables for FamilySearch Historical Records collection.  It is not necessary or recommended to use this template in articles where the coverage table is part of the article.  
This template is for use in documents containing coverage tables for FamilySearch Historical Records collection.  It is not necessary or recommended to use this template in articles where the coverage table is part of the article.  


This template creates the category: FamilySearch Historical Records Coverage Tables
This template creates the category: FamilySearch Historical Records Coverage Tables.


This template includes a |HR_article parameter creating a link to the main article.
There are two parameters that should be supplied:
#location
#HR_article


Template code without the article parameter supplied:
The location parameter creates category:COUNTYNAME FamilySearch Historical Records.
<pre>{{HR Coverage Table|HR_article = }}</pre>
 
The HR_article parameter creates a link to the HR article.
 
Here is the template code without either of the parameters supplied:
<pre>{{HR Coverage Table|location = |HR_article = }}</pre>


The article parameter is supplied as a standard wikicode link. For example,  
The article parameter is supplied as a standard wikicode link. For example,  
<PRE>[[United States, World War I Draft Registration Cards - FamilySearch Historical Records]]</PRE>
<PRE>[[United States, World War I Draft Registration Cards - FamilySearch Historical Records]]</PRE>


This is how the template should look if the above parameter is used:
This is how the template would look if the above article is supplied as the HR_article parameter:
<pre>{{HR Coverage Table|HR_article = [[United States, World War I Draft Registration Cards - FamilySearch Historical Records]]}}</pre>
<pre>{{HR Coverage Table|location= United States|HR_article = [[United States, World War I Draft Registration Cards - FamilySearch Historical Records]]}}</pre>
 
This is how the template will dsisplay in the article
{{HR Coverage Table|HR_article = [[United States, World War I Draft Registration Cards - FamilySearch Historical Records]]}}


When the article parameter is not supplied this is how the template will display
When the article parameter is not supplied the template displays like this:
{{HR Coverage Table|HR_article = }}
{{HR Coverage Table|location = |HR_article = }}
[[Category:Template documentation]]
[[Category:Template documentation]]
[[Category:WikiProject FamilySearch Historical Records templates]]
[[Category:WikiProject FamilySearch Historical Records templates]]

Revision as of 18:03, 7 January 2022

This template is for use in documents containing coverage tables for FamilySearch Historical Records collection. It is not necessary or recommended to use this template in articles where the coverage table is part of the article.

This template creates the category: FamilySearch Historical Records Coverage Tables.

There are two parameters that should be supplied:

  1. location
  2. HR_article

The location parameter creates category:COUNTYNAME FamilySearch Historical Records.

The HR_article parameter creates a link to the HR article.

Here is the template code without either of the parameters supplied:

{{HR Coverage Table|location = |HR_article = }}

The article parameter is supplied as a standard wikicode link. For example,

[[United States, World War I Draft Registration Cards - FamilySearch Historical Records]]

This is how the template would look if the above article is supplied as the HR_article parameter:

{{HR Coverage Table|location= United States|HR_article = [[United States, World War I Draft Registration Cards - FamilySearch Historical Records]]}}

When the article parameter is not supplied the template displays like this:

FamilySearch Record Search This article contains record coverage information about a FamilySearch Historical Records Collection.
To learn how to use the collection and to access the records see: