Template:Separated entries/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>Vinifera7
No edit summary
No edit summary
Line 6: Line 6:


==Usage==
==Usage==
<code><nowiki>{{Separated entries|entry1|entry2|entry3|entry4|...}}</nowiki></code>
<pre>
{{Separated entries|<first>|<second>|<third>|...}}
</pre>


The separator string should be specified with <code>|separator=</code>. It is an empty string by default, which results in the entries simply being concatenated together.
The separator string should be specified with <code>|separator=</code>. It is an empty string by default, which results in the entries simply being concatenated together.
Line 27: Line 29:
==See also==
==See also==
* {{tl|Enum}}
* {{tl|Enum}}
* {{tl|Pagelist}}


{{Documentation categories|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:List templates]]
[[Category:List templates]]
{{Sister|poe2wiki}}
}}
}}

Revision as of 16:34, 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