Difference between revisions of "Template:Project navboxes"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Remove temporary CSS workaround. Allow collapsed state via anonymous parameter.)
m (Add new navigation)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = Project navboxes
+
| name = Project navboxes
| title     = [[Project:Navigation templates|{{SITENAME}} navboxes]]
+
| title = [[Project:Navigation templates|{{SITENAME}} navboxes]]
| listclass = hlist
+
| listclass = hlist
| state     = {{{state|{{{1|}}}}}}
+
| state = {{{state|{{{1|}}}}}}
  
| above      =
+
| group1 =
| image      =
+
| list1 =
 
 
| group1     =
 
| list1     =
 
 
* {{tl|Celestial Bodies}}
 
* {{tl|Celestial Bodies}}
 
* {{tl|Demo parts}}
 
* {{tl|Demo parts}}
 
* {{tl|Kerbal Space Center}}
 
* {{tl|Kerbal Space Center}}
 
* {{tl|Kerbals}}
 
* {{tl|Kerbals}}
 +
* {{tl|Moons}}
 
* {{tl|Parts}}
 
* {{tl|Parts}}
 +
* {{tl|Making History parts}}
 +
* {{tl|Breaking Ground parts}}
 +
* {{tl|Resources}}
 
* {{tl|Stock craft}}
 
* {{tl|Stock craft}}
 
* {{tl|Tutorials}}
 
* {{tl|Tutorials}}
 
* {{tl|Versions}}
 
* {{tl|Versions}}
  
| below      =
 
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:28, 28 July 2021

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

Purpose

The purpose of the {{Project navboxes}} template is to provide a structure to ease navigation between the many navigation templates. 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. {{Project navboxes |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Project navboxes |state=expanded}}

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