模板:Cslist/doc
来自戏曲百科
文件:Edit-copy green.svg | 此頁面是模板:Cslist的Templatedocumentation。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
文件:Farm-Fresh css add.svg | 本模板使用以下模板样式: |
🪧 | 此模板使用Lua语言: |
The "cslist" (comma-separated list) template allows editors to create a horizontal list similar to Template:Hlist, but using comma separators instead of mid-dots.
The template allows an optional |semi=
, which when set to true
or yes
will use a semicolon as separator instead of a comma.
It calls Module:Cslist to process an arbitrary number of list items and generate the list.
Note: the unordered list which is generated is good for accessibility, and is intended for use only in tables and infoboxes as an alternative to {{hlist}}. It should not be used in article prose.
Examples
{{cslist | first item | second item | third item | etc}} →
|
{{cslist | first item | second item | third item | etc |semi=true}} →
|