The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.

Template:Separated entries/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
Line 1: Line 1:
{{lua|Module:Concat}}
The '''concat''' template is used to create a list of items delimited by a separator string.
The '''concat''' template is used to create a list of items delimited by a separator string.



Revision as of 15:39, 29 July 2014

Lua logo

This template uses the following modules:

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=&#32;+&#32;|A|B|C}} Template:Concat