Template:Comma list/doc:修订间差异

(创建页面,内容为“<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的最新版本

这是 Template:Comma list模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

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