Difference between revisions of "Template:Linum/doc"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes m |
||
| Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
| − | This template, {{tlx|linum}} (for "list item, numbered") is part of the '''system of templates for copy-pasteable lists'''. It is used inside {{tlx| | + | This template, {{tlx|linum}} (for "list item, numbered") is part of the '''system of templates for copy-pasteable lists'''. It is used inside {{tlx|unbulleted list}} to provide a number, automatically spaced for you, in front of an item in an ordered list. |
Example: | Example: | ||
| − | {{ | + | {{unbulleted list|style=margin-left:0.5em |
| − | + | | {{linum|1|2=The first ordered list item}} | |
| − | + | | {{linum|2|2=The second ordered list item}} | |
}} | }} | ||
Revision as of 16:07, 14 November 2013
Usage
This template, {{linum}} (for "list item, numbered") is part of the system of templates for copy-pasteable lists. It is used inside {{unbulleted list}} to provide a number, automatically spaced for you, in front of an item in an ordered list.
Example:
- 1. The first ordered list item
- 2. The second ordered list item
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