Editing Template:Category TOC/doc
From MINR.ORG WIKI
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{Documentation subpage | + | {{Documentation subpage}} |
− | <!-- | + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
− | |||
− | == Usage == | + | === Usage === |
− | This template adds a | + | 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. |
− | <pre | + | <pre>{{CategoryTOC |
− | {{ | + | | top = yes / no |
− | + | | numerals = separate / group / no | |
− | | top = | + | | uppercase = yes / no |
− | | numerals = | + | | lowercase = yes / no |
− | | uppercase = | ||
− | | lowercase = | ||
}}</pre> | }}</pre> | ||
===Parameters=== | ===Parameters=== | ||
− | + | *''top'' - specifies whether a link to the top of the category is included. Default is '''yes'''. | |
− | *''top'' | + | *''numerals'' - specifies whether numerals are included: |
− | *''numerals'' | ||
− | |||
**'''separate''': each numeral 0,1,...,9 has a separate link. | **'''separate''': each numeral 0,1,...,9 has a separate link. | ||
+ | **'''group''' (default): there is one link for 0-9. | ||
**'''no''': no link. | **'''no''': no link. | ||
− | *''uppercase'' | + | *''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=== |
− | *{{tl2| | + | *{{tl2|CategoryTOC}} |
− | {{ | + | {{CategoryTOC}} |
− | *{{tl2| | + | *{{tl2|CatAZ}} or {{tl2|CategoryTOC|numerals{{=}}no}} |
− | + | {{CatAZ}} | |
− | + | *{{tl2|CategoryTOC-Numeric}} or {{tl2|CategoryTOC|numerals{{=}}separate|uppercase{{=}}no}} | |
− | {{ | + | {{CategoryTOC-Numeric}} |
− | *{{tl2| | + | *{{tl2|CategoryTOClc}} or {{tl2|CategoryTOC|uppercase{{=}}no|lowercase{{=}}yes}} |
− | {{ | + | {{CategoryTOClc}} |
− | *{{tl2| | + | *{{tl2|CategoryTOCnum}} or {{tl2|CategoryTOC|numerals{{=}}separate}} |
− | + | {{CategoryTOCnum}} | |
− | |||
− | {{ | ||
− | *{{tl2| | ||
− | |||
− | |||
− | {{ | ||
− | ==See also== | + | === See also === |
− | * [[:Template: | + | * [[:Template:CategoryTOC (Non-Latin)]] |
− | * [[:Template: | + | * [[:Template:CategoryYearTOC]] |
− | * [[:Template: | + | * [[:Template:CollapsibleLargeCategoryTOC]] |
* [[:Template:Large category TOC]] | * [[:Template:Large category TOC]] | ||
* [[:Template:Large category TOC 2]] | * [[:Template:Large category TOC 2]] | ||
− | * [[:Template: | + | * [[:Template:Category TOC ATC]] |
− | + | ||
+ | <includeonly> | ||
+ | <!--Categories--> | ||
+ | [[Category:Wikipedia table of contents templates|{{PAGENAME}}]] | ||
+ | [[Category:Category namespace templates|{{PAGENAME}}]] | ||
− | + | <!--Other languages--> | |
− | <!-- | + | [[af:Template:CategoryTOC]] |
− | [[Category: | + | [[ar:قالب:فهرس تصنيف]] |
− | [[ | + | [[ast:Template:CategoryTOC]] |
− | + | [[ca:Template:CategoryTOC]] | |
+ | [[cy:Template:CategoryTOC]] | ||
+ | [[de:Vorlage:TOC Kategorie]] | ||
+ | [[el:Πρότυπο:CategoryTOC]] | ||
+ | [[eo:Ŝablono:TOCcat]] | ||
+ | [[es:Plantilla:TOC categoría]] | ||
+ | [[et:Template:CategoryTOC]] | ||
+ | [[fa:الگو:فهرست رده]] | ||
+ | [[fi:Template:CategoryTOC]] | ||
+ | [[fr:Template:Sommaire compact catégorie]] | ||
+ | [[fy:Template:CategoryTOC]] | ||
+ | [[hi:Template:CategoryTOC]] | ||
+ | [[hr:Template:CategoryTOC]] | ||
+ | [[hu:Sablon:CatAZ]] | ||
+ | [[id:Template:CategoryTOC]] | ||
+ | [[io:Template:CategoryTOC]] | ||
+ | [[is:Template:CategoryTOC]] | ||
+ | [[ja:Template:CategoryTOC]] | ||
+ | [[ko:틀:분류 목차]] | ||
+ | [[ku:Template:CategoryTOC]] | ||
+ | [[la:Template:CategoryTOC]] | ||
+ | [[lb:Template:CategoryTOC]] | ||
+ | [[lt:Template:CategoryTOC]] | ||
+ | [[lv:Template:CategoryTOC]] | ||
+ | [[mk:Шаблон:Категориски азбучник]] | ||
+ | [[nn:Template:CategoryTOC]] | ||
+ | [[no:Mal:KategoriTOC]] | ||
+ | [[oc:Template:CategoryTOC]] | ||
+ | [[pl:Szablon:Spis treści kategoria]] | ||
+ | [[pt:Predefinição:Índice cat]] | ||
+ | [[pt:Predefinição:CategoriaTOC]] | ||
+ | [[ro:Format:TOCcat]] | ||
+ | [[ru:Template:CategoryTOC]] | ||
+ | [[simple:Template:CategoryTOC]] | ||
+ | [[sk:Template:CategoryTOC]] | ||
+ | [[sl:Template:CategoryTOC]] | ||
+ | [[sq:Stampa:CategoryTOC1]] | ||
+ | [[su:Template:CategoryTOC]] | ||
+ | [[sv:Mall:KategoriTOC]] | ||
+ | [[tr:Template:CategoryTOC]] | ||
+ | [[tt:Template:CategoryTOC]] | ||
+ | [[uk:Шаблон:CategoryTOC]] | ||
+ | [[ur:سانچہ:Category TOC]] | ||
+ | [[vi:Tiêu bản:Mục lục thể loại]] | ||
+ | [[wa:Template:CategoryTOC]] | ||
+ | </includeonly> |