Difference between revisions of "Template:Libull"
imported>SMcCandlish (tweaks) |
imported>SMcCandlish (link fix) |
||
| Line 14: | Line 14: | ||
==Tech note== | ==Tech note== | ||
| − | This template uses <code>list-style</code> instead of the more specific <code>list-style-type</code> because of [[bug | + | 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. |
==Redirects== | ==Redirects== | ||
Revision as of 08:03, 17 October 2011
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!) text bullet generated by the {{lidot}} meta-template.
See also
| The above documentation is transcluded from Template:Libull/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Usage
This template, {{libull}} (for "list item, bulleted") is part of the system of templates for copy-pasteable lists. It is used inside {{ulist}} to provide a bullet, automatically spaced for you, in front of an item in an unordered list. For complex content, it has a two-part start and end tag version, {{libull-}} and {{!libull}}.
Example: Template:Ulist
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.
Redirects
See also