Difference between revisions of "Template:Kerbals/sandbox"
From Kerbal Space Program Wiki
(Converted to {{Navbox with collapsible groups}}) |
m (Tricky stateN param. Collapsed is the default, but even null will change it to uncollapsed.) |
||
Line 19: | Line 19: | ||
| abbr1 = kerbonauts | | abbr1 = kerbonauts | ||
− | | state1 = < | + | | state1 = <includeonly>collapsed</includeonly> |
| group1 = {{if lang link|Kerbonaut | | group1 = {{if lang link|Kerbonaut | ||
| en = Kerbonauts | | en = Kerbonauts | ||
Line 64: | Line 64: | ||
| abbr2 = ksc | | abbr2 = ksc | ||
− | | state2 = < | + | | state2 = <includeonly>collapsed</includeonly> |
| group2 = {{if lang link|Kerbal Space Center | | group2 = {{if lang link|Kerbal Space Center | ||
| en = Kerbal Space Center Staff | | en = Kerbal Space Center Staff | ||
Line 131: | Line 131: | ||
| abbr3 = others | | abbr3 = others | ||
− | | state3 = < | + | | state3 = <includeonly>collapsed</includeonly> |
| group3 = {{lang | | group3 = {{lang | ||
| en = Others | | en = Others |
Revision as of 16:19, 11 June 2015
|
This is the template sandbox page for Template:Kerbals (diff). See also the companion subpage for test cases. |
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/sandbox |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
|
The above documentation is transcluded from Template:Kerbals/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |