Forskjell mellom versjoner av «Mal:CategoryTOC»
Fra Språkrådets termwiki
(fix centering issue) |
m (Importerte én revisjon: Legger til sett med maler fra Mediawiki.org for å få CategoryTOC) |
(Ingen forskjell)
|
Revisjonen fra 3. jun. 2013 kl. 02:06
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 | align = left / center / right }}
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.
- align - placement of links. Default is center.
Language: | English |
---|
The above documentation is transcluded from Mal:CategoryTOC/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |