Template:Catmain: Difference between revisions

From FamilySearch Wiki
(new template)
 
m (category)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>:<div class="boilerplate" id="catmain">''The main article for this [[Special:Categories|category]] is '''[[{{{1|{{PAGENAME}}}}}]]'''.''</div></includeonly><noinclude>
<includeonly>:<div class="boilerplate" id="catmain">''The main article for this [[Special:Categories|category]] is '''[[{{{1|{{PAGENAME}}}}}]]'''.''</div></includeonly><noinclude>
== Purpose ==
{{Documentation}}[[Category:Templates]]</noinclude>
This template is used to refer readers to the main article about a [[Special:Categories|category]].
 
== Usage ==
This template takes one parameter: the name of the main article. For example, to refer to an article named ''England'', you would insert '''<nowiki>{{catmain|England}}</nowiki>''' on the related Category page.
[[Category:Templates|Catmain]]
</noinclude>

Latest revision as of 14:20, 26 September 2017

[view] [edit] [history] [purge] Documentation icon Template documentation