Difference between revisions of "Template:Class"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+inherits support;)
(+cats; +Parameters;)
Line 13: Line 13:
 
This template is used to document classes in the API namespace.
 
This template is used to document classes in the API namespace.
  
==Usage Example==
+
== Parameters ==
 +
{{Parameter Table|name=text|parameters=
 +
{{ParameterRow|name|Name of class}}
 +
{{ParameterRow|inherits|Inheritance values. Already in a table if set.|Not set}}
 +
{{ParameterRow|summary|Summary text.|{{Tl|Stub}} and “No summary has been written for this class.”}}
 +
}}
 +
 
 +
==Usage Examples==
 +
{{tlx|class|2=name=ClassName}}
 +
 
 
{{tlx|class|2=name=ClassName{{!}}inherits=Inheritance}}
 
{{tlx|class|2=name=ClassName{{!}}inherits=Inheritance}}
 +
 +
[[Category:Templates]]
 +
[[Category:API Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 12:29, 21 April 2013

{{{name}}} Class

This article is a stub. You can help KSP Wiki by expanding it.

No summary has been written for this class.

Documentation for Class

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

Parameters

Template:Parameter Table

Usage Examples

{{class|name=ClassName}}

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