Template:Set index article/doc

This is the {{Set index article}} template.

It can be used without any parameters to mark a page as a generic set index article. Like this:

{{Set index article}}

Which renders like this:

It then categorises the page into Category:Set index articles.

Parameters

Type

This template can also be fed a name of a type of set index article. For instance like this:

{{Set index article|comics}}

And it will then categorise the page into Category:Set index articles on comics, but no change is made to the template's appearance on-page, which is still:

Accepted types

  • ancient Greece
  • ancient Rome
  • animals
  • astronomical objects
  • books
  • cars
  • case law
  • characters
  • comics
  • films
  • Greek mythology
  • lakes
  • law
  • manga
  • mathematics
  • military vehicles
  • mountains
  • newspapers
  • plants
  • Poland
  • populated places in Belarus
  • populated places in India
  • populated places in Lithuania
  • populated places in Poland
  • populated places in Russia
  • populated places in Ukraine
  • rivers
  • Russia
  • Russian districts
  • ships
  • snakes
  • sports
  • television programs
  • titles of nobility
  • tropical cyclones
  • urban okrugs in Russia
  • urban settlements in Russia
Special cases

Sort key

To add a category sort key, use for example:

{{Set index article|comics|(sort key)}}

or if no type is given (note the double pipe):

{{Set index article||(sort key)}}

Defaults to first letter of article title.

Technical details

If the page name starts with "List" it does not show the "If an internal link led you here" sentence, since such pages are not likely to be unintentionally linked to.

This template only categorises a page if the page is in the main (article) space. Thus it will not categorise for instance a talk page or this template page where it might be shown or discussed.

Error handling

If there are issues with the parameters used in this template, the page will be put into either the Category:Wikipedia disambig or set index box parameter needs fixing or the Category:Unsynchronized disambiguation talk pages category.

TemplateData

Produces a notice and categories for a set index article, which lists a set of items of a specific type that also share the same (or similar) name.

Template parameters

ParameterDescriptionTypeStatus
Subcategory1

Subcategorizes the article into a subcategory of set index articles

Example
comics
Linesuggested
Sort key2

Includes category sort key

Unknownoptional
page-titlepage-title

Changes page title in link

Unknownoptional
nocatnocat

Suppresses categorization

Booleanoptional
demospacedemospace

Use when demo-ing the template

Unknownoptional

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.