Template:Separated entries/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Vinifera7 moved page Template:Concat/doc to Template:Separated entries/doc without leaving a redirect) |
(No difference)
|
Revision as of 21:49, 23 June 2021
This subpage provides documentation for Template:Separated entries.
The concat template is used to create a list of items delimited by a separator string.
Usage
{{concat|item1|item2|item3|item4|item5|...}}
The sep parameter can be used to define the item separator string, which defaults to a comma followed by a space.
Examples
Code | Result |
---|---|
{{concat|A}} |
Template:Concat |
{{concat|A|B}} |
Template:Concat |
{{concat|A|B|C|D|E}} |
Template:Concat |
{{concat| | |C}} |
Template:Concat |
{{concat| |B| |D}} |
Template:Concat |
{{concat|3=C|A|4=D|B}} |
Template:Concat |
{{concat|sep= + |A|B|C}} |
Template:Concat |