Difference between revisions of "Template:Kerbals"
From Kerbal Space Program Wiki
(Switch over to new {{Navbox}} version.) |
m (Use the long form of KSC.) |
||
Line 72: | Line 72: | ||
| list2 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child | | list2 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child | ||
| state = {{#ifeq:{{{selected|{{{1|}}}}}}|ksc|uncollapsed|{{{state2|<includeonly>collapsed</includeonly>}}}}} | | state = {{#ifeq:{{{selected|{{{1|}}}}}}|ksc|uncollapsed|{{{state2|<includeonly>collapsed</includeonly>}}}}} | ||
− | | title = {{if lang link| | + | | title = {{if lang link|Kerbal Space Center |
− | | en = | + | | en = Kerbal Space Center Staff |
}} | }} | ||
Revision as of 12:23, 9 June 2015
|
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 |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. |