Template:Separated entries/doc

From Path of Exile Wiki
Revision as of 05:50, 26 July 2014 by Vinifera7 (talk | contribs) (Created page with "The '''concat''' template is used to create a list of items delimited by a separator string. ==Usage== <code><nowiki>{{concat|item1|item2|item3|item4|item5|...}}</nowiki></co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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}} A
{{concat|A|B}} AB
{{concat|A|B|C|D|E}} ABCDE
{{concat| | |C}} C
{{concat| |B| |D}} BD
{{concat|3=C|A|4=D|B}} ABCD
{{concat|sep=&#32;+&#32;|A|B|C}} ABC