Jump to content

Template:Cat main

Permanently protected template
From Meta, a Wikimedia project coordination wiki
The main article for thiscategoryisCat main.
Template documentation


Usage

This template is for use on Category pages, to refer to the primary article associated with this category, which most of the time, describes the entire set containing the category.

Normal usage (uses category name for wiki link):

The main article for thiscategoryisCat main.

If the name of the main article is different than the name of the category — for example: if the main article forCategory:PhabricatorisPhabricator— then you will need to use one parameter to specify the article:

The main article for thiscategoryisMain Page.
  • {{Cat main|Main Page/es{{!}}Página principal}}results in
The main article for thiscategoryisPágina principal.

Multiple articles

Simply append more articles as additional arguments (up to five):

The main article for thiscategoryis$1.
The main articles for thiscategoryare$1and$2.
The main articles for thiscategoryare$1,$2,$3,$4,and$5.

Pages which aren't articles

  • {{Cat main|Meta:About|article=no}}results in
The main page for thiscategoryisMeta:About.