Difference between revisions of "Template:Linum/doc"
Jump to navigation
Jump to search
1. {{{2}}}
The second ordered list item. 2
Template:!olist
imported>SMcCandlish (test) |
imported>SMcCandlish (TEST) |
||
| Line 5: | Line 5: | ||
{{olist}} | {{olist}} | ||
| − | {{linum|1=The first ordered list item| | + | {{linum|1=The first ordered list item|1}} |
| − | {{linum| | + | {{linum|The second ordered list item|2}} |
{{!olist}} | {{!olist}} | ||
Revision as of 11:13, 17 October 2011
Contents
Usage
This template, {{linum}} (for "list item, numbered") is part of the system of templates for copy-pasteable lists. It is used inside {{olist}} to provide a number, automatically spaced for you, in front of an item in an ordered list. For complex content, it has a two-part start and end tag version, {{linum-}} and {{!linum}}.
Example:
Redirects
Tech note
This template uses list-style instead of the more specific list-style-type because of MediaWiki bug 31746. What that's fixed, the template should be, too.
See also