• 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 userpage to category Wikipedian linguists.

You can disable automatic categorization using |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 userpage 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 |nocat=true.

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

You can disable automatic categorization using |nocat=true.

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=1274392516"
Last edited on 7 February 2025, at 02:38

Languages

    • বাংলা
    • ਪੰਜਾਬੀ
    • Simple English
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 7 February 2025, at 02:38 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop