Difference between revisions of "Template:InfoboxVehicle"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 3: Line 3:
 
! colspan="2" class="color2" style="font-size: larger; background: #000;color: #FFFFFF" | {{{name}}}
 
! colspan="2" class="color2" style="font-size: larger; background: #000;color: #FFFFFF" | {{{name}}}
 
|-  
 
|-  
| colspan="2" style="text-align: center; font-size: smaller;" |{{{image}}}<br>{{{caption}}}
+
{{#if: {{{image|}}}|
|-  
+
{{!}} colspan="2" style="text-align: center; font-size: smaller;" {{!}}{{{image}}}<br>{{{caption}}}
 +
{{!}}-}}
 
![[Tech level|Tech Level]]
 
![[Tech level|Tech Level]]
 
| {{{TL}}}
 
| {{{TL}}}
Line 32: Line 33:
 
| {{{pass}}}
 
| {{{pass}}}
 
|-
 
|-
 +
{{#if: {{{arms|}}}|
 
! Armament
 
! Armament
| {{{arms}}}
+
{{!}} {{{arms}}}
|-  
+
{{!}}-}}
| colspan="2" style="font-size: smaller; border-top: 1px solid #aaa;" | {{{footnote}}}
+
| colspan="2" style="font-size: smaller; border-top: 1px solid #aaa;" | {{{footnote|}}}
|}<includeonly>[[Category: Vehicle]]</includeonly><noinclude>
+
|}<includeonly>[[Category: Vehicle]]{{#if: {{{type|}}}|[[Category:{{{type}}}]]}}</includeonly><noinclude>
 
The Infobox Vehicle is used to display a box of standard information about vehicles.  
 
The Infobox Vehicle is used to display a box of standard information about vehicles.  
 
<pre style="clear:both">
 
<pre style="clear:both">

Revision as of 11:45, 21 June 2020

{{{name}}}
Tech Level {{{TL}}}
Mass {{{size}}}
Cost {{{cr}}}
Mode {{{mode}}}
Type {{{type}}}
Speed {{{speed}}}
Cargo {{{cargo}}}
Crew {{{crew}}}
Passengers {{{pass}}}

The Infobox Vehicle is used to display a box of standard information about vehicles.

 {{InfoboxVehicle
|name    = {common name}
|arms    = {Weapons carried}
|caption = {image caption}
|cargo   = {Cargo volume of the craft}
|cr      = {cost in credits, usually imperial credit}
|crew    = {number of crew members}
|footnote= {Additional note}
|image   = [[File: Imperial Sunburst-Sun-IISS-Traveller.gif]]
|mode    = {mode of transport, usually one of ground, flight, water, underwater}
|type    = {Value from Category:Vehicle Type}
|pass    = {number of carried passengers}
|QSP     = {T5 Core Rules Code, pgs. 314, 349}
|size    = {mass in kg or tons}
|speed   = {top speed velocity in kph}
|TL      = [[TL-?]]
}}