Difference between revisions of "Template:Ship Stats"

From FreeSpace Wiki
Jump to: navigation, search
m
(updated usage info)
Line 10: Line 10:
 
| {{{3}}}
 
| {{{3}}}
 
|-
 
|-
| '''[[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]]'''
+
ik| '''[[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]]'''
 
| {{{4}}} ms<sup>-1</sup>
 
| {{{4}}} ms<sup>-1</sup>
 
|-
 
|-
Line 32: Line 32:
  
 
==Usage==
 
==Usage==
 +
To add stat information to a ship using this template, fill it out as seen in this example (taken from the [[GTB Ursa]] entry).
 +
 +
<tt><nowiki>{{Ship Stats|Assault Bomber|Han-Ronald Corp.|Very Poor|45.0 - 60.0|90.0|Ultra Heavy|550|850|41}}</nowiki></tt>
  
<nowiki>{{Ship Stats|Assault Bomber|Han-Ronald Corp.|Very Poor|45.0 - 60.0|90.0|Ultra Heavy|550|850|41}}</nowiki>
+
That input will result in the table below:
 
 
Makes
 
 
{|
 
{|
 
|-
 
|-
Line 64: Line 65:
 
| '''[[Technical_Terms_and_Definitions#Length|Length]]'''
 
| '''[[Technical_Terms_and_Definitions#Length|Length]]'''
 
| 41 m
 
| 41 m
 +
|}
 +
 +
 +
----
 +
 +
To add additional information that isn't included in the template, such as compatible containers for freighters, add it like this (example from the [[GTFr Triton]] entry):
 +
 +
<tt><nowiki>{{Ship Stats|Freighter|Unknown|N/A|30.0|N/A|N/A|5000|N/A|484}}{|-</nowiki><br />
 +
<nowiki>| style="width:200px"|'''[[Technical_Terms_and_Definitions#Compatible Containers|Compatible Containers]]'''</nowiki><br />
 +
<nowiki>| style="width:200px"|[[Containers#TC-TRI|TC-TRI]]</nowiki><br />
 +
<nowiki>|}
 +
</nowiki></tt>
 +
 +
This will cause it to appear as a direct extension of the template, as seen below:
 +
 +
{|
 +
|-
 +
| style="width:200px" | '''[[Technical_Terms_and_Definitions#Type|Type]]'''
 +
| style="width:200px" | Freighter
 +
|-
 +
| '''[[Technical_Terms_and_Definitions#Manufacturer|Manufacturer]]'''
 +
| Unknown
 +
|-
 +
| '''[[Technical_Terms_and_Definitions#Manuverablity|Maneuverability]]'''
 +
| N/A
 +
|-
 +
| '''[[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]]'''
 +
| 30.0 ms<sup>-1</sup>
 +
|-
 +
| '''[[Technical_Terms_and_Definitions#Max Afterburner Velocity|Max Afterburner Velocity]]'''
 +
| N/A ms<sup>-1</sup>
 +
|-
 +
| '''[[Technical_Terms_and_Definitions#Armor|Armor]]'''
 +
| N/A
 +
|-
 +
| [[Technical_Terms_and_Definitions#Hitpoints|Hitpoints]]
 +
| 5000
 +
|-
 +
| [[Technical_Terms_and_Definitions#Shields|Shields]]
 +
| N/A
 +
|-
 +
| '''[[Technical_Terms_and_Definitions#Length|Length]]'''
 +
| 484 m
 +
|}
 +
{|-
 +
| style="width:200px"|'''[[Technical_Terms_and_Definitions#Compatible Containers|Compatible Containers]]'''
 +
| style="width:200px"|[[Containers#TC-TRI|TC-TRI]]
 
|}
 
|}
  
 
[[Category:Templates|Ship Stats]]
 
[[Category:Templates|Ship Stats]]
 
</noinclude>
 
</noinclude>

Revision as of 16:56, 27 August 2007

ik| Max Velocity
Type {{{1}}}
Manufacturer {{{2}}}
Maneuverability {{{3}}}
{{{4}}} ms-1
Max Afterburner Velocity {{{5}}} ms-1
Armor {{{6}}}
Hitpoints {{{7}}}
Shields {{{8}}}
Length {{{9}}} m


Usage

To add stat information to a ship using this template, fill it out as seen in this example (taken from the GTB Ursa entry).

{{Ship Stats|Assault Bomber|Han-Ronald Corp.|Very Poor|45.0 - 60.0|90.0|Ultra Heavy|550|850|41}}

That input will result in the table below:

Type Assault Bomber
Manufacturer Han-Ronald Corp.
Maneuverability Very Poor
Max Velocity 45.0 - 60.0 ms-1
Max Afterburner Velocity 90.0 ms-1
Armor Ultra Heavy
Hitpoints 550
Shields 850
Length 41 m



To add additional information that isn't included in the template, such as compatible containers for freighters, add it like this (example from the GTFr Triton entry):

{{Ship Stats|Freighter|Unknown|N/A|30.0|N/A|N/A|5000|N/A|484}}{|-
| style="width:200px"|'''[[Technical_Terms_and_Definitions#Compatible Containers|Compatible Containers]]'''
| style="width:200px"|[[Containers#TC-TRI|TC-TRI]]
|}

This will cause it to appear as a direct extension of the template, as seen below:

Type Freighter
Manufacturer Unknown
Maneuverability N/A
Max Velocity 30.0 ms-1
Max Afterburner Velocity N/A ms-1
Armor N/A
Hitpoints 5000
Shields N/A
Length 484 m
Compatible Containers TC-TRI