Difference between revisions of "Template:Gtvaship"

From FreeSpace Wiki
Jump to: navigation, search
m ((snail is a little dumb))
m (adding parserfunctions stuffs and stuff)
Line 5: Line 5:
 
{{#if: {{{image|}}}|{{!}}colspan="2" style="background-color:  #000000; text-align: center; color: #cccccc;"{{!}}{{{image}}}|}}
 
{{#if: {{{image|}}}|{{!}}colspan="2" style="background-color:  #000000; text-align: center; color: #cccccc;"{{!}}{{{image}}}|}}
 
|-
 
|-
|bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"|'''Name:'''
+
{{#if: {{{name|}}}|
|bgcolor="#101010"|{{{name}}}
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Name:'''
 +
{{!}}bgcolor="#101010"{{!}}{{{name}}}
 +
|}}
 
|-
 
|-
|bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"|'''Class:'''
+
{{#if: {{{class|}}}|
|bgcolor="#101010"|{{{class}}}
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Class:'''
 +
{{!}}bgcolor="#101010"{{!}}{{{class}}}
 +
|}}
 
|-
 
|-
|bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"|'''First Appeared:'''
+
{{#if: {{{1stapp|}}}|
|bgcolor="#101010"|{{{1stapp}}}
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''First Appearance:'''
 +
{{!}}bgcolor="#101010"{{!}}{{{1stapp}}}
 +
|}}
 
|-
 
|-
|bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"|'''In Service:'''
+
{{#if: {{{inservice|}}}|
|bgcolor="#101010"|{{{inservice}}}
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''In Service:'''
 +
{{!}}bgcolor="#101010"{{!}}{{{inservice}}}
 +
|}}
 
|-
 
|-
|bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"|'''Commander:'''
+
{{#if: {{{commander|}}}|
|bgcolor="#101010"|{{{commander}}}
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Commander:'''
 +
{{!}}bgcolor="#101010"{{!}}{{{commander}}}
 +
|}}
 
|-
 
|-
|bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"|'''Fate:'''
+
{{#if: {{{fate|}}}|
|bgcolor="#101010"|{{{fate}}}
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Fate:'''
 +
{{!}}bgcolor="#101010"{{!}}{{{fate}}}
 +
|}}
 
|-
 
|-
|bgcolor="#302020" style="background-color:  #402020; -moz-border-radius-bottomleft: 1em;  color: #f9f9f9;"|'''Squadrons:'''
+
{{#if: {{{squadrons|}}}|
|bgcolor="#101010"|
+
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Squadrons:'''
 +
{{!}}bgcolor="#101010"{{!}}
 
{{{squadrons}}}
 
{{{squadrons}}}
 +
|}}
 
|}
 
|}
  

Revision as of 23:31, 28 July 2011

{{{name}}}



Usage

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