Template:Maincat

From Wikimedia Commons, the free media repository
(Redirected from Template:Catmain)
Jump to navigation Jump to search
Main category: Maincat
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Maincat/doc.

This template is used to link main categories from gallery pages. For marking main category pages, use {{Categorise}} instead

Usage

{{Maincat |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1category name (without Category: prefix)emptyrequired
2category name (without Category: prefix). Up to 9 additional categories.emptyoptional

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 page links
Sideways category 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)

Use

Syntax
{{Maincat|Category name(s)}}
Parameter
  • {{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.
Tsusho
Example

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
First category1

Insert the name of the first category

Stringrequired
22

no description

Unknownoptional
l1l1

no description

Unknownoptional
33

no description

Unknownoptional
l2l2

no description

Unknownoptional
44

no description

Unknownoptional
l3l3

no description

Unknownoptional
55

no description

Unknownoptional
l4l4

no description

Unknownoptional
66

no description

Unknownoptional
l5l5

no description

Unknownoptional
77

no description

Unknownoptional
l6l6

no description

Unknownoptional
88

no description

Unknownoptional
l7l7

no description

Unknownoptional
99

no description

Unknownoptional
l8l8

no description

Unknownoptional
1010

no description

Unknownoptional
l9l9

no description

Unknownoptional
l10l10

no description

Unknownoptional
1111

no description

Unknownoptional