跳转到内容

Template:Comma separated entries/sandbox

维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

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|甲項|乙項|丙項|丁項|戊項|己項}} 甲項、​乙項、​丙項、​丁項、​戊項、​己項

重定向

[编辑]

注意事项

[编辑]

模板编辑说明

[编辑]

參見

[编辑]