Difference between revisions of "Template:Class"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
m (*renamed Parameter Table to Parameter table;)
Line 17: Line 17:
  
 
== Parameters ==
 
== Parameters ==
{{Parameter Table|name=text|parameters=
+
{{Parameter table|name=text|parameters=
 
{{Parameter row|name|Name of class}}
 
{{Parameter row|name|Name of class}}
 
{{Parameter row|inherits|Inheritance values. Already in a table if set.|Not set}}
 
{{Parameter row|inherits|Inheritance values. Already in a table if set.|Not set}}

Revision as of 12:01, 19 December 2014

Documentation for Class

This template is used to document classes in the API namespace.

Parameters

Name Optional Description Default
name No Name of class
inherits Yes Inheritance values. Already in a table if set. Not set
implements Yes Interface implementation. Already in a table if set. Not set
summary Yes Summary text. {{Stub}} and “No summary has been written for this class.”

Usage Examples

{{class|name=ClassName}}

{{class|name=ClassName|inherits=Inheritance}}

{{class|name=ClassName|inherits=Inheritance|implements=IOne, ITwo}}