Template:逗號分隔各項

出自红砖维基
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

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}}.

概要[編輯原始碼]

參數及使用方法[編輯原始碼]

輸入:

{{逗號分隔各項|甲項|乙項|丙項|丁項|戊項|...}}

效果:

甲項,乙項,丙項,丁項,戊項,...

範例[編輯原始碼]

代碼 效果
{{逗號分隔各項|甲項|乙項|丙項|丁項}} 甲項,乙項,丙項,丁項
{{逗號分隔各項| |乙項|丙項|丁項}} 乙項,丙項,丁項
{{逗號分隔各項|甲項| |丙項|丁項}} 甲項,丙項,丁項
{{逗號分隔各項|甲項|乙項| |丁項}} 甲項,乙項,丁項
{{逗號分隔各項|甲項|乙項|丙項| }} 甲項,乙項,丙項
{{逗號分隔各項|甲項| | | }} 甲項
{{逗號分隔各項| |乙項| | }} 乙項
{{逗號分隔各項| | |丙項| }} 丙項
{{逗號分隔各項| | | |丁項}} 丁項
{{逗號分隔各項| | | | }}
{{逗號分隔各項|甲項|乙項|丙項|丁項|戊項|己項}} 甲項,乙項,丙項,丁項,戊項,己項

重定向[編輯原始碼]

注意事項[編輯原始碼]

模板編輯說明[編輯原始碼]

參見[編輯原始碼]