Difference between revisions of "Template:Kerbals/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+navbox)
m
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page -->
 
<!-- Please place categories where indicated at the bottom of this page -->
 
== Usage ==
 
== Usage ==
Just add {{tlx|{{BASEPAGENAME}}}} at the bottom of the page.
+
Add {{tlx|{{BASEPAGENAME}}}} at the bottom of an article that is related to a [[Kerbal]].
  
===Purpose===
+
=== Purpose ===
The purpose of the {{tl|{{BASEPAGENAME}}}} template is to provide a structure to ease navigation between the well known [[Kerbal]]s in KSP. It is intended to only contain characters created by [[Squad]] (or officially recognised by them), or those with significant [[w:WP:NOTE|notability]].
+
The purpose of the {{tl|{{BASEPAGENAME}}}} template is to provide a structure to ease navigation between the well known [[Kerbal]]s in KSP. Feel free to restructure it to add further clarity.
  
===Collapsible options===
+
It is intended to only contain characters created by [[Squad]] (or officially recognised by them), or those with significant [[w:WP:NOTE|notability]].
 +
 
 +
=== Collapsible options ===
 
{{Collapsible sections option
 
{{Collapsible sections option
 
| list = {{hlist| kerbonauts | ksc | others }}
 
| list = {{hlist| kerbonauts | ksc | others }}
Line 13: Line 15:
 
| default =  <!--(optional)-->
 
| default =  <!--(optional)-->
 
}}
 
}}
{{Collapsible option}}
 
  
===See also===
+
{{Collapsible option|statename=optional}}
 +
 
 +
=== See also ===
 
{{Project navboxes}}
 
{{Project navboxes}}
  

Latest revision as of 01:07, 28 July 2021

Usage

Add {{Kerbals}} at the bottom of an article that is related to a Kerbal.

Purpose

The purpose of the {{Kerbals}} template is to provide a structure to ease navigation between the well known Kerbals in KSP. Feel free to restructure it to add further clarity.

It is intended to only contain characters created by Squad (or officially recognised by them), or those with significant notability.

Collapsible options

How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following names identifying the groups/sections (omit any speech or quote marks):
    • kerbonauts
    • ksc
    • others
  • For example: {{Kerbals/doc |kerbonauts}}

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. {{Kerbals |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Kerbals |state=expanded}}

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

See also