Template:Maincat

From Wikimedia Commons, the free media repository
(Redirected from Template:Catmain)
Jump to: navigation, search
Main category: [[:Category:{{{1}}}|{{{1}}}]]
Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:Maincat/doc.

Usage

Syntax
{{Maincat|Category name(s)}}
Parameters
  • {{Maincat|A}} →
Main category: A
  • {{Maincat|A|B}} →
Main categories: A and B
  • {{Maincat|A|B|C}} →
Main categories: A, B, and C
  • Etc., up to 10 parameters.
Aliases
Examples

Usage

{{Maincat |1= |2= }}

Template parameters

Parameter Description Default Status
1 category name (without Category: prefix) empty required
2 category name (without Category: prefix). Up to 9 additional categories. empty optional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

See also

Templates linking contents

"1-N" means from one to many.

Upwards links
Downwards links
Sideways links
Interproject links

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Note that there are 2 {{LangSwitch}} constructs, one for singular (one category) and one for plural (2+ categories)