Template:Indented plainlist/sandbox
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Indented plainlist (diff). See also the companion subpage for test cases. |
This template is very similar to {{plainlist}}
, except that it automatically indents parts of long items that are wrapped onto a new line. This makes it easier to tell apart multiple such items when width is limited—e.g. in an {{infobox}}
—and eliminates the need for a bulleted list.
{{Indented plainlist}}
provides a WCAG-compliant and accessible alternative to <br />
-separated lists, per MOS:UBLIST and MOS:PLIST.
Usage
First label | Some data |
---|---|
Awards | |
Second label | Some more data |
<syntaxhighlight lang="wikitext"> </syntaxhighlight>
Custom indentation
First label | Some data |
---|---|
Awards | |
Second label | Some more data |
<syntaxhighlight lang="wikitext" highlight="4"> </syntaxhighlight>
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Indented plainlist in articles based on its TemplateData.
TemplateData for Indented plainlist An automatically indented plainlist variant.
|
See also
- {{plainlist}}
- {{unbulleted indent list}}