Template:Cat main

From ArchWiki
Jump to navigation Jump to search
This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

A template for use on Category pages, to mark the main article of the category. Inspired by Wikipedia's Cat main template.

Usage

Without arguments uses category name for wiki link:

{{Cat main}}
The main article for this category is Cat main.

Up to three main articles are supported:

{{Cat main|Foo}}
The main article for this category is Foo.
{{Cat main|Foo|Bar}}
The main articles for this category are Foo and Bar.
{{Cat main|Foo|Bar|Baz}}
The main articles for this category are Foo, Bar and Baz.