Difference between revisions of "Template:Plainlist"
Jump to navigation
Jump to search
(actually correct, needed when |1= not present ({{Endplainlist}})) |
m (1 revision imported: auth control) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="plainlist {{{class|}}}" | <templatestyles src="Plainlist/styles.css"/><div class="plainlist {{{class|}}}">{{#if:{{{1|}}}| | ||
{{{1}}} | {{{1}}} | ||
</div>}}<noinclude></div> | </div>}}<noinclude></div> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 23:17, 20 March 2022
- - -
There is a documentation subpage housing the metadata about parent template: Plainlist.
This template uses TemplateStyles: |
This template provides a WCAG/ISO-standards-compliant accessible alternative to <br />
separated lists, which should not be used.
Usage
{{plainlist}} starts a plain (i.e. unbulleted) list. It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with <br />
. Detailed reasons for using this template can be found at en:WP:UBLIST.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
TemplateData for Plainlist
Used to create plain (i.e. unbulleted) lists.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Extra Classes | class | Extra class names to add to the `class` attribute. | String | optional |
Content | 1 | The list to wrap. | Content | suggested |