Template:Categoryheader

From Meta Wiki
Jump to: navigation, search
Documentation icon.png Template documentation[edit] [purge]
This documentation is transcluded from Template:Categoryheader/doc.

This template displays a standardised sentence to be used on all category pages.

Usage

This template can be used by entering the following onto a category page.

{{Categoryheader|num1|num2|num3|num4}}

num1

This parameter will accept whether the category contains any combination of pages, images, and/or subcategories. Note that the words "num1" must be deleted.

num2

This parameter will accept the subject of the category. Note that the words "num2" must be deleted.

num3

This parameter will accept the word "yes", if the category in question is automatically added to a page via a template. Leave this parameter blank if the category is not automatically added. Note that the words "num3" must be deleted.

num4

This parameter will accept the names of the templates that automatically are added by a template. This parameter will only display if the second parameter is "yes". Note that the words "num4" must be deleted.

Data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Adds a simple description of a category

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Content type1

What kind(s) of page this category contains

Default
pages
Example
images
Auto value
empty
Stringrequired
Description2

A short description of what the pages in this category are related to

Default
empty
Example
items
Auto value
empty
Stringrequired
Automatically added3

"yes" if this page is automatically added by some template(s), left blank otherwise

Default
empty
Example
yes
Auto value
empty
Booleanoptional
Added by4

The template(s) that automatically add pages to this category. Should be left blank unless the "automatically added" parameter was set to "yes"

Default
empty
Example
[[Template:Fact]]
Auto value
empty
Stringoptional