Template:Plainlist: Difference between revisions
Appearance
Created page with "<templatestyles src="Plainlist/styles.css"/><div class="plainlist {{{class|}}}" {{safesubst<noinclude />:#if:{{{style|}}}{{{indent|}}}|style="{{safesubst<noinclude />:#if:{{{indent|}}}|margin-left: {{safesubst<noinclude />:#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{safesubst<noinclude />:#if:{{{1|}}}| {{{1}}} </div>}}<noinclude></div> [https://en.wikipedia.org/w/index.php?title=Template:Plainlist Source] <templatedata> { "params": { "1": { "label": "List conte..." Â |
(No difference)
|
Latest revision as of 13:24, 13 May 2025
This template provides a WCAG/ISO standards–compliant accessible alternative to <br />-separated lists.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| List content | 1 | If supplied, the list, as a normal bulleted list. (Every line should start with an asterisk. No blank lines between lines.) See template page for how this works otherwise. | Content | suggested |
| CSS classes | class | Adds a CSS class to the containing div. | String | optional |
| Custom CSS | style | Adds CSS style options. Complex styles should not be used in articles. | String | optional |
| Indent level | indent | Indents the list by a number of standard indents (one indent being 1.6 em), particularly handy for inclusion in an indented discussion thread. | Number | optional |