Template:HR Inventory/doc: Difference between revisions

no edit summary
(Created page with "This template is for use in documents containing inventories of microfilm and/or digital folders used in a FamilySearch Historical Records collection. It is not necessary or...")
 
No edit summary
Line 2: Line 2:


This template creates the category: FamilySearch Historical Records Inventory
This template creates the category: FamilySearch Historical Records Inventory
The template has two parameters:
# location
# HR_article
The location parameter creates a category LOCATION FamilySearch Historical Records
The HR_article parameter creates a link to the main article.


This template includes a |HR_article parameter creating a link to the main article.
Template code without the article parameter supplied:
<pre>{{HR Inventory|location = |HR_article = }}</pre>


Template code without the article parameter supplied:
The location parameter is should be the same as the location parameter in the HR infobox for the main article.
<pre>{{HR Inventory|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>[[Kiribati, Vital Records - FamilySearch Historical Records]]</PRE>
<PRE>[[Kiribati, Vital Records - FamilySearch Historical Records]]</PRE>


This is how the template should look if the above parameter is used:
This is how the template should look if the above parameter is used (please note the location parameter is intentionally not supplied in this example):
<pre>{{HR Inventory|HR_article = [[Kiribati, Vital Records - FamilySearch Historical Records]]}}</pre>
<pre>{{HR Inventory|location =  |HR_article = [[Kiribati, Vital Records - FamilySearch Historical Records]]}}</pre>


This is how the template will dsisplay in the article
This is how the template will display in the article (please note the location parameter is intentionally not supplied in this example):
{{HR Inventory|HR_article = [[Kiribati, Vital Records - FamilySearch Historical Records]]}}
{{HR Inventory|location = |HR_article = [[Kiribati, Vital Records - FamilySearch Historical Records]]}}


When the article parameter is not supplied this is how the template will display
When the article parameter is not supplied this is how the template will display