Outputs each of the parameters separated by commas or, between the first and last, the word " and ", preceded by a comma (this can be changed with the
Outputs each of the parameters separated by commas or, between the first and last, the word " and ", preceded by a comma (this can be changed with the and= parameter). Up to eight parameters may be specfied.
It is intended for use by other templates to output a suitably formatted list when the number of parameters varies. It can currently handle between 0 and 8 parameters.
{{Enum|first|second|third| ... }}
The named parameters are:
More examples are given in the test cases.
| Input | Output |
|---|---|
{{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 |
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.