模板:Flatlist/sandbox
跳转到导航
跳转到搜索
页面Module:Documentation/styles.css没有内容。
页面Module:Message box/mbox.css没有内容。页面Template:Ombox/style.css没有内容。
| File:Sandbox.svg | 这是Template:Flatlist(差异)的沙盒。 参见本模板的测试样例。 |
File:Test Template Info-Icon - Version (2).svg 模板文档[查看] [编辑] [历史] [清除缓存]
package.lua第80行Lua错误:module 'Module:CGroup/core' not found
脚本错误:没有“High-use”这个模块。
页面Module:Message box/mbox.css没有内容。页面Template:Ambox/style.css没有内容。Usage[编辑]
{{Flatlist}} 显示一个平行列表,例如:
页面Template:Hlist/styles.css没有内容。此模板不带{{endflatlist}}。
导航使用 {{navbox}},也可以使用 |listclass=hlist,但是不使用此模板。
示例[编辑]
{{flatlist |
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
}}
页面Template:Hlist/styles.css没有内容。
- Alternative syntax
{{flatlist}}
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
{{endflatlist}}
页面Template:Hlist/styles.css没有内容。
- Syntax for ordered lists
{{flatlist | class=hnum |
# [[first]]
# [[second]]
# [[third]]
# [[fourth]]
# [[fifth]]
# [[sixth]]
}}
页面Template:Hlist/styles.css没有内容。
注意[编辑]
|class=- 添加一个CSS样式包含的div。|style=- 添加CSS样式选项。复杂的风格不应该被用在文章,但可能是可接受的用户,项目,讨论页。
- 例如:
|style=border:solid 1px silver; background:lightyellow
- 例如:
|indent=- 缩进一个标准的缩进,特别是对列入在缩进讨论线程方便的列表。
- 例如:
|indent=2
- 例如:
参见[编辑]
- {{endflatlist}}
- {{plainlist}}
- {{multi-column numbered list}}
- {{nowrap begin}}/{{nowrap end}}
- {{pagelist}}
- {{Setout}}
- WP:HLIST
Template:HTML lists package.lua第80行Lua错误:module 'Module:Navbar/configuration' not found