Difference between revisions of "Template:Gtvaship"

From FreeSpace Wiki
Jump to: navigation, search
m (adding parserfunctions stuffs and stuff)
m (removing redundant parameter)
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
|-
 
|-
 
{{#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}}}|}}
|-
 
{{#if: {{{name|}}}|
 
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Name:'''
 
{{!}}bgcolor="#101010"{{!}}{{{name}}}
 
|}}
 
 
|-
 
|-
 
{{#if: {{{class|}}}|
 
{{#if: {{{class|}}}|
Line 23: Line 18:
 
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''In Service:'''
 
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''In Service:'''
 
{{!}}bgcolor="#101010"{{!}}{{{inservice}}}
 
{{!}}bgcolor="#101010"{{!}}{{{inservice}}}
 +
|}}
 +
|-
 +
{{#if: {{{location|}}}|
 +
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Location:'''
 +
{{!}}bgcolor="#101010"{{!}}{{{location}}}
 +
|}}
 +
|-
 +
{{#if: {{{faction|}}}|
 +
{{!}}bgcolor="#302020" style="background-color:  #402020; color: #f9f9f9;"{{!}}'''Faction:'''
 +
{{!}}bgcolor="#101010"{{!}}{{{faction}}}
 
|}}
 
|}}
 
|-
 
|-
Line 41: Line 46:
 
|}}
 
|}}
 
|}
 
|}
 
 
 
<noinclude>
 
<noinclude>
 
<br clear=all>
 
<br clear=all>
Line 52: Line 55:
 
| 1stapp    =  
 
| 1stapp    =  
 
| inservice =  
 
| inservice =  
| commander =
+
| location  =
| fate      =
+
| faction  =
 +
| commander =  
 +
| fate      =  
 
| squadrons =  
 
| squadrons =  
 
}}</pre>
 
}}</pre>
 +
 +
Despite the name, this template can be used for any unique ship, not just GTVA ships. Location should only be used for installations.
  
 
[[Category:Templates]]</noinclude>
 
[[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.