模板:顿号分隔各项
跳转到导航
跳转到搜索
File:Test Template Info-Icon - Version (2).svg 模板文档[查看] [编辑] [历史] [清除缓存]
| 警告 | 此模板被引用于约19,000个页面。 为了避免造成大规模的影响,所有对此模板的编辑应先于沙盒、测试样例或您的沙盒上测试。 测试后无误的版本可以一次性地加入此模板中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
| File:Lua-Logo.svg | 此模板使用Lua语言: |
This template is used primarily in infoboxes to create a 顿号 delimited collection of items, only adding the 顿号 where needed.
For lists of items, without bullets, use {{plainlist}}.
概要[编辑]
参数及使用方法[编辑]
输入:
{{comma separated entries|甲項|乙項|丙項|丁項|戊項|……}}
效果:
- 甲项、乙项、丙项、丁项、戊项、……
范例[编辑]
| 代码 | 效果 |
|---|---|
{{comma separated entries|甲項|乙項|丙項|丁項}} |
甲项、乙项、丙项、丁项 |
{{comma separated entries| |乙項|丙項|丁項}} |
乙项、丙项、丁项 |
{{comma separated entries|甲項| |丙項|丁項}} |
甲项、丙项、丁项 |
{{comma separated entries|甲項|乙項| |丁項}} |
甲项、乙项、丁项 |
{{comma separated entries|甲項|乙項|丙項| }} |
甲项、乙项、丙项 |
{{comma separated entries|甲項| | | }} |
甲项 |
{{comma separated entries| |乙項| | }} |
乙项 |
{{comma separated entries| | |丙項| }} |
丙项 |
{{comma separated entries| | | |丁項}} |
丁项 |
{{comma separated entries| | | | }} |
|
{{comma separated entries|甲項|乙項|丙項|丁項|戊項|己項}} |
甲项、乙项、丙项、丁项、戊项、己项 |
重定向[编辑]
- {{顿号分隔各项}}
注意事项[编辑]
模板编辑说明[编辑]
参见[编辑]
- {{Template:Slight-pause mark list}}(顿号分隔各项,惟项目内强制不换行)
- {{逗号分隔各项}}
- {{br separated entries}} (displays a list with an item per line)
- {{plainlist}} (same as above, but using regular unordered list markup)
- {{flatlist}} (converts a regular unordered list into an inline list separated by interpuncts)
- {{multi-column numbered list}}
- {{pagelist}} (formats a list of internal links as prose, using commas or "and" when appropriate)
- Module:Separated entries, the Lua module used to realize this template.