Difference between revisions of "Template:Ship box"

From FreeSpace Wiki
Jump to: navigation, search
m (ok.. that didn't work.. perhaps this one is better)
m (added option to set table style via template)
Line 1: Line 1:
{|  style="margin: 0 0 1em 1em; background: #302020; border: 1px #AA2020 solid; border-collapse: collapse; font-size: 95%"
+
{|  {{#if: {{{table_style|}}}|{{{table_style}}}|style="margin: 0 0 1em 1em; background: #302020; border: 1px #AA2020 solid; border-collapse: collapse; font-size: 95%"}}
 
| style="width:200px" | '''Name'''
 
| style="width:200px" | '''Name'''
 
| style="width:200px" | {{{name}}}
 
| style="width:200px" | {{{name}}}
Line 148: Line 148:
 
== Usage ==
 
== Usage ==
 
<pre>{{Ship_box
 
<pre>{{Ship_box
 +
|table_style =
 
|name =  
 
|name =  
 
|manufacturer =
 
|manufacturer =

Revision as of 07:28, 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 = }}

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