Difference between revisions of "User:Aqua/Template:Stats Table Header"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<includeonly>! {{Stats Table Header/Image}} {{#if: {{{ 1 | }}} | {{!}} {{!}} {{Stats Table Header/Radial_Size}} }} {{#if: {{{2 | }}} | {{#ifeq: {{{2}}} | splited | {{!}} {{!}}...")
 
m (!I think noinclude needs to be at the includeonly;)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>!
+
<noinclude>
{{Stats Table Header/Image}}
+
{{Box|type=error|This is a page for testing stuff. Do not modify!}}
{{#if: {{{ 1 | }}} | {{!}} {{!}} {{Stats Table Header/Radial_Size}} }}
+
</noinclude>
{{#if: {{{2 | }}} |
 
{{#ifeq: {{{2}}} | splited | {{!}} {{!}} {{Stats Table Header/Mass/Full}} {{!}} {{!}} {{Stats Table Header/Mass/Empty}} | {{!}} {{!}} {{Stats Table Header/Mass/Mass}} }} }} }}
 
{{#if: {{{3|}}}| {{!}}{{!}} {{Stats Table Header/Drag}} }}
 
{{#if: {{{4|}}}| {{!}}{{!}} {{Stats Table Header/Tolerance}} }}
 
{{#if: {{{5|}}}| {{!}}{{!}} {{Stats Table Header/Maximum_Temperature}} }}
 
</includeonly>
 
  
<noinclude>
+
<includeonly>! {{Stats Table Header/Image}}{{if||{{{1|}}}|
 +
! {{Stats Table Header/Part}} }}{{if||{{{2|}}}|
 +
! {{Stats Table Header/Radial_Size}} }}{{if||{{{3|}}}|
 +
! {{#ifeq: {{{3}}} | 3s | {{Stats Table Header/Mass/Full}}
 +
! {{lang|en=Empty|de=Leer|ru=Пустой|pl=Pusty|zh-cn=干|ko=건조}}| {{lang|en=[[w:Mass|Mass]] ([[w:Metric_Ton|t]])|de=[[w:de:Masse|Masse]] ([[w:de:Tonne (Einheit)|Tonne]])|ru=[[w:ru:Масса|Масса]] ([[w:ru:Тонна|t]])|pl=[[w:pl:Masa_(fizyka)|Masa]] ([[w:pl:Tona|t]])|zh-cn=[[w:zh-cn:质量|质量]] ([[w:zh-cn:吨|t]])|ko=[[w:ko:질량|질량]] ([[w:ko:톤|톤]])}}
 +
<!--
 +
    {{!}}{{!}} {{Stats Table Header/Mass/Full}}
 +
    {{!}}{{!}} {{Stats Table Header/Mass/Empty}} |
 +
    {{!}}{{!}} {{Stats Table Header/Mass/Mass}}
 +
-->
 +
  }}
 +
}}{{if||{{{4|}}}|
 +
! {{Stats Table Header/Drag}} }}
 +
{{if||{{{5|}}}|
 +
! {{Stats Table Header/Tolerance}} }}
 +
{{if||{{{6|}}}|
 +
! {{Stats Table Header/Maximum_Temperature}} }}</includeonly><noinclude>
 
Creates the first three to seven heading columns. Set one of the following parameters to anything but empty to show the column.
 
Creates the first three to seven heading columns. Set one of the following parameters to anything but empty to show the column.
  
Line 32: Line 42:
 
|}
 
|}
 
</noinclude>
 
</noinclude>
 
[[Category:Templates]]
 

Latest revision as of 17:15, 26 November 2013

This is a page for testing stuff. Do not modify!


Creates the first three to seven 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
5 Maximum Temperature