Difference between revisions of "Template:Ship box"

From FreeSpace Wiki
Jump to: navigation, search
m (added option to set table style via template)
m
Line 74: Line 74:
 
|-
 
|-
 
{{#if: {{{gun_bank_1|}}}|
 
{{#if: {{{gun_bank_1|}}}|
{{!}} style="padding-left: 25px" {{!}} ''1st bank''
+
{{!}} style="padding-left: 20px" {{!}} ''1st bank''
{{!}} {{{gun_bank_1}}} guns
+
{{!}} style="padding-left: 20px" {{!}} {{{gun_bank_1}}} guns
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{gun_bank_2|}}}|
 
{{#if: {{{gun_bank_2|}}}|
{{!}} style="padding-left: 25px" {{!}} ''2nd bank''
+
{{!}} style="padding-left: 20px" {{!}} ''2nd bank''
{{!}} {{{gun_bank_2}}} guns
+
{{!}} style="padding-left: 20px" {{!}} {{{gun_bank_2}}} guns
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{gun_bank_3|}}}|
 
{{#if: {{{gun_bank_3|}}}|
{{!}} style="padding-left: 25px" {{!}} ''3rd bank''
+
{{!}} style="padding-left: 20px" {{!}} ''3rd bank''
{{!}} {{{gun_bank_3}}} guns
+
{{!}} style="padding-left: 20px" {{!}} {{{gun_bank_3}}} guns
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 97: Line 97:
 
|-
 
|-
 
{{#if: {{{missile_bank_1|}}}|
 
{{#if: {{{missile_bank_1|}}}|
{{!}} style="padding-left: 25px" {{!}} ''1st bank capacity''
+
{{!}} style="padding-left: 20px" {{!}} ''1st bank capacity''
{{!}} {{{missile_bank_1}}} missiles
+
{{!}} style="padding-left: 20px" {{!}} {{{missile_bank_1}}} missiles
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{missile_bank_2|}}}|
 
{{#if: {{{missile_bank_2|}}}|
{{!}} style="padding-left: 25px" {{!}} ''2nd bank capacity''
+
{{!}} style="padding-left: 20px" {{!}} ''2nd bank capacity''
{{!}} {{{missile_bank_2}}} missiles
+
{{!}} style="padding-left: 20px" {{!}} {{{missile_bank_2}}} missiles
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{missile_bank_3|}}}|
 
{{#if: {{{missile_bank_3|}}}|
{{!}} style="padding-left: 25px" {{!}} ''3rd bank capacity''
+
{{!}} style="padding-left: 20px" {{!}} ''3rd bank capacity''
{{!}} {{{missile_bank_3}}} missiles
+
{{!}} style="padding-left: 20px" {{!}} {{{missile_bank_3}}} missiles
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{missile_bank_4|}}}|
 
{{#if: {{{missile_bank_4|}}}|
{{!}} style="padding-left: 25px" {{!}} ''4th bank capacity''
+
{{!}} style="padding-left: 20px" {{!}} ''4th bank capacity''
{{!}} {{{missile_bank_4}}} missiles
+
{{!}} style="padding-left: 20px" {{!}} {{{missile_bank_4}}} missiles
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 140: Line 140:
 
{{!}} '''[[Technical_Terms_and_Definitions#Compatible Containers|Compatible Containers]]'''
 
{{!}} '''[[Technical_Terms_and_Definitions#Compatible Containers|Compatible Containers]]'''
 
{{!}} {{{containers}}}
 
{{!}} {{{containers}}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{fighters|}}}|
 +
{{!}} '''[[Technical_Terms_and_Definitions#Fighter Complement|Fighter Complement]]'''
 +
{{!}} {{{fighters}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 168: Line 174:
 
|countermeasures =
 
|countermeasures =
 
|turrets =
 
|turrets =
|containers = }}
+
|containers =  
 +
|fighters =
 +
}}
 
</pre>
 
</pre>
 
Entries in actual page do not have to follow the same order.
 
Entries in actual page do not have to follow the same order.

Revision as of 10:55, 8 June 2010

Name {{{name}}}


Usage

{{Ship_box
|table_style =
|name = 
|manufacturer =
|maneuverability =
|max_velocity =
|max_ab_velocity =
|max_ab_duration =
|armor = 
|hitpoints =
|shields =
|length =
|gun_bank_1 =
|gun_bank_2 =
|gun_bank_3 =
|missile_bank_1 =
|missile_bank_2 =
|missile_bank_3 =
|missile_bank_4 =
|countermeasures =
|turrets =
|containers = 
|fighters =
}}

Entries in actual page do not have to follow the same order.