Revision as of 15:13, 22 March 2024 by Jayden(talk | contribs)(Created page with "{{Documentation}} 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. <pre>{{Categoryheader|1|2|3|4}}</pre> The "related to" in the template's output can be suppressed by adding <code>related=no</code> as a parameter to the template. ==Example== <pre>{{Categoryheader|pages|the Theatre of Blood|yes|Template:Theatre of Blood}}</pre> {{Categoryheader...")
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.
This template displays a standardised sentence to be used on all category pages.
Template parameters
This template prefers inline formatting of parameters.
Parameter
Description
Type
Status
Content type
1
This parameter will accept whether the category contains any combination of pages, images, and/or subcategories.
Example
pages and files
String
required
Subject
2
This parameter will accept the subject of the category.
String
required
Automatically added
3
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.
Boolean
suggested
Added by
4
This parameter will accept the names of the templates that automatically are added by a template. This parameter will only display if the third parameter is 'yes'.
String
suggested
Suppress "related to"
related
Set to "no" to suppress the "related to" text that is otherwise shown between "Content type" and "Subject"