Template:Comma separated entries/doc
[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
{{#invoke:Fallback | autotranslate
|base = Documentation subpage |lang = |page = Template:Comma separated entries }}
{{
{{#invoke:Namespace detect|main}}
| type = | image = 42px | imageright = | class = | style = | textstyle = | text = This template uses Module:Comma separated entries, a script written in the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }} This template is used primarily in infoboxes to create a comma delimited collection of items, only adding the commas where needed.
For lists of items, without bullets, use {{Plainlist}}.
Usage
{{comma separated entries|entry1|entry2|entry3|entry4|entry5|...}}
Example
Code | Result |
---|---|
{{comma separated entries|entry1|entry2|entry3|entry4}} |
main}} |
{{comma separated entries| |entry2|entry3|entry4}} |
main}} |
{{comma separated entries|entry1| |entry3|entry4}} |
main}} |
{{comma separated entries|entry1|entry2| |entry4}} |
main}} |
{{comma separated entries|entry1|entry2|entry3| }} |
main}} |
{{comma separated entries|entry1| | | }} |
main}} |
{{comma separated entries| |entry2| | }} |
main}} |
{{comma separated entries| | |entry3| }} |
main}} |
{{comma separated entries| | | |entry4}} |
main}} |
{{comma separated entries| | | | }} |
main}} |
{{comma separated entries|entry1|entry2|entry3|entry4|entry5|entry6}} |
main}} |
See also
- {{br separated entries}}
- {{flatlist}}
- {{multi-column numbered list}}
- {{pagelist}}
- {{Plainlist}}
- Module:Comma separated entries, the Lua module this template is based on