Template:Separated entries/doc: Difference between revisions
Jump to navigation
Jump to search
>Vinifera7 No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
==Usage== | ==Usage== | ||
< | <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.
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= + }} |
|
{{Separated entries|separator= + |A}} |
A |
{{Separated entries|separator= + |A|B}} |
A + B |
{{Separated entries|separator= + |A|B|C}} |
A + B + C |
{{Separated entries|separator= + |A|B|C|D}} |
A + B + C + D |
See also