Difference between revisions of "Template:Category TOC/doc"
From MINR.ORG WIKI
(→See also: link) |
(→Common variants: link) |
||
Line 21: | Line 21: | ||
===Common variants=== | ===Common variants=== | ||
− | *{{tl2| | + | *{{tl2|Category TOC}} |
− | {{ | + | {{Category TOC}} |
− | *{{tl2|CatAZ}} or {{tl2| | + | *{{tl2|CatAZ}} or {{tl2|Category TOC|numerals{{=}}no}} |
{{CatAZ}} | {{CatAZ}} | ||
− | *{{tl2|CategoryTOC-Numeric}} or {{tl2| | + | *{{tl2|CategoryTOC-Numeric}} or {{tl2|Category TOC|numerals{{=}}separate|uppercase{{=}}no}} |
{{CategoryTOC-Numeric}} | {{CategoryTOC-Numeric}} | ||
− | *{{tl2|CategoryTOClc}} or {{tl2| | + | *{{tl2|CategoryTOClc}} or {{tl2|Category TOC|uppercase{{=}}no|lowercase{{=}}yes}} |
{{CategoryTOClc}} | {{CategoryTOClc}} | ||
− | *{{tl2|CategoryTOCnum}} or {{tl2| | + | *{{tl2|CategoryTOCnum}} or {{tl2|Category TOC|numerals{{=}}separate}} |
{{CategoryTOCnum}} | {{CategoryTOCnum}} | ||
Revision as of 02:31, 23 April 2011
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
{{Category TOC}}
{{CatAZ}}
or{{Category TOC|numeralsTemplate:=no}}
{{CategoryTOC-Numeric}}
or{{Category TOC|numeralsTemplate:=separate|uppercaseTemplate:=no}}
{{CategoryTOClc}}
or{{Category TOC|uppercaseTemplate:=no|lowercaseTemplate:=yes}}
{{CategoryTOCnum}}
or{{Category TOC|numeralsTemplate:=separate}}
See also
- Template:CategoryTOC (Non-Latin)
- Template:CategoryYearTOC
- Template:CollapsibleLargeCategoryTOC
- Template:Large category TOC
- Template:Large category TOC 2
- Template:Category TOC ATC