Template:Separated entries: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
m (Vinifera7 moved page Template:Concat to Template:Separated entries)
>Vinifera7
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{<includeonly>safesubst:</includeonly>#invoke:Concat|main}}<noinclude>
{{<includeonly>safesubst:</includeonly>#invoke:Separated entries|main}}<noinclude>
{{documentation}}
{{Documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</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