模板: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[編輯原始碼]