Difference between revisions of "Template:Ship Stats"

From FreeSpace Wiki
Jump to: navigation, search
(Template for ship stats, based on Bruce's for primaries.)
 
 
(6 intermediate revisions by 4 users not shown)
Line 7: Line 7:
 
| {{{2}}}
 
| {{{2}}}
 
|-
 
|-
| '''[[Technical_Terms_and_Definitions#Manuverablity|Manuverability]]'''
+
| '''[[Technical_Terms_and_Definitions#Maneuverability|Maneuverability]]'''
 
| {{{3}}}
 
| {{{3}}}
 +
|-
 +
| '''[[Technical_Terms_and_Definitions#Yaw, Pitch, Roll|Yaw, Pitch, Roll]]'''
 +
| {{{4}}} s
 
|-
 
|-
 
| '''[[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]]'''
 
| '''[[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]]'''
| {{{4}}} ms<sup>-1</sup>
+
| {{{5}}} ms<sup>-1</sup>
 
|-
 
|-
 
| '''[[Technical_Terms_and_Definitions#Max Afterburner Velocity|Max Afterburner Velocity]]'''
 
| '''[[Technical_Terms_and_Definitions#Max Afterburner Velocity|Max Afterburner Velocity]]'''
| {{{5}}} ms<sup>-1</sup>
+
| {{{6}}} ms<sup>-1</sup>
 
|-
 
|-
 
| '''[[Technical_Terms_and_Definitions#Armor|Armor]]'''
 
| '''[[Technical_Terms_and_Definitions#Armor|Armor]]'''
| {{{6}}}
+
| {{{7}}}
 
|-
 
|-
 
| [[Technical_Terms_and_Definitions#Hitpoints|Hitpoints]]
 
| [[Technical_Terms_and_Definitions#Hitpoints|Hitpoints]]
| {{{7}}}
+
| {{{8}}}
 
|-
 
|-
 
| [[Technical_Terms_and_Definitions#Shields|Shields]]
 
| [[Technical_Terms_and_Definitions#Shields|Shields]]
| {{{8}}}
+
| {{{9}}}
 
|-
 
|-
 
| '''[[Technical_Terms_and_Definitions#Length|Length]]'''
 
| '''[[Technical_Terms_and_Definitions#Length|Length]]'''
| {{{9}}} m
+
| {{{10}}} m
 
|}
 
|}
  
Line 32: Line 35:
  
 
==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|5.5, 6.0, 6.0|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 44: Line 48:
 
| Han-Ronald Corp.
 
| Han-Ronald Corp.
 
|-
 
|-
| '''[[Technical_Terms_and_Definitions#Manuverablity|Maneuverability]]'''
+
| '''[[Technical_Terms_and_Definitions#Maneuverability|Maneuverability]]'''
 
| Very Poor
 
| Very Poor
 +
|-
 +
| '''[[Technical_Terms_and_Definitions#Yaw, Pitch, Roll|Yaw, Pitch, Roll]]'''
 +
| 5.5, 6.0, 6.0 s
 
|-
 
|-
 
| '''[[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]]'''
 
| '''[[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]]'''
Line 64: Line 71:
 
| '''[[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"|[[TC-TRI]]
 
|}
 
|}
  
 
[[Category:Templates|Ship Stats]]
 
[[Category:Templates|Ship Stats]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:54, 9 October 2012

Type {{{1}}}
Manufacturer {{{2}}}
Maneuverability {{{3}}}
Yaw, Pitch, Roll {{{4}}} s
Max Velocity {{{5}}} ms-1
Max Afterburner Velocity {{{6}}} ms-1
Armor {{{7}}}
Hitpoints {{{8}}}
Shields {{{9}}}
Length {{{10}}} 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|5.5, 6.0, 6.0|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
Yaw, Pitch, Roll 5.5, 6.0, 6.0 s
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