Difference between revisions of "Template:Versions"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Change the temporary workaround for missing site CSS to use {{Navbox style}})
m (Add test cases sandbox hook to name)
Line 1: Line 1:
 
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 
{{Navbox{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
| name      = Versions
+
| name      = Versions{{#ifeq:{{{navbox}}}|sandbox|/sandbox|{{\sandbox}}}}
 
| title      = {{if lang link|Version history|en=Kerbal Space Program versions|ru=версии KSP|fr=Versions de Kerbal Space Program|ja=Kerbal Space Program のバージョン|ko=커발 스페이스 프로그램의 버전}}
 
| title      = {{if lang link|Version history|en=Kerbal Space Program versions|ru=версии KSP|fr=Versions de Kerbal Space Program|ja=Kerbal Space Program のバージョン|ko=커발 스페이스 프로그램의 버전}}
 
| bodyclass  = versions
 
| bodyclass  = versions

Revision as of 00:08, 8 June 2015

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

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