跳至內容

模板:Ordered list

Chók-cê̤ṳ Wikipedia
[káng] [gāi] [sṳ̄] [purge] Documentation icon 模板其說明文檔

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.

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
list_style_type or
list-style-type

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.

Positional parameters

entry1 entry2 ...

The contents of each list item, as unnamed or positional parameters. There is no restriction on content, except equal signs (=) must be escaped or replaced with {{=}}, lest it will be interpreted a named parameter.
itemn_value

value1 value2 ...

Ordinal or label for a specific list item; a positive integer.
start Ordinal or label for the first item in the list; a positive integer (default is 1).
itemn_style

CSS1 CSS2 ...

Cascading Style Sheet (CSS) styles that are set on a specific list item. (User must know CSS syntax.) For example, individual labels can be hidden by setting itemn_style=list-style-type:none;
item_style

CSS-all

CSS styles that are set on each list item. (User must know CSS syntax.) When present, any itemn_style are disregarded.

Acceptable list style type values and supported web browsers

[Gāi nguòng-mā]

模板:CSS list-style-type values

模板:Navbox top

Horizontal list
{{hlist}}
{{hlist |item1 |item2 |...}}
  • item1
  • item2
  • ...
Horizontal list
{{flatlist}}
{{flatlist|
* item1
* item2
* ...}}
  • item1
  • item2
  • ...
Horizontal list
{{cslist}}
{{cslist |item1 |item2 |...}}

模板:Cslist

{{bold list}}
{{bold list |item1 |item2 |...}}

模板:Bold list

Bulleted list
{{bulleted list}}
{{bulleted list |item1 |item2 |...}}
  • item1
  • item2
  • ...
Numeric ordered list
{{ordered list}}
{{Ordered list |first |second |...}}
  1. first
  2. second
  3. ...
Alphabetic ordered list
{{ordered list}}
{{Ordered list |list_style_type=lower-alpha |first |second |...}}
  1. first
  2. second
  3. ...
Unbulleted list
{{unbulleted list}}
{{unbulleted list |item1 |item2 |...}}
  • item1
  • item2
  • ...
Unbulleted list
{{plainlist}}
{{plainlist|
* item1
* item2
* ...}}
  • item1
  • item2
  • ...
Glossary or definition list
{{glossary}}
(glossary, description, definition, association)
{{glossary}}

{{term|first term}}{{defn|first description}}
模板:Tnull模板:Tnull
模板:Tnull模板:Tnull
{{glossary end}}

模板:Glossary 模板:Term模板:Defn 模板:Term模板:Defn 模板:Term模板:Defn 模板:Glossary end

Bulleted list to flow around an image
{{flowlist}}
[[File:Bad Title Example.png|left|thumb|100px]]

{{flowlist|
*item1
*item2
*...}}

  • item1
  • item2
  • ...
Ordered list in columns
{{columns-list}}
{{columns-list|colwidth=5em|
# first
# second
# third
# ...}}
  1. first
  2. second
  3. third
  4. ...

模板:Navbox bottom

References

[Gāi nguòng-mā]

Make an ordered list. The default is a numbered list, but you can change it to a list with roman numbers or letters of the English, Greek, Armenian or Georgian alphabets, instead of the decimal enumerator.

模板參數[編輯模板資料]

此模板以參數區塊格式為優先。

參數描述類型狀態
First item to list1

沒有描述

不明必填
Second item to list2

沒有描述

不明非必填
Third item to list3

沒有描述

不明非必填
Fourth item to list4

沒有描述

不明非必填
Fifth item to list5

沒有描述

不明非必填
Sixth item to list6

沒有描述

不明非必填
Seventh item to list7

沒有描述

不明非必填
Eighth item to list8

沒有描述

不明非必填
Ninth item to list9

沒有描述

不明非必填
Tenth item to list10

沒有描述

不明非必填
Type of listlist_style_type

沒有描述

建議值
none disc circle square decimal decimal-leading-zero lower-roman upper-roman lower-alpha upper-alpha lower-greek armenian georgian hebrew cjk-ideographic hiragana katakana hiragana-iroha katakana-iroha
預設
decimal
不明非必填
Starting valuestart

沒有描述

不明非必填
CSS styleitem_style

沒有描述

不明非必填