Difference between revisions of "Template:Versions/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Cat change. We now have other types of box in addition to {{Navbox}})
m (cleanup)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!---PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE--->
+
<!-- Please place categories where indicated at the bottom of this page -->
 +
== Usage ==
 
{{Collapsible option |statename=optional}}
 
{{Collapsible option |statename=optional}}
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!---CATEGORIES HERE, PLEASE--->
+
<!-- Categories below this line, please -->
 
[[Category:Navigational boxes]]
 
[[Category:Navigational boxes]]
</includeonly>
+
}}</includeonly>

Revision as of 23:11, 7 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.