Difference between revisions of "Module:Cslist/doc"

MyWikiBiz, Author Your Legacy — Sunday September 07, 2025
Jump to navigationJump to search
(Pywikibot 6.4.0)
 
(No difference)

Latest revision as of 21:14, 15 July 2021

Module to implement Template:Cslist, which creates a horizontal list similar to Template:Hlist but using comma separators instead of mid-dots.

It can take as many list items as desired, and also an optional Template:Para, which when set to true or yes will use a semicolon as separator in place of the comma.

Note: the unordered list which is generated is good for accessibility, but really is only useful in tables and infoboxes as an alternative to using {{hlist}}. It should not be used in running prose.

Examples

{{cslist | first item | second item | third item | etc}}Template:Cslist
{{cslist | first item | second item | third item | etc |semi=true}}Template:Cslist