Jump to content
Wikimedia Meta-Wiki

Template:Cat main

From Meta, a Wikimedia project coordination wiki
The main article for this category is Cat 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 this category is Cat main .

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

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

Multiple articles

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

The main article for this category is 1ドル .
The main articles for this category are 1ドル and 2ドル .
  • {{Cat main|1ドル|2ドル|3ドル|4ドル|5ドル}} results in
The main articles for this category are 1ドル, 2ドル, 3ドル, 4ドル, and 5ドル .

Pages which aren't articles

  • {{Cat main|Meta:About|article=no}} results in
The main page for this category is Meta:About .
The above documentation is transcluded from Template:Cat main/doc. (edit | history)
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /