Difference between revisions of "Template:Category TOC"

From /fa/ Sticky
Jump to: navigation, search
(Created page with "{{category TOC |lang = <language code> (see below, default: en) |numerals = group / separate / days / no (default: group) |uppercase = yes / no (default: yes) |lowercase = yes...")
 
Line 1: Line 1:
{{category TOC
+
<pre>{{category TOC
 
|lang = <language code> (see below, default: en)
 
|lang = <language code> (see below, default: en)
 
|numerals = group / separate / days / no (default: group)
 
|numerals = group / separate / days / no (default: group)
Line 5: Line 5:
 
|lowercase = yes / no (default: no)
 
|lowercase = yes / no (default: no)
 
|letters = yes / no (default: yes)
 
|letters = yes / no (default: yes)
}}
+
}}</pre>
 +
 
 +
===Parameters===
 +
*<code>lang</code> - language code of the alphabet to use
 +
*<code>numerals</code> - 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
 +
*<code>uppercase</code> - specifies whether there is a link for each uppercase letter from A to Z.
 +
*<code>lowercase</code> - specifies whether there is a link for each lowercase letter from a to z.
 +
*<code>letters</code> - use no to hide letters.

Revision as of 02:45, 7 June 2013

{{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 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.