Template:Catmain: Difference between revisions

move doc to /doc
(→‎Usage: use {{tlx}})
(move doc to /doc)
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}}</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 {{tlx|catmain|England}} on the related Category page.
[[Category:Templates|Catmain]]
</noinclude>
90,866

edits