Revision as of 20:50, 15 January 2015 editSardanaphalus (talk | contribs)119,752 edits Template redirects, tc, Parameters formatting and HTML comparison, aside, NOTOC, moved Lua template to See also← Previous edit | Revision as of 20:52, 15 January 2015 edit undoSardanaphalus (talk | contribs)119,752 edits template positionNext edit → | ||
Line 1: | Line 1: | ||
{{Documentation subpage}} __NOTOC__ | {{Documentation subpage}} __NOTOC__ | ||
⚫ | <!-- Categories at the bottom of this page, please; interwikis at Wikidata --> | ||
{{Template redirects |clear=right |blist |bulleted |ulist |unordered list}} | {{Template redirects |clear=right |blist |bulleted |ulist |unordered list}} | ||
⚫ | {{Lua|Module:List}} | ||
⚫ | <!-- Categories at the bottom of this page, please; interwikis at Wikidata --> | ||
This template may be used to generate a ] in similar vein to ]'s ]. A typical application is within captions, where the equivalent ]{{aside|asterisks at the starts of new lines}} may be awkward or impossible to use. | This template may be used to generate a ] in similar vein to ]'s ]. A typical application is within captions, where the equivalent ]{{aside|asterisks at the starts of new lines}} may be awkward or impossible to use. | ||
Line 48: | Line 49: | ||
== See also == | == See also == | ||
⚫ | {{Lua|Module:List}} | ||
* {{tl|unbulleted list}}{{\}}{{tl|plainlist}}, templates producing vertical lists without prefixes (i.e without bullets, other shapes, numbering, etc). | * {{tl|unbulleted list}}{{\}}{{tl|plainlist}}, templates producing vertical lists without prefixes (i.e without bullets, other shapes, numbering, etc). | ||
* {{tl|ordered list}}, a template producing a vertical list whose items are prefixed by incremental numbers or letters. | * {{tl|ordered list}}, a template producing a vertical list whose items are prefixed by incremental numbers or letters. |
Revision as of 20:52, 15 January 2015
This is a documentation subpage for Template:Bulleted list. It may contain usage information, categories and other content that is not part of the original template page. |
- {{blist}}
- {{bulleted}}
- {{ulist}}
- {{unordered list}}
This template uses Lua: |
This template may be used to generate a bulleted list in similar vein to HTML's ]. A typical application is within captions, where the equivalent wiki markup<aside>asterisks at the starts of new lines</aside> may be awkward or impossible to use.
Usage
{{Bulleted list |item1 |item2 |...}}
Parameters
Name | Description |
class / style | CSS classes and/or styles to apply to the Template:Faketag tags that surround the list. |
list_style | CSS styles to apply to the list itself, i.e. as if for a Template:Faketag tag. |
item_style | CSS styles to apply to each and every item in the list, i.e. as if for each Template:Faketag tag. |
item1_style item2_style ...... itemN_style | CSS styles to apply to the list's first / second / ...... / Nth item. |
first unnamed second unnamed ....... Nth unnamed | The list items. If none are supplied, nothing will be output. |
Comparison HTML Template:Start pre Template:Faketag
Template:Faketag Template:Faketag {{{1}}} </li> Template:Faketag {{{2}}} </li> ...... Template:Faketag {{{N}}} </li> ...... </ul>
</div> Template:End pre
Example
]
See also
- {{unbulleted list}} / {{plainlist}}, templates producing vertical lists without prefixes (i.e without bullets, other shapes, numbering, etc).
- {{ordered list}}, a template producing a vertical list whose items are prefixed by incremental numbers or letters.
- {{hlist}} / {{flatlist}}, templates producing horizontal lists (strings of items separated by interpuncts).