Template:CategoryTOC
From MUSICAL HERITAGE ORGANIZATION
Revision as of 01:29, 4 May 2012 by Fuchur (talk | contribs) (Protected "Template:CategoryTOC" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
Usage
This template adds a table of contents (TOC) to a category page. It is generally not used for categories containing less than 500 total pages. The parameters are optional.
{{category TOC |lang = <language code> (see below, default: en) |numerals = group / separate / days / no (default: group) |uppercase = yes / no (default: yes) |lowercase = yes / no (default: no) |letters = yes / no (default: yes) }}
Parameters
lang
- language code of the alphabet to usenumerals
- specifies whether numerals are included:- group: there is one link for all numerals 0-9
- separate: each numeral from 0 to 9 has a separate link
- days: day of month from 1 to 31
- no: no link
uppercase
- specifies whether there is a link for each uppercase letter from A to Z.lowercase
- specifies whether there is a link for each lowercase letter from a to z.letters
- use no to hide letters.
Other languages
The lang parameter can take any of the language codes currently available:Localisation
The only translatable parts in this template are two MediaWiki pages: MediaWiki:Toc & MediaWiki:Top.fr:Modèle:Boîte des catégories