Template:Namespaced category

From Australian Enthusiasts Wiki
(Redirected from Template:NsCat)
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.