Difference between revisions of "Template:Infobox/Part/Line"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+alt;)
 
(18 intermediate revisions by 8 users not shown)
Line 1: Line 1:
|-valign="top"
+
{{Infobox/Line|{{{1}}}|{{{2}}}|{{{3|}}}|type1={{#if: {{{3|}}}|1 {{Dict|atm}}}}|type2={{#if: {{{3|}}}|{{lang|en=vacuum|de=Vakuum|hr=Vakuum|pl=Próżnia|ru=Вакуум|ja=真空|hu=vákuum|it=Vuoto|tr=boşluk}}}}}}<noinclude>
| {{#if: {{{3|}}}{{{alt|}}}|rowspan|colspan}}="2"| {{{1}}} {{#if: {{{3|}}}|{{!}}{{!}}<small>(1 atm)</small>}}|| {{{2}}}
 
{{#if: {{{3|}}}{{{alt|}}}|{{!}}- valign="top"
 
{{!}}{{!}} <small>({{lang|en=vacuum|de=Vakuum|pl=Próżnia}})</small>{{!}}{{!}} {{{alt|{{{3}}}}}}}}<noinclude>
 
  
Used for {{Tl|Partbox}}.
+
Used for {{Tl|Infobox/Part}} and bases on {{Tl|Infobox/Line}}. If the third parameter is given, it will set the type for the first value to atmospheric pressure and the second value to vacuum.
  
 
== Parameters ==
 
== Parameters ==
{| class="wikitable"
+
{{Parameter table|name=both|parameters=
! #
+
{{Parameter row|1|Caption of line}}
! Optional
+
{{Parameter row|2|Value (atm if 3rd parameter)}}
! Description
+
{{Parameter row|3|Value (vacuum)|Not set (2nd is not atm)}}
|-
+
}}
{{ParameterRow|1|Caption of line}}
 
{{ParameterRow|2|Value (atm if 3rd parameter)}}
 
{{ParameterRow|3|Value (vacuum)|Not set (2nd is not atm)}}
 
{{ParameterRow|alt|Alternative value fot the first value (replaces the 3rd parameter!)|Not set}}
 
|}
 
  
[[Category:Templates|Partbox/Line]]
+
{{Subcategory|metatemplates}}</noinclude>
</noinclude>
 

Latest revision as of 10:27, 12 January 2019

|- valign="top" | colspan="2" | {{{1}}} | {{{2}}}

Used for {{Infobox/Part}} and bases on {{Infobox/Line}}. If the third parameter is given, it will set the type for the first value to atmospheric pressure and the second value to vacuum.

Parameters

#/Name Optional Description Default
1 No Caption of line
2 No Value (atm if 3rd parameter)
3 Yes Value (vacuum) Not set (2nd is not atm)