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
m (7 revisions imported)
No edit summary
 
Line 36: Line 36:
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:List templates]]
[[Category:List templates]]
{{Sister|poe2wiki}}
{{Sister|poewiki}}
}}
}}

Latest revision as of 16:42, 15 October 2024

This subpage provides documentation for Template:Separated entries.

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|<first>|<second>|<third>|...}}

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

This template was adapted from Template:Separated entries on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.