This template can be used to create a comma-separated list of values.
Parameters[编辑源代码]
Takes up to 14 unnamed arguments.
Usage[编辑源代码]
- Syntax
{{comma list|1|2|3|...}}
Examples[编辑源代码]
Syntax | Result |
---|---|
{{comma list||||||}}
|
|
{{comma list|Foo}}
|
Foo |
{{comma list|Foo|Bar}}
|
Foo,Bar |
{{comma list|Foo|Bar|Baz}}
|
Foo,Bar,Baz |
{{comma list||Foo|Bar|||Baz||}}
|
Foo,Bar,Baz |