Template:Cat main/doc: Difference between revisions

ArrowHead294 (talk | contribs)
Make doc page
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}
== Usage ==
The '''Cat main''' template is used in a category page to indicate the main article for that category.
 
=== Usage ===
Use as follows:
Use as follows:


: <code>{{((}}Cat main{{pipe}}</nowiki>''Some page''{{))}}
<pre>{{Cat main|''Some page''}}</pre>


or
or


: <code>{{((}}Cat main{{pipe}}name=</nowiki>''Some page''{{))}}
<pre>{{Cat main|name=''Some page''}}</pre>


as to get
as to get
Line 13: Line 15:
: ''The main article for this category is '''[[Special:Random|Some page]]'''.''
: ''The main article for this category is '''[[Special:Random|Some page]]'''.''


== Related templates ==
=== Related templates ===
* [[Template:Main]]
* [[Template:Main]]