Difference between revisions of "Template:Linum/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m
imported>Sardanaphalus
m (category update)
Line 17: Line 17:
 
<includeonly>
 
<includeonly>
 
<!-- Categories go here -->
 
<!-- Categories go here -->
[[Category:Copy-pasteable lists templates]]
+
[[Category:Copy-pasteable list templates]]
 
</includeonly>
 
</includeonly>

Revision as of 11:21, 27 August 2014

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

Template:Olist/see-also