Difference between revisions of "Template:Demo parts/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "{{Documentation subpage}} <!---PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE---> ===Purpose=== The purpose of the {{tl|{{BASEPAGENAME}}}} template is to provide a structure...")
 
(Merged in docs from current template)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!---PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE--->
+
<!-- Please place categories where indicated at the bottom of this page -->
 +
== Usage ==
 +
Just add {{tlx|{{BASEPAGENAME}}}} at the bottom of the page for a part.
 +
 
 
===Purpose===
 
===Purpose===
The purpose of the {{tl|{{BASEPAGENAME}}}} template is to provide a structure to ease navigation between the many demo parts available in KSP. Feel free to restructure it to add further clarity.
+
The purpose of the {{tl|{{BASEPAGENAME}}}} template is to provide a structure to ease navigation between the many parts available in the KSP demo. Feel free to restructure it to add further clarity.
  
 
Articles including the template will be added to [[:Category:Demo parts]].
 
Articles including the template will be added to [[:Category:Demo parts]].
  
 
===Collapsible options===
 
===Collapsible options===
{{Collapsible option}}
+
{{Collapsible option|default=collapsed}}
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!---CATEGORIES HERE, PLEASE--->
+
<!-- Categories below this line, please -->
 
[[Category:Navigational boxes]]
 
[[Category:Navigational boxes]]
</includeonly>
+
[[Category:Categorising templates]]
 +
}}</includeonly>

Revision as of 03:40, 8 June 2015

Usage

Just add {{Demo parts}} at the bottom of the page for a part.

Purpose

The purpose of the {{Demo parts}} template is to provide a structure to ease navigation between the many parts available in the KSP demo. Feel free to restructure it to add further clarity.

Articles including the template will be added to Category:Demo parts.

Collapsible options

How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:

|state=collapsed to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g. {{Demo parts |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Demo parts |state=expanded}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is collapsed.