Difference between revisions of "Template:Versions/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (cleanup)
Line 7: Line 7:
 
<!-- Categories below this line, please -->
 
<!-- Categories below this line, please -->
 
[[Category:Navigational boxes]]
 
[[Category:Navigational boxes]]
 +
[[Category:Translating templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 13:17, 9 June 2015

Usage

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.