Template:Enum/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{Lua|Module:Separated entries}} | |||
This template can be used to create an enumerated list. | This template can be used to create an enumerated list. | ||
==Usage== | ==Usage== | ||
<pre> | |||
{{Enum|<first>|<second>|<third>|...}} | |||
</pre> | |||
===Examples=== | ===Examples=== | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! Code !! Result | ||
|- | |- | ||
| <code><nowiki>{{Enum}}</nowiki></code> || {{Enum}} | | <code><nowiki>{{Enum}}</nowiki></code> || {{Enum}} | ||
Line 21: | Line 25: | ||
|} | |} | ||
==See also== | |||
* {{tl|Separated entries}} | |||
* {{tl|Pagelist}} | |||
{{Adapted from Wikipedia|Template:Enum}} | |||
{{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:41, 15 October 2024

This subpage provides documentation for Template:Enum.
This template can be used to create an enumerated list.
Usage
{{Enum|<first>|<second>|<third>|...}}
Examples
Code | Result |
---|---|
{{Enum}} |
|
{{Enum|A}} |
A |
{{Enum|A|B}} |
A and B |
{{Enum|A|B|C}} |
A, B and C |
{{Enum|A|B|C|D}} |
A, B, C and D |
See also
- {{Separated entries}}
- {{Pagelist}}

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