Template:Namespaced category: Difference between revisions

From Computing Classics Wiki
Aids auto-categorisation
 
Fix TemplateData
Line 7: Line 7:
"description": "The name of the category to add if the check succeeds (do not add Category: prefix)",
"description": "The name of the category to add if the check succeeds (do not add Category: prefix)",
"type": "string",
"type": "string",
"default": "Buses with unknown VIN",
"required": true,
"required": true
"example": "Buses with unknown VIN"
},
},
"namespace": {
"namespace": {

Revision as of 13:23, 26 March 2021

Template documentation (for the above template, sometimes hidden or invisible)

Checks the namespace of the page, and if it matches mainspace (or the number of the given namespace), adds a category.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Category name1

The name of the category to add if the check succeeds (do not add Category: prefix)

Example
Buses with unknown VIN
Stringrequired
Namespace numbernamespace

The namespace number to display this category in.

Default
0
Example
2
Numberoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.