Difference between revisions of "Template:Kerbals"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Remove temporary CSS workaround. Remaining embedded style is needed to create the desired appearance. Converted to {{Navbox with collapsible groups}}.)
(Replaced "others" with just a simple list, since all of their images are broken and impossible to fix due to the broken server.)
Line 11: Line 11:
 
  | hu = Híres Kerbálok
 
  | hu = Híres Kerbálok
 
  }}
 
  }}
 +
| listclass = hlist
 
| selected = {{{selected|{{{1|}}}}}}
 
| selected = {{{selected|{{{1|}}}}}}
  
Line 135: Line 136:
 
   | 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;

Revision as of 17:03, 11 June 2015

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Kerbals

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