Modèle:Category header/doc

De Wiki Electrolab
< Modèle:Category header
Révision datée du 1 mai 2023 à 10:14 par Electrolab (discussion | contributions) (Page créée avec « {{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><nowiki>{{Category header|Content type|Description|Automatically added|Added by}}</nowiki></pre> ;Content type :This parameter will accept whether the category contains any combination of pages, images, and/or subcategories. ;Description :This parameter will accept the subje... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

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.

{{Category header|Content type|Description|Automatically added|Added by}}
Content type
This parameter will accept whether the category contains any combination of pages, images, and/or subcategories.
Description
This parameter will accept the subject of the category.
Automatically added
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.
Added by
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".
Related
Setting this parameter to no suppresses the "related to" text that is otherwise shown between num1 and num2 in the output.

TemplateData

Adds a simple description of a category

Paramètres du modèle

La mise en forme sur une seule ligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
Content type1

What kind(s) of page this category contains

Par défaut
pages
Exemple
images
Chaîneobligatoire
Description2

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

Exemple
items
Chaîneobligatoire
Automatically added3

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

Exemple
yes
Booléenfacultatif
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"

Exemple
[[Template:Fact]]
Chaînefacultatif
Include "related to"related

Set to "no" to suppress the "related to" text that is otherwise shown between "content type" and "description"

Par défaut
yes
Exemple
no
Chaînefacultatif
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.