Difference between revisions of "Template:Libull"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(link fix)
imported>Jonesey95
(Fix Linter errors)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<li class="cplist-uli" style="list-style:{{{type|none}}};">{{lidot
+
<li class="cplist-uli" style="list-style-image: none; list-style-type: none;"><!-- These two things are suppressed for a reason.-->{{lidot
|color={{{color|inherit}}}
+
|color={{{color|rgb(0,82,140)}}}
}}<span class="cplist-li-text">{{{1}}}</span></li><noinclude>
+
}}<span class="cplist-li-text">{{{1}}}</span><noinclude>
 +
 
 
{{Documentation}}
 
{{Documentation}}
 
==Usage==
 
This template, {{tlx|libull}} (for "list item, bulleted") is part of the '''system of templates for copy-pasteable lists'''.  It is used inside {{tlx|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, {{tlx|libull-}} and {{tlx|!libull}}.
 
 
Example:
 
{{ulist}}
 
{{libull|1=An unordered list item}}
 
{{libull|1=Another unordered list item}}
 
{{!ulist}}
 
 
==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.
 
 
==Redirects==
 
*{{tl|li bullet}}
 
*{{tl|li*}}
 
 
==See also==
 
{{olist/see-also}}
 
[[Category:Copy-pasteable lists templates]]
 
 
 
<!--Categories and interwikis go on the /doc page.-->
 
<!--Categories and interwikis go on the /doc page.-->
 
</noinclude>
 
</noinclude>

Latest revision as of 02:31, 12 December 2018

  •   {{{1}}}
    Template documentation[view] [edit] [history] [purge]

    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

    Template:Olist/see-also