Template:Enum: Difference between revisions
Jump to navigation
Jump to search
m (use normal spaces instead of non-breaking spaces) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:Separated entries|main|separator={{#if:{{{comma|}}}|{{{comma}}}|, }}|conjunction={{#if:{{{and|}}}|{{{and}}}| and }}}}{{#if:{{{1|}}}|{{{after|}}}}}</includeonly><noinclude> | ||
{{Documentation}}</noinclude> | |||
}}{{#if: {{{ | |||
{{ | |||
</noinclude> |
Revision as of 21:54, 23 June 2021
This template can be used to create an enumerated list.
Usage
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 |
The above documentation is transcluded from Template:Enum/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.