Template:Cat main: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Fredg999 (talk | contribs)
Created page with ":''The main article for this category is '''[[{{{1|{{{name}}}}}}]]'''.''<noinclude> The '''Cat main''' template is used in a category page to indicate the main article for th..."
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
:''The main article for this category is '''[[{{{1|{{{name}}}}}}]]'''.''<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:Templates]]


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

Latest revision as of 18:06, 30 January 2025

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

The Cat main template is used in a category page to indicate the main article for that category.

Usage

Use as follows:

{{Cat main|''Some page''}}

or

{{Cat main|name=''Some page''}}

as to get

The main article for this category is Some page.

Related templates