Template:Enum: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{{1}}}{{#if: {{{2|}}} | {{#if: {{{3|}}} | {{{delim|, }}} | {{{conj| and }}} }}{{{2}}} }}{{#if: {{{3|}}} | {{#if: {{{4|}}} | {{{delim|, }}} | ...") |
m (use normal spaces instead of non-breaking spaces) |
||
Line 1: | Line 1: | ||
<includeonly>{{{1}}}{{#if: {{{2|}}} | {{#if: {{{3|}}} | {{{delim|,& | <includeonly>{{{1}}}{{#if: {{{2|}}} | {{#if: {{{3|}}} | {{{delim|, }}} | {{{conj| and }}} }}{{{2}}} | ||
}}{{#if: {{{3|}}} | {{#if: {{{4|}}} | {{{delim|,& | }}{{#if: {{{3|}}} | {{#if: {{{4|}}} | {{{delim|, }}} | {{{serial|{{{delim|, }}}}}}{{{conj| and }}} }}{{{3}}} | ||
}}{{#if: {{{4|}}} | {{#if: {{{5|}}} | {{{delim|,& | }}{{#if: {{{4|}}} | {{#if: {{{5|}}} | {{{delim|, }}} | {{{serial|{{{delim|, }}}}}}{{{conj| and }}} }}{{{4}}} | ||
}}{{#if: {{{5|}}} | {{#if: {{{6|}}} | {{{delim|,& | }}{{#if: {{{5|}}} | {{#if: {{{6|}}} | {{{delim|, }}} | {{{serial|{{{delim|, }}}}}}{{{conj| and }}} }}{{{5}}} | ||
}}{{#if: {{{6|}}} | {{#if: {{{5|}}} | {{{delim|,& | }}{{#if: {{{6|}}} | {{#if: {{{5|}}} | {{{delim|, }}} | {{{serial|{{{delim|, }}}}}}{{{conj| and }}} }}{{{6}}} | ||
}}{{#if: {{{7|}}} | {{#if: {{{8|}}} | {{{delim|,& | }}{{#if: {{{7|}}} | {{#if: {{{8|}}} | {{{delim|, }}} | {{{serial|{{{delim|, }}}}}}{{{conj| and }}} }}{{{7}}} | ||
}}{{#if: {{{8|}}} | {{#if: {{{9|}}} | {{{delim|,& | }}{{#if: {{{8|}}} | {{#if: {{{9|}}} | {{{delim|, }}} | {{{serial|{{{delim|, }}}}}}{{{conj| and }}} }}{{{8}}} | ||
}}{{#if: {{{9|}}} | {{#if: {{{10|}}} | {{{delim|,& | }}{{#if: {{{9|}}} | {{#if: {{{10|}}} | {{{delim|, }}} | {{{serial|{{{delim|, }}}}}}{{{conj| and }}} }}{{{9}}} | ||
}}{{#if: {{{10|}}} | {{{serial|{{{delim|,& | }}{{#if: {{{10|}}} | {{{serial|{{{delim|, }}}}}}{{{conj| and }}}{{{10}}} }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 02:31, 17 May 2013
This template can be used to create an enumerated list.
Usage
Examples
Code | Result |
---|---|
{{Enum}} |
{{{1}}} |
{{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.