ഫലകം:Ordered list/doc

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.

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|entry1 |entry2 ... |item1_style=CSS1 |item2_style=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 |item1_style=CSS1 |entry2 |item2_style=CSS2 ... }}
With custom values for each item
{{Ordered list |item1_value=value1 |entry1 |item2_value=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 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]
none
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
disc
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
circle
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
square
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
decimal
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
decimal-leading-zero
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
lower-roman
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
upper-roman
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
lower-alpha
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
upper-alpha
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
lower-greek
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
armenian
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
georgian
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ
CSS2 list-style-type values deprecated in CSS 2.1[2]

...but still supported by some browsers.

hebrew
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അല്ല അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അല്ല അല്ല അല്ല
cjk-ideographic
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അല്ല അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അല്ല അല്ല അല്ല
hiragana
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അല്ല അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അല്ല അല്ല അല്ല
katakana
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അല്ല അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അല്ല അല്ല അല്ല
hiragana-iroha
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അല്ല അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അല്ല അല്ല അല്ല
katakana-iroha
  1. text
  2. text
  3. text
  4. text
Internet Explorer Firefox Safari Chrome Opera
6 7 8 9 10 3 4 5 4 5 9 10 11 12 10 11 12
അല്ല അല്ല അല്ല അല്ല അല്ല അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അതെ അല്ല അല്ല അല്ല

See also[തിരുത്തുക]

References[തിരുത്തുക]

  1. "Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification". W3C. December 7, 2010.
  2. "Cascading Style Sheets, level 2 CSS2 Specification". W3C. April 11, 2008.


"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Ordered_list/doc&oldid=2244419" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്