Difference between revisions of "Template:Linum/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(→‎Usage: update)
imported>Frietjes
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|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, {{tlx|linum-}} and {{tlx|!linum}}.
+
This template, {{tlx|linum}} (for "list item, numbered") is part of the '''system of templates for copy-pasteable lists'''.  It is used inside {{tlx|olist}} to provide a number, automatically spaced for you, in front of an item in an ordered list.
  
 
Example:
 
Example:
Line 8: Line 8:
 
   {{linum|2|2=The second ordered list item}}
 
   {{linum|2|2=The second ordered list item}}
 
}}
 
}}
 
==Redirects==
 
*{{tlx|li number}}
 
*{{tlx|lix}}
 
  
 
==Tech note==
 
==Tech note==
Line 18: Line 14:
 
==See also==
 
==See also==
 
{{olist/see-also}}
 
{{olist/see-also}}
 +
 +
<includeonly>
 +
<!-- Categories go here -->
 
[[Category:Copy-pasteable lists templates]]
 
[[Category:Copy-pasteable lists templates]]
 
+
</includeonly>
<!--Categories and interwikis go on the /doc page.-->
 

Revision as of 16:08, 13 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 {{olist}} to provide a number, automatically spaced for you, in front of an item in an ordered list.

Example:

Template:Olist

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