Difference between revisions of "Template:Linum/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(fnord)
imported>SMcCandlish
(→‎Redirects: readability)
Line 10: Line 10:
  
 
==Redirects==
 
==Redirects==
*{{tl|li number}}
+
*{{tlx|li number}}
*{{tl|lix}}
+
*{{tlx|lix}}
  
 
==Tech note==
 
==Tech note==

Revision as of 09:48, 17 October 2011

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:

Template:Olist

  • 1.  {{{2}}}
  • 2.  {{{2}}} Template:!olist

    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

    Template:Olist/see-also