Template:Linum/doc

Usage
This template, (for "list item, numbered") is part of the system of templates for copy-pasteable lists. It is used inside to provide a number, automatically spaced for you, in front of an item in an ordered list. It can be used to layout complicated outlines, e.g. "I) ... A) ... 1) ... i) ..." and other formats.

Parameters

 * 1 or first unnumbered parameter – the number, letter or other designation of the line item (e.g.,  ,  ,  , etc.). This can have wikimarkup (e.g. style, even a link) applied to it.
 * 2 or text or content or second unnumbered - text of the item (can contain wikilinks and other markup like normal).
 * punct – the punctuation after the number or other designation (e.g.,  ,  ; defaults to   like our default list  -formatted wikicode list style's output). No trailing space is needed; the template will provide that.
 * color – a  color code or Web color name for the text (not background) color of the designation supplied in 1, for unusual cases in which this is needed.  This should not normally be used in mainspace.

Examples

 * Basic copy-pasteable list::

1. The first ordered list item

2. The second ordered list item

Compare bare wikimarkup, with non-copy-pasteable numbers:


 * 1) The first ordered list item
 * 2) The second ordered list item

The style of this can be matched more closely with a parameter on the wrapper template:

1. The first ordered list item

2. The second ordered list item


 * Outline style::

A. The first ordered list item

B. The second ordered list item 1. A nested sub-item

This kind of usage should be in some (alphabetical, chronological, etc.); otherwise use an unordered list.
 * As a compact alternative to description lists::

Plural 'you' constructions: English. you all (informal), y'all (colloquial), yous (colloq.), yins (colloq.), ye (obsolete)

French. vous

Mandarin. nǐmen 你们

Spanish. tus (informal), ustedes (formal)

Tech note
This template uses  and   to suppress the automated number generation of ordered lists, then replaces them with a copy-pasteable (and scalable!) value provided by the editor (it is passed to and generated by the lino meta-template).