Difference between revisions of "Template:Ship box"

From FreeSpace Wiki
Jump to: navigation, search
m (ok.. this ought to be better)
m
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|
+
{| {{#if: {{{table_style|}}}|{{{table_style}}}|style="margin: 0 0 1em 1em; background: #302020; border: 1px #AA2020 solid; border-collapse: collapse; font-size: 95%"}}
|'''Name'''
+
| style="width:200px" | '''Name'''
|{{{name}}}
+
| style="width:200px" | {{{name}}}
 
|-
 
|-
 
{{#if: {{{type|}}}|
 
{{#if: {{{type|}}}|
 
{{!}} '''[[Technical_Terms_and_Definitions#Type|Type]]'''
 
{{!}} '''[[Technical_Terms_and_Definitions#Type|Type]]'''
 
{{!}} {{{type}}}
 
{{!}} {{{type}}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{description|}}}|
 +
{{!}} '''Description'''
 +
{{!}} {{{description}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 18: Line 24:
 
{{!}} '''[[Technical_Terms_and_Definitions#Maneuverability|Maneuverability]]'''
 
{{!}} '''[[Technical_Terms_and_Definitions#Maneuverability|Maneuverability]]'''
 
{{!}} {{{maneuverability}}}
 
{{!}} {{{maneuverability}}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{yaw_pitch_roll|}}}|
 +
{{!}} [[Technical_Terms_and_Definitions#Yaw, Pitch, Roll|Yaw, Pitch, Roll]]
 +
{{!}} {{{yaw_pitch_roll}}} s
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 24: Line 36:
 
{{!}} [[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]]
 
{{!}} [[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]]
 
{{!}} {{{max_velocity}}} ms<sup>-1</sup>
 
{{!}} {{{max_velocity}}} ms<sup>-1</sup>
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{rear_velocity|}}}|
 +
{{!}} Rear Velocity
 +
{{!}} {{{rear_velocity}}} ms<sup>-1</sup>
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 59: Line 77:
 
{{#if: {{{length|}}}|
 
{{#if: {{{length|}}}|
 
{{!}} '''[[Technical_Terms_and_Definitions#Length|Length]]'''
 
{{!}} '''[[Technical_Terms_and_Definitions#Length|Length]]'''
{{!}} {{{length}}}
+
{{!}} {{{length}}} m
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{width|}}}|
 +
{{!}} '''[[Technical_Terms_and_Definitions#Length|Width]]'''
 +
{{!}} {{{width}}} m
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{height|}}}|
 +
{{!}} '''[[Technical_Terms_and_Definitions#Length|Height]]'''
 +
{{!}} {{{height}}} m
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{gun_bank_1|}}}{{{gun_bank_2|}}}{{{gun_bank_3|}}}{{{missile_bank_1|}}}{{{missile_bank_2|}}}{{{missile_bank_3|}}}{{{missile_bank_4|}}}|
 
{{#if: {{{gun_bank_1|}}}{{{gun_bank_2|}}}{{{gun_bank_3|}}}{{{missile_bank_1|}}}{{{missile_bank_2|}}}{{{missile_bank_3|}}}{{{missile_bank_4|}}}|
{{!}}colspan=3{{!}} '''[[Technical_Terms_and_Definitions#Weaponry|Weaponry]]'''
+
{{!}}colspan=2{{!}} '''[[Technical_Terms_and_Definitions#Weaponry|Weaponry]]'''
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{gun_bank_1|}}}{{{gun_bank_2|}}}{{{gun_bank_3|}}}|
 +
{{!}}colspan=2{{!}} ''[[Technical_Terms_and_Definitions#Primary_weapons|Primary weapons]]''
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{gun_bank_1|}}}|
 
{{#if: {{{gun_bank_1|}}}|
{{!}} ''1st Primary 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|}}}|
{{!}} ''2nd Primary 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|}}}|
{{!}} ''3rd Primary Bank''
+
{{!}} style="padding-left: 20px" {{!}} ''3rd bank''
{{!}} {{{gun_bank_3}}} guns
+
{{!}} style="padding-left: 20px" {{!}} {{{gun_bank_3}}} guns
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{missile_bank_1|}}}{{{missile_bank_2|}}}{{{missile_bank_3|}}}{{{missile_bank_4|}}}|
 +
{{!}}colspan=2{{!}} ''[[Technical_Terms_and_Definitions#Secondary_weapons|Secondary weapons]]''
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{missile_bank_1|}}}|
 
{{#if: {{{missile_bank_1|}}}|
{{!}} ''1st Secondary Bank''
+
{{!}} style="padding-left: 20px" {{!}} ''1st bank capacity''
{{!}} {{{missile_bank_1}}} missiles
+
{{!}} style="padding-left: 20px" {{!}} {{{missile_bank_1}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{missile_bank_2|}}}|
 
{{#if: {{{missile_bank_2|}}}|
{{!}} ''2nd Secondary Bank''
+
{{!}} style="padding-left: 20px" {{!}} ''2nd bank capacity''
{{!}} {{{missile_bank_2}}} missiles
+
{{!}} style="padding-left: 20px" {{!}} {{{missile_bank_2}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{missile_bank_3|}}}|
 
{{#if: {{{missile_bank_3|}}}|
{{!}} ''3rd Secondary Bank''
+
{{!}} style="padding-left: 20px" {{!}} ''3rd bank capacity''
{{!}} {{{missile_bank_3}}} missiles
+
{{!}} style="padding-left: 20px" {{!}} {{{missile_bank_3}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{missile_bank_4|}}}|
 
{{#if: {{{missile_bank_4|}}}|
{{!}} ''4th Secondary Bank''
+
{{!}} style="padding-left: 20px" {{!}} ''4th bank capacity''
{{!}} {{{missile_bank_4}}} missiles
+
{{!}} style="padding-left: 20px" {{!}} {{{missile_bank_4}}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{countermeasures|}}}|
 +
{{!}}colspan=2{{!}} ''[[Technical_Terms_and_Definitions#Countermeasures|Countermeasures]]''
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{countermeasures|}}}|
 +
{{!}} style="padding-left: 20px" {{!}} ''Countermeasure capacity''
 +
{{!}} style="padding-left: 20px" {{!}} {{{countermeasures}}} countermeasures
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 119: Line 170:
 
{{!}} '''[[Technical_Terms_and_Definitions#Compatible Containers|Compatible Containers]]'''
 
{{!}} '''[[Technical_Terms_and_Definitions#Compatible Containers|Compatible Containers]]'''
 
{{!}} {{{containers}}}
 
{{!}} {{{containers}}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{fighterbays|}}}|
 +
{{!}} '''Fighterbays'''
 +
{{!}} {{{fighterbays}}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{cargodocks|}}}|
 +
{{!}} '''Cargo docks'''
 +
{{!}} {{{cargodocks}}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{fighters|}}}|
 +
{{!}} '''[[Technical_Terms_and_Definitions#Fighter Complement|Fighter Complement]]'''
 +
{{!}} {{{fighters}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 127: Line 196:
 
== Usage ==
 
== Usage ==
 
<pre>{{Ship_box
 
<pre>{{Ship_box
 +
|table_style =
 
|name =  
 
|name =  
|manufacturer =
+
|type =
|maneuverability =
+
|description =
|max_velocity =
+
|manufacturer =  
|max_ab_velocity =
+
|maneuverability =
|max_ab_duration =
+
|yaw_pitch_roll =  
 +
|max_velocity =
 +
|rear_velocity =  
 +
|max_ab_velocity =  
 +
|max_ab_duration =  
 
|armor =  
 
|armor =  
|hitpoints =
+
|hitpoints =  
|shields =
+
|shields =  
|length =
+
|length =
|gun_bank_1 =
+
|width =
|gun_bank_2 =
+
|height =  
|gun_bank_3 =
+
|gun_bank_1 =  
|missile_bank_1 =
+
|gun_bank_2 =  
|missile_bank_2 =
+
|gun_bank_3 =  
|missile_bank_3 =
+
|missile_bank_1 =  
|missile_bank_4 =
+
|missile_bank_2 =  
|turrets =
+
|missile_bank_3 =  
|containers = }}
+
|missile_bank_4 =
 +
|countermeasures =  
 +
|turrets =  
 +
|containers =  
 +
|fighterbays =
 +
|cargodocks =
 +
|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.

Latest revision as of 19:20, 23 May 2020

Name {{{name}}}


Usage

{{Ship_box
|table_style = 
|name = 
|type = 
|description = 
|manufacturer = 
|maneuverability = 
|yaw_pitch_roll = 
|max_velocity = 
|rear_velocity = 
|max_ab_velocity = 
|max_ab_duration = 
|armor = 
|hitpoints = 
|shields = 
|length = 
|width = 
|height = 
|gun_bank_1 = 
|gun_bank_2 = 
|gun_bank_3 = 
|missile_bank_1 = 
|missile_bank_2 = 
|missile_bank_3 = 
|missile_bank_4 = 
|countermeasures = 
|turrets = 
|containers = 
|fighterbays = 
|cargodocks = 
|fighters = 
}}

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