Template:Multi-column numbered list/doc

< Template:Multi-column numbered list
Revision as of 17:45, 2 August 2019 by 66.167.126.10 (talk) (wrong markup (the noinclude part is in the template page; the category has to be incluideonly'd into the template to categorize it not its doc page))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Numbered lists, if spread over multiple columns, will restart the numbering from one in each column. There is no way to specify a starting value in wikisyntax, so HTML has to be used. This template automates the process so one doesn't have to write the HTML by hand.

Syntax

{{Multi-column numbered list|start 1|<li> item 1a</li> ...|start 2|<li> item 1b</li> ...}}

Example

{{Multi-column numbered list|1|{{#tag:li|a}}{{#tag:li|b}}{{#tag:li|c}}|5|{{#tag:li|x}}{{#tag:li|y}}{{#tag:li|z}}}}

    1. a
    2. b
    3. c
    1. x
    2. y
    3. z

See also