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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (-alt parameter; +highlight the difference to the normal line template;)
Line 1: Line 1:
{{Infobox/Line|{{{1}}}|{{{2}}}|{{{alt|{{{3|}}}}}}|type1={{#if: {{{3|}}}|1 atm}}|type2={{#if: {{{3|}}}|{{lang|en=vacuum|de=Vakuum|pl=Próżnia|ru=Вакуум}}}}}}{{#if: {{{alt|}}}|[[Category:Infobox/Part/Line with alt parameter]]}}<noinclude>
+
{{Infobox/Line|{{{1}}}|{{{2}}}|{{{3|}}}|type1={{#if: {{{3|}}}|1 atm}}|type2={{#if: {{{3|}}}|{{lang|en=vacuum|de=Vakuum|pl=Próżnia|ru=Вакуум}}}}}}<noinclude>
  
Used for {{Tl|Infobox/Part}} and bases on {{Tl|Infobox/Line}}. Use the infobox template when using the {{{alt}}} parameter!
+
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 ==
Line 8: Line 8:
 
{{Parameter Row|2|Value (atm if 3rd parameter)}}
 
{{Parameter Row|2|Value (atm if 3rd parameter)}}
 
{{Parameter Row|3|Value (vacuum)|Not set (2nd is not atm)}}
 
{{Parameter Row|3|Value (vacuum)|Not set (2nd is not atm)}}
{{Parameter Row|alt|Alternative value for the first value (replaces the 3rd parameter!) '''DEPRECATED'''|Not set}}
 
 
}}
 
}}
  
 
{{Subcategory|metatemplates}}</noinclude>
 
{{Subcategory|metatemplates}}</noinclude>

Revision as of 00:23, 29 December 2013

|- 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

Template:Parameter Table