Difference between revisions of "Template:Gtvaship"

From FreeSpace Wiki
Jump to: navigation, search
(New page: <table width="200" align="right" cellpadding="4" cellspacing="0" style="border: 1px #A6110D solid; background: rgb(35, 35, 35) none repeat scroll 0%; width: 200; margin-top: -1.4em; margin...)
 
m (removing redundant parameter)
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table width="200" align="right" cellpadding="4" cellspacing="0" style="border: 1px #A6110D solid; background: rgb(35, 35, 35) none repeat scroll 0%; width: 200; margin-top: -1.4em; margin: 0 0 1em 1em;">
+
{|width="300" align="right" cellpadding="2" cellspacing="0" style="border: 1px #A6110D solid; background: rgb(35, 35, 35) none repeat scroll 0%; width: 300; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 80%;"
<tr>
+
|-
<td colspan="2" style="background-color:  #503030; text-align: center; color: #E5BB63;">STARSHIP</td></tr>
+
|colspan="2" height="40" style="background-color:  #603030; text-align: center; color: #E5BB63; font-size: 150%;"|'''{{{name}}}'''
<tr>
+
|-
<td colspan="2" style="background-color:  #000000; text-align: center; color: #cccccc;">{{{image}}}</td></tr>
+
{{#if: {{{image|}}}|{{!}}colspan="2" style="background-color:  #000000; text-align: center; color: #cccccc;"{{!}}{{{image}}}|}}
<tr valign="top">
+
|-
<td bgcolor="#302020" style="background-color:  #302020; color: #f9f9f9;"> '''Name:'''</td>
+
{{#if: {{{class|}}}|
<td bgcolor="#000000">{{{name}}}</td>
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Class:'''
</tr>
+
{{!}}bgcolor="#101010"{{!}}{{{class}}}
<tr valign="top">
+
|}}
<td bgcolor="#302020" style="background-color:  #302020; color: #f9f9f9;"> '''Class:'''</td>
+
|-
<td bgcolor="#000000">{{{class}}}</td>
+
{{#if: {{{1stapp|}}}|
</tr>
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''First Appearance:'''
<tr valign="top">
+
{{!}}bgcolor="#101010"{{!}}{{{1stapp}}}
<td bgcolor="#302020" style="background-color:  #302020; color: #f9f9f9;"> '''Type:'''</td>
+
|}}
<td bgcolor="#000000">{{{type}}}</td>
+
|-
</tr>
+
{{#if: {{{inservice|}}}|
<tr valign="top">
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''In Service:'''
<td bgcolor="#302020" style="background-color:  #302020; color: #f9f9f9;"> '''In Service:'''</td>
+
{{!}}bgcolor="#101010"{{!}}{{{inservice}}}
<td bgcolor="#000000">{{{inservice}}}</td>
+
|}}
</tr>
+
|-
<tr valign="top">
+
{{#if: {{{location|}}}|
<td bgcolor="#302020" style="background-color:  #302020; color: #f9f9f9;"> '''Commander:'''</td>
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Location:'''
<td bgcolor="#000000">{{{commander}}}</td>
+
{{!}}bgcolor="#101010"{{!}}{{{location}}}
</tr>
+
|}}
<tr valign="top">
+
|-
<td bgcolor="#302020" style="background-color:  #302020; color: #f9f9f9;"> '''Fate:'''</td>
+
{{#if: {{{faction|}}}|
<td bgcolor="#000000">{{{fate}}}</td>
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Faction:'''
</tr>
+
{{!}}bgcolor="#101010"{{!}}{{{faction}}}
<tr valign="top">
+
|}}
<td bgcolor="#302020" style="background-color:  #302020; -moz-border-radius-bottomleft: 1em;  color: #f9f9f9;">'''Squadrons:'''</td>
+
|-
<td bgcolor="#000000">{{{squadrons}}}</td>
+
{{#if: {{{commander|}}}|
</tr></table>
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Commander:'''
 
+
{{!}}bgcolor="#101010"{{!}}{{{commander}}}
 
+
|}}
 +
|-
 +
{{#if: {{{fate|}}}|
 +
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Fate:'''
 +
{{!}}bgcolor="#101010"{{!}}{{{fate}}}
 +
|}}
 +
|-
 +
{{#if: {{{squadrons|}}}|
 +
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Squadrons:'''
 +
{{!}}bgcolor="#101010"{{!}}
 +
{{{squadrons}}}
 +
|}}
 +
|}
 
<noinclude>
 
<noinclude>
 
<br clear=all>
 
<br clear=all>
Line 41: Line 53:
 
| name      =  
 
| name      =  
 
| class    =  
 
| class    =  
| type      =  
+
| 1stapp    =  
 
| inservice =  
 
| inservice =  
| commander =
+
| location  =
| fate      =
+
| faction  =
 +
| commander =  
 +
| fate      =  
 
| squadrons =  
 
| squadrons =  
 
}}</pre>
 
}}</pre>
  
[[Category:Sidebar templates|Gtvaship]]</noinclude>
+
Despite the name, this template can be used for any unique ship, not just GTVA ships. Location should only be used for installations.
<includeonly>[[Category:Galactica Terran-Vasudan Alliance Ships]]</includeonly>
+
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 21:08, 30 July 2011

{{{name}}}


Usage

{{Gtvaship
| image     = 
| name      = 
| class     = 
| 1stapp    = 
| inservice = 
| location  = 
| faction   = 
| commander = 
| fate      = 
| squadrons = 
}}

Despite the name, this template can be used for any unique ship, not just GTVA ships. Location should only be used for installations.