Difference between revisions of "Template:Class"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+clear;)
m (-don't include template, because it would add the page to the Stubs;)
Line 1: Line 1:
== {{{name}}} {{lang|en=Class}} ==
+
<includeonly>== {{{name}}} {{lang|en=Class}} ==
 
{{#if: {{{inherits|}}}|{{(!}} class="wikitable" style="float:right;"
 
{{#if: {{{inherits|}}}|{{(!}} class="wikitable" style="float:right;"
 
! Inherits
 
! Inherits
Line 10: Line 10:
 
}}
 
}}
 
}}}
 
}}}
{{clear}}<noinclude>
+
{{clear}}</includeonly><noinclude>
 
{{doc start}}
 
{{doc start}}
 
This template is used to document classes in the API namespace.
 
This template is used to document classes in the API namespace.
Line 16: Line 16:
 
== Parameters ==
 
== Parameters ==
 
{{Parameter Table|name=text|parameters=
 
{{Parameter Table|name=text|parameters=
{{ParameterRow|name|Name of class}}
+
{{Parameter Row|name|Name of class}}
{{ParameterRow|inherits|Inheritance values. Already in a table if set.|Not set}}
+
{{Parameter Row|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.”}}
+
{{Parameter Row|summary|Summary text.|{{Tl|Stub}} and “No summary has been written for this class.”}}
 
}}
 
}}
  

Revision as of 09:50, 19 July 2013

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}}