Difference between revisions of "Template:Kerbals/sandbox"
From Kerbal Space Program Wiki
m (Tricky stateN param. Collapsed is the default, but even null will change it to uncollapsed.) |
m (Remove duplicate) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
| state = {{{state|}}} | | state = {{{state|}}} | ||
| title = {{if lang link|Kerbal | | title = {{if lang link|Kerbal | ||
− | |||
| en = Famous Kerbals | | en = Famous Kerbals | ||
| fr = Kerbals célèbres | | fr = Kerbals célèbres | ||
Line 11: | Line 10: | ||
| hu = Híres Kerbálok | | hu = Híres Kerbálok | ||
}} | }} | ||
+ | | listclass = hlist | ||
| selected = {{{selected|{{{1|}}}}}} | | selected = {{{selected|{{{1|}}}}}} | ||
Line 58: | Line 58: | ||
| ru = Валентина Керман | | ru = Валентина Керман | ||
}} | }} | ||
− | | col4 = {{Kerbal|valentina|align=none|size= | + | | col4 = {{Kerbal|valentina|align=none|size=150px|link=yes}} |
| col4footer = {{if lang link|Pilot}} | | col4footer = {{if lang link|Pilot}} | ||
Line 78: | Line 78: | ||
| ru = Вернер фон Керман | | ru = Вернер фон Керман | ||
}} | }} | ||
− | | col1 = {{Kerbal|wernher|align=none|size= | + | | col1 = {{Kerbal|wernher|align=none|size=120px|link=yes}} |
| col1footer = {{if lang link | | col1footer = {{if lang link | ||
| en = Research and Development | | en = Research and Development | ||
Line 135: | Line 135: | ||
| en = Others | | en = Others | ||
}} | }} | ||
− | | list3 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child | + | | list3style = {{Navbox style{{\sandbox}}|color=green|child|above}} padding: 0.25em; |
+ | | list3 = <!-- Just using a simple list for now, while the server's image handling is very broken --> | ||
+ | * {{if lang link|Bobak Kerman | ||
+ | | en = Bobak Kerman | ||
+ | | ru = Бобак Керман | ||
+ | }} | ||
+ | * {{if lang link|Dawton Kerman | ||
+ | | en = Dawton Kerman | ||
+ | | ru = Дьютон Карман | ||
+ | }} | ||
+ | * {{if lang link|Dinkelstein Kerman | ||
+ | | en = Dinkelstein Kerman | ||
+ | | ru = Динкельштейн Карман | ||
+ | }} | ||
+ | * {{if lang link|Eumon Kerman | ||
+ | | en = Eumon Kerman | ||
+ | | ru = Эмон Карман | ||
+ | }} | ||
+ | * {{if lang link|Kirrim Kerman | ||
+ | | en = Kirrim Kerman | ||
+ | | ru = Киррим Карман | ||
+ | }} | ||
+ | * {{if lang link|Kurt Kerman | ||
+ | | en = Kurt Kerman | ||
+ | }} | ||
+ | |||
+ | <!-- Navbox will just ignore "not-list3", so it's really just a comment, | ||
+ | but holds the full version with broken images --> | ||
+ | | not-list3 = {{Navbox with columns{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}|child | ||
| colheaderstyle = {{Navbox style{{\sandbox}}|color=green|child|above}} padding: 0.25em; | | colheaderstyle = {{Navbox style{{\sandbox}}|color=green|child|above}} padding: 0.25em; | ||
| colstyle = text-align: center; | | colstyle = text-align: center; |
Latest revision as of 21:36, 18 April 2018
|
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. |