Template:Sentence list/doc

< Template:Sentence list
自由之民讨论 | 贡献2022年3月18日 (五) 14:33的版本 (文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
这是 Template:Sentence list模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

This template can be used to create a list in sentence form. Values are separated by commas, using "and" as the coordinating conjunction. This template does not use the Oxford comma.

Parameters[编辑源代码]

Takes up to 14 unnamed arguments.

Usage[编辑源代码]

Syntax
{{sentence list|1|2|3|...}}

Examples[编辑源代码]

Usage Result
{{sentence list|}}
{{sentence list|ant}} ant
{{sentence list|ant|bat}} ant和 bat
{{sentence list|ant|bat|cobra}} ant,bat和 cobra
{{sentence list|ant|bat|cobra|donkey}} ant,bat,cobra和 donkey
{{sentence list|ant|bat|cobra|donkey||ferret}} ant,bat,cobra,donkey和 ferret

See also[编辑源代码]