Difference between revisions of "Template:Enum"

From Kerbal Space Program Wiki
Jump to: navigation, search
 
Line 7: Line 7:
  
 
:name - The identifier of this enum.
 
:name - The identifier of this enum.
:values - The enumeration elements.
+
:values - The enumeration elements. Use [[Template:EnumValue]] for each value.
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:API 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.