Modèle:Template category : Différence entre versions
(undo style= instead of fixing 13 translations) |
m (1 révision importée) |
(Aucune différence)
|
Version actuelle datée du 19 janvier 2016 à 11:29
Cette catégorie répertorie des modèles. Elle ne devrait contenir que des pages de l’espace Modèle. |
input | result | |||
---|---|---|---|---|
{{template category}}
|
| |||
{{template category |main}}
|
| |||
{{template category |tracking}}
|
| |||
{{template category |translated}}
|
| |||
{{template category |description=Wikitext}}
|
| |||
{{template category |category=Wikitext}}
|
| |||
{{template category |shortcut=CAT:CAT}}
|
|
- The named parameters can be combined as needed.
- The description Modèle:Best current practice state which template(s) populate the template category, e.g.,
description=This category is populated by {{tl|name}}.
{{template category|tracking|category=}}
disables the categorization in Template tracking categories.{{template category|translated|category=}}
disables the categorization determined by the otherwise Modèle:Best current practice type parameter:
input | category |
---|---|
{{template category |translated|type=cleanup}}
|
Media cleanup templates |
{{template category |translated|type=documentation}}
|
Template documentation |
{{template category |translated|type=header}}
|
Header templates |
{{template category |translated|type=infobox}}
|
Infobox templates |
{{template category |translated|type=license}}
|
License tags |
{{template category |translated|type=localisation}}
|
Localisation templates |
{{template category |translated|type=location user}}
|
Location user templates |
{{template category |translated|type=marker}}
|
Marker templates |
{{template category |translated|type=navigational}}
|
Navigational templates |
{{template category |translated|type=problem}}
|
Problem tags |
{{template category |translated|type=protecticon}}
|
Protection templates |
{{template category |translated|type=restriction}}
|
Restriction tags |
{{template category |translated|type=source}}
|
Source templates |
{{template category |translated|type=user}}
|
User templates |
Also see {{local template category}}, {{Global maintenance category}}, {{Local maintenance category}}, and {{Categorise}}.
<templatedata> { "params": { "1": { "label": "main switch", "description": "Unused or one of main, tracking, or translated.", "type": "string" }, "2": { "aliases": [ "shortcut" ], "label": "shortcut", "description": "Wikilink without square brackets", "type": "wiki-page-name" }, "description": { "description": "Optional wikitext, e.g., show populating template.", "type": "string", "suggested": true }, "type": { "description": "Shorthands for various translated template categories", "type": "string" }, "category": { "description": "Bypass categorization for tracking or translated", "type": "string" } }, "description": "Header for categories of general, main, tracking, or various translated template types." } </templatedata>
The above documentation is transcluded from Modèle:Template category/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |