(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW T…”) |
小 (文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”) |
||
第1行: | 第1行: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]] | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
This template can be used to create a comma-separated list of values. | This template can be used to create a comma-separated list of values. |
2022年3月18日 (五) 14:35的最新版本
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 |