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
>Vinifera7
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
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}}
{{Adapted from Wikipedia|Template:Separated entries}}


{{Documentation categories|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:List templates]]
[[Category:List templates]]
{{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.