Mastergalen (talk | contribs) m (1 revision) |
Mastergalen (talk | contribs) m (1 revision) |
(No difference)
|
File:Edit-copy green.svg | This is a documentation subpage for Template:Enum. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
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}} |
Template:Enum |
{{Enum|A}} |
Template:Enum |
{{Enum|A|B}} |
Template:Enum |
{{Enum|A|B|C}} |
Template:Enum |
{{Enum|A|B|C|D}} |
Template:Enum |
Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.