Template:Unbulleted indent list/doc
This is a documentation subpage for Template:Unbulleted indent list. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
The {{Unbulleted indent list}}
template is very similar to {{Unbulleted list}}
, except that it automatically indents the wrapped parts of long items which appear beneath an entry. This makes it easier to distinguish multiple such items when width is limited—such as in {{Infobox}}
—and makes more efficient use of horizontal space by eliminating the need for bullet markers to indicate the start of each entry.
This template provides a WCAG-compliant and accessible alternative to <br />
-separated lists.
Usage
First label | Some data |
---|---|
Awards | |
Second label | Some more data |
{{Infobox | label1 = Some data | awards = {{Unbulleted indent list | [[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 |
| label1 = Some data
| awards = {{Unbulleted indent list|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 for Unbulleted indent list
Show an unbulleted list the any wrapped lines of entries indented
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | Every line should start with a pipe character. | Content | required |
Indentation | in indent | Custom indentation width for wrapped lines of list entries; must have valid CSS length unit appended
| Line | optional |
List style | list_style | CSS declarations for the <ul> XHTML tag
| Line | optional |
See also
- {{Unbulleted list}}