Template:逗號分隔各項
此模板使用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}}.
概要
參數及使用方法
輸入:
{{逗號分隔各項|甲項|乙項|丙項|丁項|戊項|...}}
效果:
- 甲項,乙項,丙項,丁項,戊項,...
範例
代碼 | 效果 |
---|---|
{{逗號分隔各項|甲項|乙項|丙項|丁項}} |
甲項,乙項,丙項,丁項 |
{{逗號分隔各項| |乙項|丙項|丁項}} |
乙項,丙項,丁項 |
{{逗號分隔各項|甲項| |丙項|丁項}} |
甲項,丙項,丁項 |
{{逗號分隔各項|甲項|乙項| |丁項}} |
甲項,乙項,丁項 |
{{逗號分隔各項|甲項|乙項|丙項| }} |
甲項,乙項,丙項 |
{{逗號分隔各項|甲項| | | }} |
甲項 |
{{逗號分隔各項| |乙項| | }} |
乙項 |
{{逗號分隔各項| | |丙項| }} |
丙項 |
{{逗號分隔各項| | | |丁項}} |
丁項 |
{{逗號分隔各項| | | | }} |
|
{{逗號分隔各項|甲項|乙項|丙項|丁項|戊項|己項}} |
甲項,乙項,丙項,丁項,戊項,己項 |
重定向
注意事项
模板编辑说明
參見
- {{頓號分隔各項}}
- {{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.