This is the documentation page for Mòideal:Cslist

(deasbaireachd⧼tpt-languages-separator⧽deasaich⧼tpt-languages-separator⧽eachdraidh⧼tpt-languages-separator⧽ceanglaichean⧼tpt-languages-separator⧽doc⧼tpt-languages-separator⧽bogsa-gainmhich⧼tpt-languages-separator⧽cùisean deuchainn)

Module to implement {{Tl:CSlist}}, which creates a horizontal list similar to {{Tl:Hlist}} but using comma separators instead of mid-dots.

It can take as many list items as desired, and also an optional |semi=, 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.

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