Difference between revisions of "Template:Versions/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Create sandbox version of Template:Versions)
 
m (Remove embedded styles to confirm behaviour with CSS installed (locally only, it's not on the site yet))
Line 10: Line 10:
 
| image      =  
 
| image      =  
 
| above      =  
 
| above      =  
 
| bodystyle  = background: #fdfdfd; width: 100%; vertical-align: middle;
 
| titlestyle = background: #ccccff; padding-left: 1em; padding-right: 1em; text-align: center;
 
| abovestyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;
 
| belowstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center;
 
| groupstyle = background: #ddddff; padding-left: 1em; padding-right: 1em; white-space: nowrap; text-align: right;
 
| liststyle  = background: transparent; text-align: left;
 
| oddstyle  = background: transparent;
 
| evenstyle  = background: #f7f7f7;
 
  
 
| no-group1    = {{lang|en=Upcoming|ru=Предстоящие|ja=更新予定|fr=À venir|ko=예정}}
 
| no-group1    = {{lang|en=Upcoming|ru=Предстоящие|ja=更新予定|fr=À venir|ko=예정}}

Revision as of 15:06, 4 June 2015

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Versions/sandbox

Usage

Add {{Versions}} at the bottom of an article that is related to a KSP version.

Purpose

The purpose of the {{Versions}} template is to provide a structure to ease navigation between the many KSP versions available. Feel free to restructure it to add further clarity.

Collapsible options

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

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

See also