Template:Cat main/doc: Difference between revisions

ArrowHead294 (talk | contribs)
Make doc page
 
ArrowHead294 (talk | contribs)
No edit summary
Line 1: Line 1:
{{dochead}}
{{dochead}}
== Usage ==
=== Usage ===
Use as follows:
Use as follows:


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


or
or


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


as to get
as to get
Line 13: Line 13:
: ''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]]