Jump to content

Template:Category TOC/doc: Difference between revisions

From cernipedia
common variants
→See also: update
Line 33: Line 33:


=== See also ===  
=== See also ===  
* [[:Template:CatAZ]]
* [[:Template:CategoryTOC (Non-Latin)]]
* [[:Template:CategoryTOC (Non-Latin)]]
* [[:Template:CategoryTOC-Numeric]]
* [[:Template:CategoryTOClc]]
* [[:Template:CategoryTOCnum]]
* [[:Template:CategoryYearTOC]]
* [[:Template:CategoryYearTOC]]
* [[:Template:CollapsibleLargeCategoryTOC]]
* [[:Template:CollapsibleLargeCategoryTOC]]
* [[:Template:LargeCategoryTOC]]
* [[:Template:LargeCategoryTOC]]
* [[:Template:LargeCategoryTOC2]]
* [[:Template:LargeCategoryTOC2]]
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!--Categories-->
<!--Categories-->
[[Category:TOC templates|{{PAGENAME}}]]
[[Category:TOC templates|{{PAGENAME}}]]
[[Category:Category namespace templates|{{PAGENAME}}]]
[[Category:Category namespace templates|{{PAGENAME}}]]
<!--Other languages-->
<!--Other languages-->
[[af:Template:CategoryTOC]]
[[af:Template:CategoryTOC]]

Revision as of 12:39, 7 March 2009

__EXPECTED_UNCONNECTED_PAGE__

Usage

This template adds a table of contents (TOC) to a category page. It should only be added to category 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