• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Userbox/categories

  • Template
  • Talk
  • Language
  • Watch
  • View source
< Template:Userbox
Template documentation[view] [edit] [history] [purge]

This is a helper template to include in documentation of a userbox. It notifies user about the categories which this userbox will add to the userpage. Up to five categories are supported, same as {{Userbox}} and its variations, which use Module:Userbox.

Usage

{{Userbox/categories|category1|category2|category3|...}}

Parameter |template= can be used to override the mention of userbox.

Example

Code Result
{{Userbox/categories|Wikipedian linguists}}
This userbox will automatically add your user page to category Wikipedian linguists.

You can disable automatic categorization using template parameter |nocat=true.

{{Userbox/categories|Wikipedians in Europe|Wikipedians in the European Union|Wikipedians in the United Kingdom|Wikipedians in England|Wikipedians in London}}
This userbox will automatically add your user page to following categories:
  1. Wikipedians in Europe
  2. Wikipedians in the European Union
  3. Wikipedians in the United Kingdom
  4. Wikipedians in England
  5. Wikipedians in London

You can disable automatic categorization using template parameter |nocat=true.

{{Userbox/categories|template=template|WikiProject Templates participants}}
This template will automatically add your user page to category WikiProject Templates participants.

You can disable automatic categorization using template parameter |nocat=true.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Userbox in articles based on its TemplateData.

TemplateData for Userbox

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Category 11

Name of the category without the namespace prefix

Example
Wikipedians who edit by smartphone
Linerequired
Category 22

no description

Lineoptional
Category 33

no description

Lineoptional
Category 44

no description

Lineoptional
Category 55

no description

Lineoptional
Category 66

no description

Lineoptional
templatetemplate

no description

Unknownoptional

See also

  • {{Userbox documentation subpage}}
  • {{Userbox/citydoc}}
The above documentation is transcluded from Template:Userbox/categories/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Userbox/categories&oldid=1347146410"