Template:Ship box: Difference between revisions
test of templates and conditionals |
m let try something like this |
||
| Line 1: | Line 1: | ||
{| | {| | ||
{{#if: {{{ | |'''Name''' | ||
{{!}} [[ | |{{{name}}} | ||
{{!}} {{{ | |- | ||
{{#if: {{{type|}}}| | |||
{{!}} '''[[Technical_Terms_and_Definitions#Type|Type]]''' | |||
{{!}} {{{type}}} | |||
{{!}} | |||
}} | |||
|- | |||
{{#if: {{{manufacturer|}}}| | |||
{{!}} '''[[Technical_Terms_and_Definitions#Manufacturer|Manufacturer]]''' | |||
{{!}} {{{manufacturer}}} | |||
{{!}} | |||
}} | |||
|- | |||
{{#if: {{{maneuverability|}}}| | |||
{{!}} '''[[Technical_Terms_and_Definitions#Maneuverability|Maneuverability]]''' | |||
{{!}} {{{maneuverability}}} | |||
{{!}} | |||
}} | |||
|- | |||
{{#if: {{{max_velocity|}}}| | |||
{{!}} [[Technical_Terms_and_Definitions#Max Velocity|Max Velocity]] | |||
{{!}} {{{max_velocity}}} ms<sup>-1</sup> | |||
{{!}} | |||
}} | |||
|- | |||
{{#if: {{{max_ab_velocity|}}}| | |||
{{!}} [[Technical_Terms_and_Definitions#Max Afterburner Velocity|Max Afterburner Velocity]] | |||
{{!}} {{{max_ab_velocity}}} ms<sup>-1</sup> | |||
{{!}} | |||
}} | |||
|- | |||
{{#if: {{{max_ab_duration|}}}| | |||
{{!}} [[Technical_Terms_and_Definitions#Max Afterburner Duration|Max Afterburner Duration]] | |||
{{!}} {{{max_ab_duration}}} s | |||
{{!}} | |||
}} | |||
|- | |||
{{#if: {{{armor|}}}| | |||
{{!}} '''[[Technical_Terms_and_Definitions#Armor|Armor]]''' | |||
{{!}} {{{armor}}} | |||
{{!}} | |||
}} | |||
|- | |||
{{#if: {{{hitpoints|}}}| | |||
{{!}} [[Technical_Terms_and_Definitions#Hitpoints|Hitpoints]] | |||
{{!}} {{{hitpoints}}} pts | |||
{{!}} | |||
}} | |||
|- | |||
{{#if: {{{shields|}}}| | |||
{{!}} [[Technical_Terms_and_Definitions#Shields|Shields]] | |||
{{!}} {{{shields}}} pts | |||
{{!}} | |||
}} | |||
|- | |||
{{#if: {{{length|}}}| | |||
{{!}} '''[[Technical_Terms_and_Definitions#Length|Length]]''' | |||
{{!}} {{{length}}} | |||
{{!}} | {{!}} | ||
}} | }} | ||
|- | |- | ||
|} | |} | ||
Revision as of 09:51, 6 June 2010
| Name | {{{name}}} |