Difference between revisions of "Template:CatMain/doc"

From WikiCorporates
Jump to navigation Jump to search
m
Line 10: Line 10:
 
Which will give:
 
Which will give:
 
{{CatMain|Energy Industry}}
 
{{CatMain|Energy Industry}}
 +
 +
Idea taken from Wikipedia's [https://en.wikipedia.org/wiki/Template:Cat_main Template:Cat main] calls [https://en.wikipedia.org/wiki/Module:Cat_main Module:catMain]
  
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 20:38, 21 December 2019

<< Template:CatMain

Usage

Small template to refer the reader to the main article page for a given Category.
It takes one parameter, to wit: the article name.

Example

{{CatMain|Energy Industry}}

Which will give:

The main article for this category is Energy Industry

Idea taken from Wikipedia's Template:Cat main calls Module:catMain