Template:Plainlist/doc: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
| Line 71: | Line 71: | ||
* {{tlx|Unbulleted list}} – Uses [[Module:List]] | * {{tlx|Unbulleted list}} – Uses [[Module:List]] | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line | <!-- Categories below this line --> | ||
[[Category: | [[Category:Templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 11:09, 1 October 2025
This is a template documentation subpage for Template:Plainlist.
It contains usage information, categories, and other content that is not part of the original template page.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Uses TemplateStyles This template provides a WCAG/ISO-standards-compliant accessible alternative to <br /> separated lists, which should not be used.
Usage
Template:Tlx 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.
| Input | Output |
|---|---|
{{plainlist|
* 1
* 2
* 3
}} |
|
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
- Template:Tlx – Uses Module:List