More actions
Created page with "{{wikipedia|page name}} {{Documentation subpage}} {{Template shortcut|idp|ilist}} This template is very similar to {{tlx|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 {{tlx|infobox}}—and eliminates the need for a bulleted list. {{tld|Indented plainlist}} provides a WCAG-compliant and accessible alternative to <code><no..." |
No edit summary |
||
| Line 4: | Line 4: | ||
This template is very similar to {{tlx|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 {{tlx|infobox}}—and eliminates the need for a bulleted list. | This template is very similar to {{tlx|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 {{tlx|infobox}}—and eliminates the need for a bulleted list. | ||
{{tld|Indented plainlist}} provides a | {{tld|Indented plainlist}} provides a WCAG-compliant and accessible alternative to <code><nowiki><br /></nowiki></code>-separated lists, per MOS:UBLIST and MOS:PLIST. | ||
=== Usage === | === Usage === | ||
| Line 14: | Line 14: | ||
|label2 = Awards | |label2 = Awards | ||
| data2 = {{indented plainlist| | | data2 = {{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) | ||
}} | }} | ||
|label3 = Second label | |label3 = Second label | ||
| Line 41: | Line 41: | ||
|label2 = Awards | |label2 = Awards | ||
| data2 = {{indented plainlist|indent=2em| | | data2 = {{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) | ||
}} | }} | ||
|label3 = Second label | |label3 = Second label | ||
| Line 63: | Line 63: | ||
=== TemplateData === | === TemplateData === | ||
{{collapse top|title= | {{collapse top|title=|TemplateData documentation used by VisualEditor and other tools}} | ||
{{TemplateData header|noheader=1}} | {{TemplateData header|noheader=1}} | ||
<templatedata> | <templatedata> | ||
Revision as of 09:09, 8 April 2025
| This page uses Creative Commons Licensed content from Wikipedia (view authors). |
| This is a documentation subpage for Template:Indented plainlist It may contain usage information, categories and other content that is not part of the original template page. |
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.
Template:Tld 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}}