Difference between revisions of "Template:Ship box"

From FreeSpace Wiki
Jump to: navigation, search
m (let try something like this)
m (ok.. this ought to be better)
Line 60: Line 60:
 
{{!}} '''[[Technical_Terms_and_Definitions#Length|Length]]'''
 
{{!}} '''[[Technical_Terms_and_Definitions#Length|Length]]'''
 
{{!}} {{{length}}}
 
{{!}} {{{length}}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#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]]'''
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{gun_bank_1|}}}|
 +
{{!}} ''1st Primary Bank''
 +
{{!}} {{{gun_bank_1}}} guns
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{gun_bank_2|}}}|
 +
{{!}} ''2nd Primary Bank''
 +
{{!}} {{{gun_bank_2}}} guns
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{gun_bank_3|}}}|
 +
{{!}} ''3rd Primary Bank''
 +
{{!}} {{{gun_bank_3}}} guns
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{missile_bank_1|}}}|
 +
{{!}} ''1st Secondary Bank''
 +
{{!}} {{{missile_bank_1}}} missiles
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{missile_bank_2|}}}|
 +
{{!}} ''2nd Secondary Bank''
 +
{{!}} {{{missile_bank_2}}} missiles
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{missile_bank_3|}}}|
 +
{{!}} ''3rd Secondary Bank''
 +
{{!}} {{{missile_bank_3}}} missiles
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{missile_bank_4|}}}|
 +
{{!}} ''4th Secondary Bank''
 +
{{!}} {{{missile_bank_4}}} missiles
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{turrets|}}}|
 +
{{!}} '''[[Technical_Terms_and_Definitions#Turrets|Turrets]]'''
 +
{{!}} {{{turrets}}} turrets
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{containers|}}}|
 +
{{!}} '''[[Technical_Terms_and_Definitions#Compatible Containers|Compatible Containers]]'''
 +
{{!}} {{{containers}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
|}
 
|}
 +
<noinclude>
 +
 +
== Usage ==
 +
<pre>{{Ship_box
 +
|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 =
 +
|turrets =
 +
|containers = }}
 +
</pre>
 +
Entries in actual page do not have to follow the same order.
 +
 +
[[Category:Templates|Ship box]]
 +
</noinclude>

Revision as of 10:17, 6 June 2010

Name {{{name}}}


Usage

{{Ship_box
|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 =
|turrets =
|containers = }}

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