Template:ListFormat
From Archaelund Wiki
Description
This template generates various output formats from semicolon-separated lists (i.e. "item1; item2; item3; ...").
Usage
{{ListFormat|<semicolon-separated list>|<format>}}
Make sure that there are no leading or trailing semicolons in the input list, since this may cause empty entries in the output list of some formats.
Format options
| Format | Description | Example output |
|---|---|---|
| Bullets | Places all items in a single line, separated by bullets. | item1 • item2 • item3 |
| Diamonds | Places all items in a single line, separated by diamonds. | item1 ♦ item2 ♦ item3 |
| Arrows | Places all items in a single line, separated by right arrows. | item1 → item2 → item3 |
| Blanks | Places all items in a single line, separated by blank spaces. | item1 item2 item3 |
| UList | Generates an unordered (bulleted) list. |
|
| UList0 | Generates an unordered (bulleted) list with zero margin above and below. Prevents alignment issues in multi-column lists. |
|
| OList | Generates an ordered (numbered) list. |
|
View/Edit documentation page