Difference between revisions of "Template:Parts"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (-redirect link;)
m (*more specific category; +parameter to expand one section by default;)
Line 1: Line 1:
 
{{FlipBox|start|style=padding: 2px; clear: both; margin: 10px 0; border: 1px solid #ccc; background-color: #FDFDFD; float: left; width:100%|style-header=background: #ccc; padding: .3em; text-align: center; font-size: 15px|style-content=padding: .5em|title=[[Parts{{if lang}}|{{lang|en=Default parts|pl=Domyślne części|de=Standardbauteile|ru=Стандартный модуль}}]]}}
 
{{FlipBox|start|style=padding: 2px; clear: both; margin: 10px 0; border: 1px solid #ccc; background-color: #FDFDFD; float: left; width:100%|style-header=background: #ccc; padding: .3em; text-align: center; font-size: 15px|style-content=padding: .5em|title=[[Parts{{if lang}}|{{lang|en=Default parts|pl=Domyślne części|de=Standardbauteile|ru=Стандартный модуль}}]]}}
  
{{FlipBox|start|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Command module{{if lang}}|{{lang|en=Command modules|pl=Moduły dowodzenia|de=Kommandomodule|ru=Командный отсек}}]]}}
+
{{FlipBox|start|status={{#ifeq: {{lc:{{{1|}}}}}|command modules||hidden}}|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Command module{{if lang}}|{{lang|en=Command modules|pl=Moduły dowodzenia|de=Kommandomodule|ru=Командный отсек}}]]}}
 
{|
 
{|
 
|-valign="top"
 
|-valign="top"
Line 14: Line 14:
 
{{FlipBox|end}}
 
{{FlipBox|end}}
  
{{FlipBox|start|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Propulsion|pl=Napędy|de=Antrieb}}|{{lang|en=Propulsion|pl=Napędy|de=Antrieb}}]]}}
+
{{FlipBox|start|status={{#ifeq: {{lc:{{{1|}}}}}|propulsion||hidden}}|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Propulsion|pl=Napędy|de=Antrieb}}|{{lang|en=Propulsion|pl=Napędy|de=Antrieb}}]]}}
 
{|
 
{|
 
|-valign="top"
 
|-valign="top"
Line 39: Line 39:
 
{{FlipBox|end}}
 
{{FlipBox|end}}
  
{{FlipBox|start|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Control|pl=Kontrola|de=Steuerung}}|{{lang|en=Control|pl=Kontrola|de=Steuerung}}]]}}
+
{{FlipBox|start|status={{#ifeq: {{lc:{{{1|}}}}}|control||hidden}}|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Control|pl=Kontrola|de=Steuerung}}|{{lang|en=Control|pl=Kontrola|de=Steuerung}}]]}}
 
{|
 
{|
 
|-valign="top"
 
|-valign="top"
Line 49: Line 49:
 
{{FlipBox|end}}
 
{{FlipBox|end}}
  
{{FlipBox|start|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Structural|pl=Strukturalne|de=Strukturell}}|{{lang|en=Structural|pl=Strukturalne|de=Strukturell}}]]}}
+
{{FlipBox|start|status={{#ifeq: {{lc:{{{1|}}}}}|structural||hidden}}|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Structural|pl=Strukturalne|de=Strukturell}}|{{lang|en=Structural|pl=Strukturalne|de=Strukturell}}]]}}
 
{|
 
{|
 
|-valign="top"
 
|-valign="top"
Line 65: Line 65:
 
{{FlipBox|end}}
 
{{FlipBox|end}}
  
{{FlipBox|start|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Aerodynamic|pl=Aerodynamika|de=Aerodynamik}}|{{lang|en=Aerodynamic|pl=Aerodynamika|de=Aerodynamik}}]]}}
+
{{FlipBox|start|status={{#ifeq: {{lc:{{{1|}}}}}|aerodynamic||hidden}}|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Aerodynamic|pl=Aerodynamika|de=Aerodynamik}}|{{lang|en=Aerodynamic|pl=Aerodynamika|de=Aerodynamik}}]]}}
 
{|
 
{|
 
|-valign="top"
 
|-valign="top"
Line 81: Line 81:
 
{{FlipBox|end}}
 
{{FlipBox|end}}
  
{{FlipBox|start|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Utility|pl=Użytkowe|de=Hilfsmittel}}|{{lang|en=Utility|pl=Użytkowe|de=Hilfsmittel}}]]}}
+
{{FlipBox|start|status={{#ifeq: {{lc:{{{1|}}}}}|utility||hidden}}|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Utility|pl=Użytkowe|de=Hilfsmittel}}|{{lang|en=Utility|pl=Użytkowe|de=Hilfsmittel}}]]}}
 
{|
 
{|
 
|-valign="top"
 
|-valign="top"
Line 112: Line 112:
 
{{FlipBox|end}}
 
{{FlipBox|end}}
  
{{FlipBox|start|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Science|pl=Naukowe|de=Wissenschaft}}|{{lang|en=Science|pl=Naukowe|de=Wissenschaft}}]]}}
+
{{FlipBox|start|status={{#ifeq: {{lc:{{{1|}}}}}|science||hidden}}|style=padding: 2px; clear: both; margin: 5px 0; border: 1px solid #ccc; background-color: #FFFFFF; float: left; width:100%|style-header=background: #ccc; padding: .2em; text-align: center; font-size: 15px|style-content=|title=[[Parts{{if lang}}#{{lang|en=Science|pl=Naukowe|de=Wissenschaft}}|{{lang|en=Science|pl=Naukowe|de=Wissenschaft}}]]}}
 
{|
 
{|
 
|-valign="top"
 
|-valign="top"
Line 127: Line 127:
 
== Usage ==
 
== Usage ==
 
Nav-box for default parts. Just enter <tt><nowiki>{{Parts}}</nowiki></tt> at the bottom of the page. This will add the page to the category [[:Category:Default parts|default parts]].
 
Nav-box for default parts. Just enter <tt><nowiki>{{Parts}}</nowiki></tt> at the bottom of the page. This will add the page to the category [[:Category:Default parts|default parts]].
 +
 +
The first parameter can be set to a section which is already expanded.
  
 
== Translation status ==
 
== Translation status ==
Line 133: Line 135:
 
* '''Polish (pl):''' Complete.
 
* '''Polish (pl):''' Complete.
  
[[Category:Templates|Parts]]</noinclude>
+
[[Category:Navbox templates]]</noinclude>

Revision as of 15:03, 29 December 2013

Default parts


Usage

Nav-box for default parts. Just enter {{Parts}} at the bottom of the page. This will add the page to the category default parts.

The first parameter can be set to a section which is already expanded.

Translation status

  • German (de): Complete.
  • English (en): Complete.
  • Polish (pl): Complete.