Predloga:Multi-column numbered list

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
    1. {{{2}}}
      {{{4}}}
Documentation icon Dokumentacija predloge

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.

Usage

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

Primeri

{{multi-column numbered list|125|a<li>bb<li>ccc|3|<li>ddd<li>ee<li>f}}
    1. a
    2. bb
    3. ccc
    1. ddd
    2. ee
    3. f
{{multi-column numbered list|lst=lower-roman|125|a<li>bb<li>ccc|3|<li>ddd<li>ee|2|<li>f}}
    1. a
    2. bb
    3. ccc
    1. ddd
    2. ee
    1. f
{{multi-column numbered list|lst=disc|125|a<li>bb<li>ccc|3|<li>ddd<li>ee|2|<li>f}}
    1. a
    2. bb
    3. ccc
    1. ddd
    2. ee
    1. f