模板:Sentence list/doc

这是 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[编辑源代码]