此模板基于以下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.