Bahaimedia
Bahaimedia
Menu
About
Help
Random Image
Recent changes
In other projects
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Template
Discussion
View history
Talk
Contributions
Create account
Log in
Navigation
About
Help
Random Image
Recent changes
In other projects
Get involved
Join the project
Media statistics
Latest Files
Upload Files
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information

Template:CategoryTOC

Jump to:navigation, search
 Contents: Top · 0–9  · A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 



Contents

  • 1 Usage
    • 1.1 Parameters
    • 1.2 Other languages
  • 2 Localisation

Usage[edit]

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[edit]

  • lang - language code of the alphabet to use
  • numerals - 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[edit]

The lang parameter can take any of the language codes currently available:

  • CategoryTOC-en

Localisation[edit]

The only translatable parts in this template are two MediaWiki pages: MediaWiki:Toc & MediaWiki:Top.

Retrieved from "https://bahai.media/index.php?title=Template:CategoryTOC&oldid=19291"
Categories:
  • Category TOC templates
  • Internationalised category header templates
This page was last edited on 12 August 2017, at 21:29.
Content is available under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License unless otherwise noted.
Privacy policy
About Bahaimedia
Disclaimers
Powered by MediaWiki