Difference between revisions of "Template:Enum"
From Kerbal Space Program Wiki
m (-don't include template, because it would add the page to the Stubs; +cats;) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>|- |
+ | | <tt>{{{name|Enum template: name parameter missing}}}</tt> | ||
+ | | <tt>{{{values|Enum template: values parameter missing}}}</tt></includeonly><noinclude>{{doc start}} | ||
+ | An element to be used in [[Template:Enums]]. | ||
− | + | Takes parameters: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | :name - The identifier of this enum. | |
− | + | :values - The enumeration elements. Use [[Template:EnumValue]] for each value. | |
− | |||
[[Category:Templates]] | [[Category:Templates]] | ||
− | </noinclude> | + | [[Category:API Templates]]</noinclude> |
Latest revision as of 23:56, 20 October 2015
Documentation for Enum
An element to be used in Template:Enums.
Takes parameters:
- name - The identifier of this enum.
- values - The enumeration elements. Use Template:EnumValue for each value.