Template:Indented plainlist: Difference between revisions
en>MusikBot II m (Protected "Template:Indented plainlist": High-risk template or module: 252 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 13:34, 20 July 2022
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.
Lua error in Module:Template_link_general at line 144: attempt to concatenate local 'titlePart' (a nil value). 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 |
{{Infobox |label1 = Some data |awards = {{indented plainlist| * [[Royal Geographical Society's Founder's Medal]] (1888) * [[Knight Commander of the Order of the Bath]] (1896) * [[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899) }} |label2 = Some more data }}
Custom indentation
First label | Some data |
---|---|
Awards | |
Second label | Some more data |
{{Infobox
|label1 = Some data
|awards = {{indented plainlist|indent=2em|
* [[Royal Geographical Society's Founder's Medal]] (1888)
* [[Knight Commander of the Order of the Bath]] (1896)
* [[Chevalier dans l'Ordre de la Légion d'Honneur]] (1899)
}}
|label2 = Some more data
}}
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}}