PathfinderWiki
Log in

Template:Multi-column numbered list/doc

From PathfinderWiki

{{Multi-column numbered list}} provides a way to make ordered lists with up to three columns and arbitrary starting values. It is ported from Wikimedia.

Information icon.svg

{{Columnar list ordered}} is a newer, similar, and somewhat simpler template that automatically manages column counts and doesn't require manual column separation. If you don't need to manually separate columns, that template provides a better experience for visitors.

Usage

{{Multi-column numbered list
| lst=(optional style) | (starting value) 
| list items<li>delineated by<li>HTML li tags | (number of items in the first column)
| <li>more list<li>items                      | (number of items in the second column)
| <li>even more list<li>items
}}

Using {{Multi-column numbered list}}, the computation of the starting values can be automated, and only the first starting value and the number of items in each column except the last has to be specified. Adding an item to, or removing an item from, a column requires adjusting only the number of items in that column, instead of changing the starting numbers for all subsequent columns.

{{Multi-column numbered list|125|a<li>bb<li>ccc|3|<li>ddd<li>ee<li>f}}

results in

    1. a
    2. bb
    3. ccc
    1. ddd
    2. ee
    3. f

You can optionally style lists to use other types of ordered symbols, or to create the appearance of an unordered list, by adding a lst= parameter.

{{Multi-column numbered list|lst=lower-alpha|125|a<li>bb<li>ccc|3|<li>ddd<li>ee|2|<li>f}}

results in

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

results in

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

results in

    1. a
    2. bb
    3. ccc
    1. ddd
    2. ee
    1. f

Examples

{{Multi-column numbered list | 1 
| [[Ahkhat]]<li>[[Beetle, Mining (2)]]<li>[[Gaunt Cadaver]]<li>[[Guardian Scroll]]            | 4 
| <li>[[Khenpathes]]<li>[[Neferekhu]]<li>[[Qasin]]<li>[[Scarab Swarm (4)]]                    | 4
| <li>[[Solifugid, Giant (2)]]<li>[[Tekenu]]<li>[[Ubashki Swarm (4)]]<li>[[Warrior Doll (3)]]
}}

results in

{{Multi-column numbered list | 13
| [[Ahkhat]]<li>[[Beetle, Mining (2)]]<li>[[Gaunt Cadaver]]<li>[[Guardian Scroll]]            | 4 
| <li>[[Khenpathes]]<li>[[Neferekhu]]<li>[[Qasin]]<li>[[Scarab Swarm (4)]]                    | 4
| <li>[[Solifugid, Giant (2)]]<li>[[Tekenu]]<li>[[Ubashki Swarm (4)]]<li>[[Warrior Doll (3)]]
}}

results in