Template:Property

From Kerbal Space Program Wiki
Revision as of 00:54, 17 October 2015 by Glyph (talk | contribs)
Jump to: navigation, search

Template:Property is a single property as listed inside a Template:Properties template on a class API page.

Parameters

name - Required. The name of this property.
type - Required. Pass a single Template:Type, do not pass a string type name, use the Type template!.
hasget - Optional. Set to "true" if this property has a getter or blank otherwise.
hasset - Optional. Set to "true" if this property has a setter or blank otherwise.
access - Optional. Set to "public" or "protected".
static - Optional. Set to "true" for static properties.
desc - Optional. Set to description of this property.

Examples

Properties

The following is a list of properties in Property.

Name Description
Vessel SomeProperty { } ?