Template:HR DFNL/doc: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:


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 Freedmen's Bureau Miscellaneous Records (FamilySearch Historical Records)]]</PRE>
<PRE>[[United States Freedmen's Bureau Miscellaneous 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:
<pre>{{HR FDNL|HR_article = [[United States Freedmen's Bureau Miscellaneous Records (FamilySearch Historical Records)]]}}</pre>
<pre>{{HR DFNL|HR_article = [[United States Freedmen's Bureau Miscellaneous 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
{{HR DFNL|HR_article = [[United States Freedmen's Bureau Miscellaneous Records (FamilySearch Historical Records)]]}}
{{HR DFNL|HR_article = [[United States Freedmen's Bureau Miscellaneous 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
{{HR DFNL|HR_article = }}
{{HR DFNL|HR_article = }}
Which looks silly and isn't useful. So make sure you include the link to the article.
[[Category:Template documentation]]
[[Category:WikiProject FamilySearch Historical Records templates]]
Reviewer, editor, pagecreator
50,485

edits