Difference between revisions of "Template:EnumValue"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 1: Line 1:
;{{{name}}}{{#if:{{{value|}}}| = {{{value}}}|}}
+
<includeonly>;{{{name}}}{{if:{{{value|}}}| = {{{value}}}|}}
 
:{{{desc|''{{lang
 
:{{{desc|''{{lang
 
|en=No description exists for {{{name}}}.
 
|en=No description exists for {{{name}}}.
}}''}}}<noinclude>
+
}}''}}}</includeonly><noinclude>
 +
Example:
 +
 
 +
{{EnumValue|name=someEnumValue|value=13|desc=Something}}
 +
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:API Templates]]
 
[[Category:API Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 19:05, 13 October 2015

Example:

someEnumValue = 13 Something