• 首页
  • 随机
  • 最近更改
  • 特殊页面
  • 社群首页
  • 设置
  • 关于戏曲百科
  • 免责声明
戏曲百科
  • 登录

模板:Cslist

  • 监视
  • 查看源代码
    • 链入页面
    • 固定链接
    • 页面信息
模板文档[查看] [编辑] [历史] [清除缓存]

模板:NoteTA/MediaWiki

CSS本模板使用以下模板样式:
  • Template:Hlist/styles.css
🪧此模板使用Lua语言:
  • Module:Cslist

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}} →
  • first item
  • second item
  • third item
  • etc
{{cslist | first item | second item | third item | etc |semi=true}} →
  • first item
  • second item
  • third item
  • etc

See also

  • Template:hlist
  • Template:plainlist
  • 查
  • 论
  • 编
HTML列表
更多信息:
  • Help:列表
  • 维基百科:格式手册/列表
  • Wikipedia:格式手冊/親和力 § 列表
  • 维基专题:列表
水平
{{hlist}} {{flatlist}} {{cslist}}

{{hlist |例子1 |例子2 |...}}

{{flatlist|
* 例子1
* 例子2
* ...
}}

{{cslist |例子1 |例子2 |...}}


  • 例子1
  • 例子2
  • ...

  • 例子1
  • 例子2
  • ...

  • 例子1
  • 例子2
  • ...
無序、有序
{{bulleted list}} {{ordered list}}

{{bulleted list |例子1 |例子2 |...}}

{{Ordered list |list_style_type=lower-alpha |第一 |第二 |...}}


  • 例子1
  • 例子2
  • ...

  1. 第一
  2. 第二
  3. ...
無項目符號
{{unbulleted list}} {{plainlist}} {{glossary}}
(定義列表、描述、關聯)

{{unbulleted list |例子1 |例子2 |...}}

{{plainlist|
* 例子1
* 例子2
* ...
}}

{{glossary}}
{{term|字詞1}} {{defn|定義1}}
{{term|字詞2}} {{defn|定義2}}
{{term|...}} {{defn|....}}
{{glossary end}}


  • 例子1
  • 例子2
  • ...

  • 例子1
  • 例子2
  • ...

字詞1
定義1
字詞2
定義2
...
....
其他
{{flowlist}} {{columns-list}}

[[File:Bad Title Example.png|left|thumb|100px]]
{{flowlist|
*例子1
*例子2
*...
}}

{{columns-list|colwidth=5em|
# 第一
# 第二
# 第三
# ...
}}


文件:Bad Title Example.png
  • 例子1
  • 例子2
  • ...

  1. 第一
  2. 第二
  3. 第三
  4. ...
Category:列表格式模板
上述文档嵌入自模板:Cslist/doc。 (编辑 | 历史)
编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。
请在/doc子页面中添加分类。 本模板的子页面。
检索自“https://wiki66.com/index.php?title=模板:Cslist&oldid=46780”
分类:​
  • 使用模板样式的模板
  • Lua模板
  • 含有受损文件链接的页面
  • 列表格式模板
最后编辑于2021年6月17日 (星期四) 02:34

语言

    此页面在其他语言不可用。

    戏曲百科
    • 本页面最后编辑于2021年6月17日 (星期四) 02:34。
    • 错误反馈
    • 关于戏曲百科
    • 免责声明
    • 豫ICP备13003402号-1
    • 桌面版