Template:Cat main: Difference between revisions

Fredg999 category edits (talk | contribs)
m Categories
ArrowHead294 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
:''The main article for this category is '''[[{{trim| {{{1| {{PAGENAME}} }}} }}]]'''.''<noinclude>
<includeonly>: ''The main article for this category is '''[[{{trim|{{{1|{{PAGENAME}}}}}}}]]'''.''</includeonly><noinclude>
 
{{documentation}}
The '''Cat main''' template is used in a category page to indicate the main article for that category.
 
== Usage ==
 
Use as follows:
 
<nowiki>{{Cat main|</nowiki>''Some page''}}
 
or
 
<nowiki>{{Cat main|name=</nowiki>''Some page''}}
 
as to get
 
:''The main article for this category is '''[[Special:Random|Some page]]'''.''
 
== Related templates ==
 
* [[Template:Main]]


[[Category:Hatnote templates]]
[[Category:Hatnote templates]]
</noinclude>
</noinclude>