Difference between revisions of "Template:Property"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 2: Line 2:
 
| <tt>{{type|{{{type}}}}}{{{array|}}} {{{name}}} { {{#if:{{{hasget|}}}|<span style="color:blue;">get;</span>&nbsp;}}{{#if:{{{hasset|}}}|<span style="color:blue;">set;</span>&nbsp;}}}</tt>
 
| <tt>{{type|{{{type}}}}}{{{array|}}} {{{name}}} { {{#if:{{{hasget|}}}|<span style="color:blue;">get;</span>&nbsp;}}{{#if:{{{hasset|}}}|<span style="color:blue;">set;</span>&nbsp;}}}</tt>
 
| {{{desc|<small>?</small>}}}</includeonly><noinclude>
 
| {{{desc|<small>?</small>}}}</includeonly><noinclude>
Template for a single property with parameters type, name, hasget, hasset and desc. Used inside a [[API:Properties]] template.
+
Template for a single property with parameters type, name, hasget, hasset and desc. Used inside a [[Template:Properties]] template.
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:API Templates]]
 
[[Category:API Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 19:50, 13 October 2015

Template for a single property with parameters type, name, hasget, hasset and desc. Used inside a Template:Properties template.