Template:Cslist
From LIMSWiki
Revision as of 16:42, 10 March 2020 by Shawndouglas (talk | contribs) (Protected "Template:Cslist" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
Page Template:Cslist/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "wikitext").
[edit] [ ] Template documentation
This template uses TemplateStyles: |
This template uses Module:Cslist, a script written in the Lua programming language. |
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}} → Page Template:Cslist/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "wikitext").
|
{{cslist | first item | second item | third item | etc |semi=true}} → Page Template:Cslist/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "wikitext").
|
See also
The above documentation is transcluded from Template:Cslist/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |