Template:HR Coverage Table/doc: Difference between revisions

From FamilySearch Wiki
m (Protected "Template:HR Coverage Table/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
(One intermediate revision by one other user not shown)
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


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


The location parameter creates category:COUNTYNAME FamilySearch Historical Records.
Template code without the article parameter supplied:
 
<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 would look if the above article is supplied as the HR_article parameter:
This is how the template should look if the above parameter is used:
<pre>{{HR Coverage Table|location= United States|HR_article = [[United States, World War I Draft Registration Cards - FamilySearch Historical Records]]}}</pre>
<pre>{{HR Coverage Table|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 the template displays like this:
When the article parameter is not supplied this is how the template will display
{{HR Coverage Table|location = |HR_article = }}
{{HR Coverage Table|HR_article = }}
[[Category:Template documentation]]
[[Category:Template documentation]]
[[Category:WikiProject FamilySearch Historical Records templates]]
[[Category:WikiProject FamilySearch Historical Records templates]]

Revision as of 10:16, 27 January 2020

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 includes a |HR_article parameter creating a link to the main article.

Template code without the article parameter supplied:

{{HR Coverage Table|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 should look if the above parameter is used:

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

This is how the template will dsisplay in the article

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:
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

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: