模板:Plainlist

模板页面
文档图示 模板文档[查看] [编辑] [查看历史] [清除缓存]

模板介绍

产生一个没有项目符号的列表。

使用方法

模板链接:{{Plainlist}} starts a plain, or unbulleted, list, such as:

It uses proper HTML list markup, which is more standards-compliant and more accessible then separating list items with <br />.

This template can be used with or without 模板链接:{{endplainlist}}. It is intended to replace 模板链接:{{Unbulleted list}}, which performs the same function, but in a more cumbersome manner.

范例

{{plainlist |
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
}}
Alternative syntax
{{plainlist}}
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
{{endplainlist}}
  • indent – indents the list by a number of standard indents (one indent being 1.6em), particularly handy for inclusion in an indented discussion thread.
Example: |indent=2
  • style – adds CSS style options. Complex styles should not be used in articles (per Qiuwen:deviations) but may be acceptable on user, project, and talk pages.
Example: |style=border:solid 1px silver; background:lightyellow

注意事项

重定向

参见

上述文档内容嵌入自Template:Plainlist/doc编辑 | 历史
编者可以在本模板的沙盒创建 | 镜像和测试样例创建页面进行实验。
请将模板自身所属的分类添加在文档中。本模板的子页面