Revision as of 16:15, 7 January 2014 editNullzero (talk | contribs)Extended confirmed users567 editsNo edit summary← Previous edit | Revision as of 16:15, 12 June 2014 edit undoMr. Stradivarius (talk | contribs)Edit filter managers, Administrators59,190 edits switch parameters from item_stylen to itemn_styleNext edit → | ||
Line 15: | Line 15: | ||
* <code>list_style</code> - a custom css style for the list itself. The format is the same as for the {{para|style}} parameter. | * <code>list_style</code> - a custom css style for the list itself. The format is the same as for the {{para|style}} parameter. | ||
* <code>item_style</code> - a custom css style for all of the list items (the {{tag|li}} tags). The format is the same as for the {{para|style}} parameter. | * <code>item_style</code> - a custom css style for all of the list items (the {{tag|li}} tags). The format is the same as for the {{para|style}} parameter. | ||
* <code> |
* <code>item1_style</code>, <code>item2_style</code>, <code>item3_style</code>... - custom css styles for each of the list items. The format is the same as for the {{para|style}} parameter. | ||
== Example == | == Example == |
Revision as of 16:15, 12 June 2014
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. |
This template uses Lua: |
This template may be used to generate unordered <ul>...</ul>
lists. The typical application is within image captions which do not support the * wiki markup.
Usage
{{unordered list|item1|item2|...}}
Parameters
- Positional parameters (
1
,2
,3
...) - these are the list items. If no list items are present, the module will output nothing. class
- a custom class for the<div>...</div>
tags surrounding the list, e.g.plainlinks
.style
- a custom css style for the<div>...</div>
tags surrounding the list, e.g.font-size: 90%;
.list_style
- a custom css style for the list itself. The format is the same as for the|style=
parameter.item_style
- a custom css style for all of the list items (the<li>...</li>
tags). The format is the same as for the|style=
parameter.item1_style
,item2_style
,item3_style
... - custom css styles for each of the list items. The format is the same as for the|style=
parameter.
Example
]
See also
- {{ordered list}}
- {{flatlist}} and {{hlist}}
- {{plainlist}} and {{unbulleted list}}