Template:CategoryTOC
From PUBLIC DOMAIN PROJECT
Revision as of 01:29, 4 May 2012 by Fuchur (talk | contribs) (Created page with "{| id="toc" class="toc plainlinks noprint" summary="Contents" align="center" | style="padding-right:.75em" | '''{{int:toc}}:''' | valign="top" | [{{fullurl:{{FULLPAGENAME}}}} {{i...")
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.