Template:Comma separated entries/doc
Appearance
This is a documentation subpage for Template:Comma separated entries. It contains usage information, categories and other content that is not part of the original Template page. |
Uses Lua: |
This template is to create a comma-delimited collection of items, only adding the commas where needed.
Usage
[edit]{{comma separated entries|entry1|entry2|entry3|entry4|entry5|...}}
entry1, entry2, entry3, entry4, entry5, ...
Example
[edit]Code | Result |
---|---|
{{comma separated entries|entry1|entry2|entry3|entry4}}
|
entry1, entry2, entry3, entry4 |
{{comma separated entries| |entry2|entry3|entry4}}
|
entry2, entry3, entry4 |
{{comma separated entries|entry1| |entry3|entry4}}
|
entry1, entry3, entry4 |
{{comma separated entries|entry1|entry2| |entry4}}
|
entry1, entry2, entry4 |
{{comma separated entries|entry1|entry2|entry3| }}
|
entry1, entry2, entry3 |
{{comma separated entries|entry1| | | }}
|
entry1 |
{{comma separated entries| |entry2| | }}
|
entry2 |
{{comma separated entries| | |entry3| }}
|
entry3 |
{{comma separated entries| | | |entry4}}
|
entry4 |
{{comma separated entries|entry1|entry2}}
|
entry1, entry2 |
{{comma separated entries| | | | }}
|
|
{{comma separated entries|entry1|entry2|entry3|entry4|entry5|entry6}}
|
entry1, entry2, entry3, entry4, entry5, entry6 |
TemplateData
[edit]This is the TemplateData documentation for this template used by VisualEditor and other tools.
Comma separated entries
Template wrapper for [[Module:Separated entries]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Separator | separator | The separator between all but the last two items.
| Line | suggested |
Conjunction | conjunction | The separator between the last two items.
| Line | optional |
Starting Item | start | The number of the starting item. Items before this will be discarded.
| Number | optional |
Item 1 | 1 | First item | Line | suggested |
Item 2 | 2 | Second item | Line | optional |
Item 3 | 3 | Third item | Line | optional |
Item 4 | 4 | Fourth item | Line | optional |
Item 5 | 5 | Fifth item | Line | optional |
Item 6 | 6 | Sixth item | Line | optional |
Item 7 | 7 | Seventh item | Line | optional |
Item 8 | 8 | Eighth item | Line | optional |
Item 9 | 9 | Ninth item | Line | optional |
Item 10 | 10 | Tenth item | Line | optional |
Edit parameter translations