Difference between revisions of "Template:Property"
From Kerbal Space Program Wiki
Line 2: | Line 2: | ||
| <tt>{{type|{{{type}}}}}{{{array|}}} {{{name}}} { {{#if:{{{hasget|}}}|<span style="color:blue;">get;</span> }}{{#if:{{{hasset|}}}|<span style="color:blue;">set;</span> }}}</tt> | | <tt>{{type|{{{type}}}}}{{{array|}}} {{{name}}} { {{#if:{{{hasget|}}}|<span style="color:blue;">get;</span> }}{{#if:{{{hasset|}}}|<span style="color:blue;">set;</span> }}}</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 [[ | + | 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.