Difference between revisions of "Template:Stats Table Header"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!trying to fix the multiple line “mass” header;)
Line 1: Line 1:
 
<includeonly>! {{lang|en=Image|ru=Вид|pl=Obrazek}}
 
<includeonly>! {{lang|en=Image|ru=Вид|pl=Obrazek}}
! {{lang|en=Part|ru=Название|pl=Nazwa Części}}
+
! {{lang|en=Part|ru=Название|pl=Nazwa Części}}{{#if: {{{1|}}}|
{{#if: {{{1|}}}|! {{lang|en=Radial size|ru=Размер|pl=Rozmiar}}}}
+
! {{lang|en=Radial size|ru=Размер|pl=Rozmiar}}}}
! {{lang|en=Cost ($)|ru=Цена ($)|pl=Cena ($)}}
+
! {{lang|en=Cost ($)|ru=Цена ($)|pl=Cena ($)}}{{#if: {{{2|}}}|
{{#if: {{{2|}}}|{{#ifeq: {{{2}}}|splited|
+
{{#ifeq: {{{2}}}|splited|! {{lang|en=Full|ru=Полный|pl=Pełny}}
! {{lang|en=Full|ru=Полный|pl=Pełny}}
+
! {{lang|en=Empty|ru=Пустой|pl=Pusty}}|
! {{lang|en=Empty|ru=Пустой|pl=Pusty}}
+
! {{lang|en=[[w:Mass|Mass]] [[w:Metric_Ton|(t)]]|ru=[[w:ru:Масса|Масса]] [[w:ru:Тонна|(t)]]|pl=[[w:pl:Masa_(fizyka)|Masa]] [[w:pl:Tona|(t)]]}}}}}}{{#if: {{{3|}}}|
|! {{lang|en=[[w:Mass|Mass]] [[w:Metric_Ton|(t)]]|ru=[[w:ru:Масса|Масса]] [[w:ru:Тонна|(t)]]|pl=[[w:pl:Masa_(fizyka)|Masa]] [[w:pl:Tona|(t)]]}}}}}}
+
! {{Stats Table Header/Drag}}}}{{#if: {{{4|}}}|
{{#if: {{{3|}}}|! {{Stats Table Header/Drag}}}}
+
! {{lang|en=Tolerance|ru=целостность конструкции|pl=Tolerancja}}}}</includeonly><noinclude>Creates the first three to six heading columns. Set one of the following parameters to anything but empty to show the column.
{{#if: {{{4|}}}|! {{lang|en=Tolerance|ru=целостность конструкции|pl=Tolerancja}}}}</includeonly><noinclude>Creates the first three to six heading columns. Set one of the following parameters to anything but empty to show the column.
 
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 20:28, 10 April 2013

Creates the first three to six heading columns. Set one of the following parameters to anything but empty to show the column.

# Associated column
1 Radial size
2 Mass (special value: splited to show “full” and “emtpy” columns)
3 Drag
4 Tolerance