Open main menu

Template:Set index article/doc

< Template:Set index article
Revision as of 16:48, 29 December 2018 by Johannes Axner (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 indices.

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 indices on comics.

To add a category sort key, use for example:

{{Set index article|comics|Key}}

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

{{Set index article||Key}}

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.

See also