Difference between revisions of "Template:Libull/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (category update)
imported>SMcCandlish
(→‎Tech note: update)
Line 13: Line 13:
  
 
==Tech note==
 
==Tech note==
This template uses <code>list-style</code> instead of the more specific <code>list-style-type</code> because of [[bugzilla:31746|MediaWiki bug 31746]]. What that's fixed, the template should be, too.
+
This template uses <code>list-style-image: none</code> to suppress MedaWiki's auto-generated blue bullet image, and <code>list-style-type: none</code> to prevent the auto-generation of the default HTML bullet, which is not copy-pasteable either, then replaces them with a copy-pasteable (and scaleable!) <code>list-style-type</code> generated by the {{tl|lidot}} meta-template.
  
 
==See also==
 
==See also==

Revision as of 22:40, 5 September 2016

Usage

This template, {{libull}} (for "list item, bulleted") is part of the system of templates for copy-pasteable lists. It may be used inside {{unbulleted list}} to provide a bullet, automatically spaced for you, in front of an item in an unordered list.

Example:

  •   An unordered list item
  •   Another unordered list item

Tech note

This template uses list-style-image: none to suppress MedaWiki's auto-generated blue bullet image, and list-style-type: none to prevent the auto-generation of the default HTML bullet, which is not copy-pasteable either, then replaces them with a copy-pasteable (and scaleable!) list-style-type generated by the {{lidot}} meta-template.

See also

Template:Olist/see-also