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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!don't show (vacuum) if alt is used;)
m (!make first line 3 columns wide;)
Line 1: Line 1:
 
|-valign="top"
 
|-valign="top"
| {{#if: {{{3|}}}{{{alt|}}}|rowspan|colspan}}="2"| {{{1}}} {{#if: {{{3|}}}|{{!}}{{!}}<small>(1 atm)</small>}}|| {{{2}}}
+
| {{#if: {{{3|}}}{{{alt|}}}|rowspan|colspan}}="2" {{#if: {{{alt|}}}|colspan="2"}} | {{{1}}} {{#if: {{{3|}}}|{{!}}{{!}}<small>(1 atm)</small>}}|| {{{2}}}
 
{{#if: {{{3|}}}{{{alt|}}}|{{!}}- valign="top"
 
{{#if: {{{3|}}}{{{alt|}}}|{{!}}- valign="top"
 
{{!}}{{!}} {{#if: {{{3|}}}|<small>({{lang|en=vacuum|de=Vakuum|pl=Próżnia}})</small>}}{{!}}{{!}} {{{3|{{{alt}}}}}}}}<noinclude>
 
{{!}}{{!}} {{#if: {{{3|}}}|<small>({{lang|en=vacuum|de=Vakuum|pl=Próżnia}})</small>}}{{!}}{{!}} {{{3|{{{alt}}}}}}}}<noinclude>
Line 7: Line 7:
  
 
== Parameters ==
 
== Parameters ==
{| class="wikitable"
+
{{Parameter Table|name=both|parameters=
! #
 
! Optional
 
! Description
 
|-
 
 
{{ParameterRow|1|Caption of line}}
 
{{ParameterRow|1|Caption of line}}
 
{{ParameterRow|2|Value (atm if 3rd parameter)}}
 
{{ParameterRow|2|Value (atm if 3rd parameter)}}
 
{{ParameterRow|3|Value (vacuum)|Not set (2nd is not atm)}}
 
{{ParameterRow|3|Value (vacuum)|Not set (2nd is not atm)}}
 
{{ParameterRow|alt|Alternative value fot the first value (replaces the 3rd parameter!)|Not set}}
 
{{ParameterRow|alt|Alternative value fot the first value (replaces the 3rd parameter!)|Not set}}
|}
+
}}
  
 
[[Category:Templates|Partbox/Line]]
 
[[Category:Templates|Partbox/Line]]
 
</noinclude>
 
</noinclude>

Revision as of 20:35, 27 April 2013

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


Used for {{Partbox}}.

Parameters

Template:Parameter Table