Template:Plainlist: Difference between revisions
Jump to navigation
Jump to search
actually correct, needed when |1= not present ({{Endplainlist}}) |
ok, guess I have to do it like that |
||
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> |
Revision as of 19:46, 12 May 2021
This is a documentation subpage for Template:Plainlist. It contains usage information, categories and other content that is not part of the original Template page. |
Lua error: callParserFunction: function "#translation" was not found.
This template provides a WCAG/ISO-standards-compliant accessible alternative to <br />
separated lists, which should not be used.
Usage
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
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 |
See also
- – Uses Module:List