Difference between revisions of "Template:Versions"
From Kerbal Space Program Wiki
m (Add some missing bits of style until we get the CSS installed) |
m (Fix typo I made earlier in the workaround for missing CSS) |
||
Line 11: | Line 11: | ||
| above = | | above = | ||
− | | bodystyle = background: #fdfdfd; width: 100%; vertical-align: middle; border: 1px solid #aaa; margin: auto; clear: both; font-size: | + | | bodystyle = background: #fdfdfd; width: 100%; vertical-align: middle; border: 1px solid #aaa; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; |
| titlestyle = background: #ccccff; padding-left: 1em; padding-right: 1em; text-align: center; | | titlestyle = background: #ccccff; padding-left: 1em; padding-right: 1em; text-align: center; | ||
| abovestyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center; | | abovestyle = background: #ddddff; padding-left: 1em; padding-right: 1em; text-align: center; |
Revision as of 15:09, 4 June 2015
|
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
|
The above documentation is transcluded from Template:Versions/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. |