• Home
  • Random
  • Nearby
  • Log in
  • Settings
  • Donate
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Set category

Template Talk
  • Language
  • Watch
  • View source
This is a set category. It should only contain pages that are Set category or lists of Set category, as well as subcategories containing those things (themselves set categories). Topics about Set category in general should be placed in relevant topic categories.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 36,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template should not be substituted.

Usage

This message box should be placed at the top of set categories to alert editors.

The name of the category will replace "Set category" in the message.

The category will automatically be added to Category:Set categories. If the template is transcluded on a page outside of the category namespace, the page will not be added to Category:Set categories.

Parameters

The parameter |alternative=alternative text replaces the name of the category in the message with "alternative text". Replace "alternative text" with text that fits better into the message than the name of the category. This should also be used if the first letter of the first word of the category is capitalised but would not be capitalised in the middle of a sentence. Do not use links in the alternative text as this would clutter up the message.

The parameter |first=first alternative text replaces the first occurrence of the name of the category or alternative text in the message with "first alternative text". Replace "first alternative text" with text that fits better into the message than the name of the category. It can be used to provide more information than the alternative text and can contain links.

The parameter |topic=Topic category adds "Category:Topic category, one of its subcategories or other" after "should be placed in" in the message. Replace "Topic category" with a related topic category.

The parameter |single=example adds "Topics and categories related to just an individual example should not be in this category." to the end of the message.

All parameters are optional; however, the single parameter is recommended.

Example

{{Set category|first=members of [[The Beatles]]|alternative=members of The Beatles|topic=The Beatles|single=Beatle}}

produces:

This is a set category. It should only contain pages that are members of The Beatles or lists of members of The Beatles, as well as subcategories containing those things (themselves set categories). Topics about members of The Beatles in general should be placed in Category:The Beatles or one of its subcategories. Categories related to only an individual Beatle should not be in this category.

See also

Other category-header templates

  • v
  • t
  • e
Category-heading templates
Templates meant to appear at or near the top of category pages
By namespace
Category
  • {{Category explanation}}
  • {{Parent-only stub category}}
  • {{Regional stub category}}
  • {{Set category}}
  • {{Stub category}}
  • {{Topic category}}
File
  • {{Category game screenshot header}}
  • {{File category}}
  • {{File template notice}}
  • {{Image template notice1}}
  • {{Media template notice}}
Other
  • {{Help category}}
  • {{Maintenance category}}
  • {{Portal category}}
  • {{Sockpuppet category}}
  • {{Template category}}
  • {{User category}}
Maintenance
  • {{All included}}
  • {{Category diffuse}}
  • {{Category header}}
  • {{Container category}}
  • {{Diffusing subcategory}}
  • {{Geography parent category}}
  • {{Hidden category}}
  • {{Non-diffusing parent category}}
  • {{Non-diffusing subcategory}}
  • {{Overpopulated category}}
  • {{Possibly empty category}}
  • {{Redirect category}}
  • {{Tracking category}}
  • See also: Category hatnote templates
The above documentation is transcluded from Template:Set category/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) 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:Set_category&oldid=1061050846"
Last edited on 19 December 2021, at 09:56

Languages

    • বাংলা
    • Bân-lâm-gú
    • भोजपुरी
    • Deutsch
    • فارسی
    • Bahasa Indonesia
    • Bahasa Melayu
    • नेपाली
    • 日本語
    • ਪੰਜਾਬੀ
    • Română
    • Slovenščina
    • کوردی
    • తెలుగు
    • ไทย
    • Українська
    • Tiếng Việt
    • 粵語
    • 中文
    Wikipedia
    • This page was last edited on 19 December 2021, at 09:56 (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