Template:Unbulleted indent list
此模板使用Lua语言: |
This template is very similar to {{unbulleted list}}
, 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.
{{Unbulleted indent list}}
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 = {{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 |
{{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
}}
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Unbulleted indent list模板数据 An automatically indented unbulleted list variant.
|
See also
- {{unbulleted list}}
- {{indented plainlist}}
上述文档嵌入自Template:Unbulleted indent list/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |