Jump to content

Template:Category TOC/doc: Difference between revisions

From cernipedia
No edit summary
Line 51: Line 51:
[[ca:Template:CategoryTOC]]
[[ca:Template:CategoryTOC]]
[[cy:Template:CategoryTOC]]
[[cy:Template:CategoryTOC]]
[[de:Vorlage:CategoryTOC]]
[[de:Vorlage:TOC Kategorie]]
[[el:Πρότυπο:CategoryTOC]]
[[el:Πρότυπο:CategoryTOC]]
[[eo:Ŝablono:TOCcat]]
[[eo:Ŝablono:TOCcat]]
Line 77: Line 77:
[[no:Mal:KategoriTOC]]
[[no:Mal:KategoriTOC]]
[[oc:Template:CategoryTOC]]
[[oc:Template:CategoryTOC]]
[[pl:Template:CategoryTOC]]
[[pl:Szablon:Spis treści kategoria]]
[[pt:Predefinição:Índice cat]]
[[pt:Predefinição:Índice cat]]
[[pt:Predefinição:CategoriaTOC]]
[[pt:Predefinição:CategoriaTOC]]

Revision as of 00:46, 8 April 2011

__EXPECTED_UNCONNECTED_PAGE__

Usage

This template adds a table of contents (TOC) to a category page. It should only be added to category pages. It is generally not used for categories containing less than 500 total pages.

{{CategoryTOC
 | top       = yes / no
 | numerals  = separate / group / no
 | uppercase = yes / no
 | lowercase = yes / no
}}

Parameters

  • top - specifies whether a link to the top of the category is included. Default is yes.
  • numerals - specifies whether numerals are included:
    • separate: each numeral 0,1,...,9 has a separate link.
    • group (default): there is one link for 0-9.
    • no: no link.
  • uppercase - specifies whether there is a link for each uppercase letter A,B,...,Z. Default is yes.
  • lowercase - specifies whether there is a link for each lowercase letter a,b,...,z. Default is no.

Common variants

Template:CategoryTOC

Template:CatAZ

Template:CategoryTOC-Numeric

Template:CategoryTOClc

Template:CategoryTOCnum

See also