Module:Cslist/doc: Difference between revisions

Content deleted Content added
create documentation
 
No edit summary
 
(9 intermediate revisions by 6 users not shown)
Line 1:
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{high-use|1694}}
Module to implement [[Template:Cslist]], which creates a horizontal list similar to [[Template:Hlist]] but using comma separators instead of mid-dots. See template documentation for usage.
 
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 {{tl|hlist}}. It should not be used in running prose.
 
== Example ==
<code><nowiki>{{cslist | first item | second item | third item | etc}}</nowiki></code> → {{cslist | first item | second item | third item | etc}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
 
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>