Template:Separated entries: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(Created page with "{{#invoke:Concat|main}}")
 
>Vinifera7
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#invoke:Concat|main}}
{{<includeonly>safesubst:</includeonly>#invoke:Separated entries|main}}<noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 05:28, 24 June 2021

Template documentation[view] [edit] [history] [purge]


Lua logo

This template uses the following modules:

This template is used to create a list of entries delimited by a separator string.

Usage

{{Separated entries|entry1|entry2|entry3|entry4|...}}

The separator string should be specified with |separator=. It is an empty string by default, which results in the entries simply being concatenated together.

Examples

Code Result
{{Separated entries|separator=&nbsp;+&#32;}}
{{Separated entries|separator=&nbsp;+&#32;|A}} A
{{Separated entries|separator=&nbsp;+&#32;|A|B}} A + B
{{Separated entries|separator=&nbsp;+&#32;|A|B|C}} A + B + C
{{Separated entries|separator=&nbsp;+&#32;|A|B|C|D}} A + B + C + D

See also