Difference between revisions of "Template:Navigation templates"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Add new local examples. Remove "/sandbox" from local examples which are now in use.)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{En-WP attribution notice}}
+
<noinclude>{{En-WP attribution notice}}</noinclude>
</noinclude>{| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;"
+
{| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;"
 
|+ <span style="font-size: 130%;">Navigation templates comparison</span>
 
|+ <span style="font-size: 130%;">Navigation templates comparison</span>
 
|- style="line-height: 10pt;"
 
|- style="line-height: 10pt;"
Line 10: Line 10:
 
| collapsible || style="background: #ccf;" | navbox
 
| collapsible || style="background: #ccf;" | navbox
 
| Left/right of body || Yes || Yes ||
 
| Left/right of body || Yes || Yes ||
* {{tl2|Demo parts}}
+
* {{tl|Demo parts}}
* {{tl2|Stock craft}}
+
* {{tl|Stock craft}}
* {{tl2|Versions}}
+
* {{tl|Versions}}
* {{tl2|sister=w|Solar System}}
+
* {{tl|sister=w|Solar System}}
* {{tl2|sister=w|Governance of Greater London}}
+
* {{tl|sister=w|Governance of Greater London}}
 
|-
 
|-
 
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}
 
| style="text-align: left;" | {{tl|Navbox with collapsible groups}}
 
| collapsible || style="background: #ccf;" | navbox
 
| collapsible || style="background: #ccf;" | navbox
 
| Left/right of body and/or in each list || Yes || Yes ||
 
| Left/right of body and/or in each list || Yes || Yes ||
* {{tl2|Kerbals}}
+
* {{tl|Kerbals}}
* {{tl2|Parts}}
+
* {{tl|Parts}}
* {{tl2|sister=w|Universe navboxes}}
+
* {{tl|sister=w|Universe navboxes}}
* {{tl2|sister=w|Scouting}}
+
* {{tl|sister=w|Scouting}}
* {{tl2|sister=w|University of Michigan}}
+
* {{tl|sister=w|University of Michigan}}
 
|-
 
|-
 
| style="text-align: left;" | {{tl|Navbox with columns}}
 
| style="text-align: left;" | {{tl|Navbox with columns}}
 
| collapsible || style="background: #ccf;" | navbox
 
| collapsible || style="background: #ccf;" | navbox
 
| Left/right of columns || No || Yes ||
 
| Left/right of columns || No || Yes ||
* {{tl2|Celestial Bodies}}
+
* {{tl|Celestial Bodies}}
* {{tl2|Kerbals}}
+
* {{tl|Kerbals}}
* {{tl2|sister=w|Current U.S. Senators}}
+
* {{tl|sister=w|Current U.S. Senators}}
* {{tl2|sister=w|Historical regions of the Czech Republic}}
+
* {{tl|sister=w|Historical regions of the Czech Republic}}
 
|}
 
|}
  
Line 44: Line 44:
 
| 2 or more autocollapse on page || Yes || Yes
 
| 2 or more autocollapse on page || Yes || Yes
 
|}<noinclude>
 
|}<noinclude>
 
+
{{documentation}}
 
[[Category:Navigational boxes| ]]
 
[[Category:Navigational boxes| ]]
 
[[Category:Documentation shared content templates]]
 
[[Category:Documentation shared content templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 14:55, 17 March 2018

Navigation templates comparison
Collapsible Header color Image Groups Style (body)
parameter/s
Examples
{{Navbox}} collapsible navbox Left/right of body Yes Yes
{{Navbox with collapsible groups}} collapsible navbox Left/right of body and/or in each list Yes Yes
{{Navbox with columns}} collapsible navbox Left/right of columns No Yes
Collapsible attributes
Type CSS classes JavaScript Collapses when Custom
initial state
Nesting
Collapsible tables collapsible Defined in Common.js 2 or more autocollapse on page Yes Yes