Template:Cslist
- Azərbaycanca
- تۆرکجه
- বাংলা
- 閩南語 / Bân-lâm-gú
- Bikol Central
- Буряад
- Cebuano
- ChiTumbuka
- فارسی
- ગુજરાતી
- Gungbe
- 한국어
- Bahasa Indonesia
- Kurdî
- Ladin
- മലയാളം
- Монгол
- မြန်မာဘာသာ
- नेपाली
- 日本語
- ଓଡ଼ିଆ
- Oʻzbekcha / ўзбекча
- ਪੰਜਾਬੀ
- සිංහල
- Simple English
- Slovenščina
- کوردی
- Српски / srpski
- Tagalog
- தமிழ்
- တႆး
- ไทย
- اردو
- Tiếng Việt
- 中文
Appearance
From Wikipedia, the free encyclopedia
This template uses 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 has an optional
|semi=
, which when set will use a semicolon as separator instead of a comma. - The template has an optional
|oxford=
, which when set will generate a list that saysand
before the last item.
It calls Module:Cslist to process an arbitrary number of list items and generate the list.
The unordered list which is generated is good for accessibility, and is intended as an alternative to {{hlist }}. For use in article prose instead of tables and infoboxes, use the |oxford=
parameter.
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
{{cslist|first item|second item|third item|oxford=true}}
- first item
- second item
- third item
{{cslist|first item|second item|oxford=true}}
- first item
- second item
See also
The above documentation is transcluded from Template:Cslist/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.