Difference between revisions of "Template:Category TOC/doc"

From MINR.ORG WIKI
m (update cat)
(subcat)
Line 42: Line 42:
 
<includeonly>
 
<includeonly>
 
<!--Categories-->
 
<!--Categories-->
[[Category:Wikipedia table of contents templates|{{PAGENAME}}]]
+
[[Category:Wikipedia category table of contents templates|{{PAGENAME}}]]
 
[[Category:Category namespace templates|{{PAGENAME}}]]
 
[[Category:Category namespace templates|{{PAGENAME}}]]
  

Revision as of 17:55, 20 February 2012

Template:Mbox

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.

{{Category TOC
 | 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:CatAZ

Template:Category TOC numeric

Template:Category TOC lower case

Template:Category TOC numerals

See also