Template:Category TOC/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template adds a table of contents (TOC) to a category page....")
 
No edit summary
 
Line 6: Line 6:
<pre>{{CategoryTOC
<pre>{{CategoryTOC
  | top      = yes / no
  | top      = yes / no
| numerals  = separate / group / no
  | uppercase = yes / no
  | uppercase = yes / no
  | lowercase = yes / no
  | lowercase = yes / no
Line 13: Line 12:
===Parameters===
===Parameters===
*''top'' - specifies whether a link to the top of the category is included. Default is '''yes'''.
*''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'''.
*''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'''.
*''lowercase'' - specifies whether there is a link for each lowercase letter a,b,...,z. Default is '''no'''.

Latest revision as of 07:21, 12 September 2010

This is a documentation subpage for Template:Category TOC (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template 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
 | uppercase = yes / no
 | lowercase = yes / no
}}

Parameters

  • top - specifies whether a link to the top of the category is included. Default is yes.
  • 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.