Шаблон:Ordered list/doc
Этот шаблон содержит незавершённый перевод с английского языка. |
UsageПравить
Шаблон создаёт нумерованные списки, по умолчанию оформленные как стандартные, но в которых можно задавать вместо арабских цифр римские или же нумерацию буквами.
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 ... }}
Parameter | Description |
---|---|
type | This parameter indicates the list style type. Popular acceptable parameters include:
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. |
See alsoПравить
- {{Unbulleted list}}
ReferencesПравить