Latest revision as of 06:48, 27 March 2014
Usage
This template creates an ordered list, which is similar to a numbered list but may display other characters, such as roman numbers or alphabet letters, instead of the decimal enumerator.
Syntax
- Simple
{{Ordered list |entry1 |entry2 ... }}
- Offset starting value
{{Ordered list |start=start number|entry1 |entry2 ... |item_style1=CSS1 |item_style2=CSS2 ... }}
- Changing the symbol style
{{Ordered list |list_style_type=type |entry1 |entry2 ... }}
- With CSS style
{{Ordered list |item_style=CSS-all |entry1 |entry2 ... }}
- With separate CSS styles for each item
{{Ordered list |entry1 |item_style1=CSS1 |entry2 |item_style2=CSS2 ... }}
- With custom values for each item
{{Ordered list |item_value1=value1 |entry1 |item_value2=value2 |entry2 ... }}
Parameters' description
Parameter |
Description
|
type
|
This parameter indicates the list style type. Popular acceptable parameters include:
- decimal (1, 2, 3, 4, ...)
- lower-roman (i, ii, iii, iv, ...)
- upper-roman (I, II, III, IV, ...)
- lower-alpha (a, b, c, d, ...)
- upper-alpha (A, B, C, D, ...)
For a full list, see the following section.
|
start number
|
The number for the first item, formatted as a positive integer (default is 1)
|
entry1 entry2 ...
|
These unnamed parameters are individual list items that appear as separate lines. They can be words or full sentences. However, all instance of equal sign (=) must be replaced with "{{=}}"; otherwise, the affected line will not appear.
|
value1 value2 ...
|
Value for list items, formatted as a positive integer
|
CSS1 CSS2 ...
|
Standard Cascading Style Sheet (CSS) styles that change the look of each line. (User must know CSS syntax.)
|
CSS-all
|
Standard CSS styles that change the look of all entries. (User must know CSS syntax.) When present, CSS1 through CSS5 are disregarded.
|
Acceptable list style type values and supported web browsers
CSS list-style-type values
- CSS 2.1
list-style-type
values[1]
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
decimal-leading-zero
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
lower-roman
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
upper-roman
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
lower-alpha
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
upper-alpha
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
lower-greek
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
armenian
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
georgian
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
- CSS2
list-style-type
values dropped in CSS 2.1 but still supported by some browsers[2]
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
No
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
No
|
No
|
No
|
cjk-ideographic
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
No
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
No
|
No
|
No
|
hiragana
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
No
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
No
|
No
|
No
|
katakana
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
No
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
No
|
No
|
No
|
hiragana-iroha
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
No
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
No
|
No
|
No
|
katakana-iroha
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
No
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
No
|
No
|
No
|
- CSS3
list-style-type
values (incomplete)[3]
CSS3 adds hundreds of new values, most not yet supported by major browsers.
upper-greek
|
- text
- text
- text
- text
|
Internet Explorer
|
Firefox
|
Safari
|
Chrome
|
Opera
|
6
|
7
|
8
|
9
|
10
|
3
|
4
|
5
|
4
|
5
|
9
|
10
|
11
|
12
|
10
|
11
|
12
|
No
|
No
|
Yes
|
Yes
|
Yes
|
No
|
No
|
No
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
Yes
|
No
|
No
|
No
|
See also
References