模板:Endflatlist
外观
Usage
[编辑源代码]{{Flatlist}} 显示一个平行列表,例如:
此模板不带{{endflatlist}}。
导航使用 {{navbox}},也可以使用 |listclass=hlist,但是不使用此模板。
示例
[编辑源代码]{{flatlist |
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
}}
- Alternative syntax
{{flatlist}}
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
{{endflatlist}}
- Syntax for ordered lists
{{flatlist | class=hnum |
# [[first]]
# [[second]]
# [[third]]
# [[fourth]]
# [[fifth]]
# [[sixth]]
}}
注意
[编辑源代码]- 类 - 添加一个CSS样式包含的div。
- 风格 - 添加CSS样式选项。复杂的风格不应该被用在文章,但可能是可接受的用户,项目,讨论页。
- 例如:
|style=border:solid 1px silver; background:lightyellow
- 例如:
- 缩进 - 缩进一个标准的缩进,特别是对列入在缩进讨论线程方便的列表。
- 例如:
|indent=2
- 例如:
参见
[编辑源代码]- {{endflatlist}}
- {{plainlist}}
- {{multi-column numbered list}}
- {{nowrap begin}}/{{nowrap end}}
- {{pagelist}}
- {{Setout}}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Template:Organization infoboxes
| 上述文档嵌入自Template:Flatlist/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 本模板的子页面。 |
