Difference between revisions of "Template:InfoboxVehicle"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| style="width: 20em; text-align: left; font-size: 95%;" align="right"
 
{| style="width: 20em; text-align: left; font-size: 95%;" align="right"
 
|-  
 
|-  
! colspan="2" class="color2" style="font-size: larger; background: #ddd;" | {{{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|{{{TL}}}}}
 
|-
 
|-
 
! Mass
 
! Mass
Line 12: Line 13:
 
|-  
 
|-  
 
! Cost
 
! Cost
| {{{cr}}}
+
| {{{cost}}}
 
|-  
 
|-  
 
! Mode
 
! Mode
 
| {{{mode}}}
 
| {{{mode}}}
 +
|-
 +
! Type
 +
| {{#if: {{{type|}}}|[[{{{type}}}]]}}
 
|-  
 
|-  
 
! Speed
 
! Speed
Line 29: Line 33:
 
| {{{pass}}}
 
| {{{pass}}}
 
|-
 
|-
 +
{{#if: {{{arms|}}}|
 
! Armament
 
! Armament
| {{{arms}}}
+
{{!}} {{{arms}}}
|-  
+
{{!}}-}}
| colspan="2" style="font-size: smaller; border-top: 1px solid #aaa;" | {{{footnote}}}
+
{{#if: {{{manufacturer|}}}|
|}<includeonly>[[Category: Vehicle]]</includeonly><noinclude>
+
! Manufacturer
 +
{{!}} {{#ifeq: {{{manufacturer}}}|Various|{{{manufacturer}}}|[[{{{manufacturer}}}]]}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{alsosee|}}}|
 +
{{!}} Also see
 +
{{!}} {{{alsosee|}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{ref|}}}|
 +
{{!}} Reference
 +
{{!}} {{{ref}}}
 +
{{!}}-
 +
}}
 +
| colspan="2" style="font-size: smaller; border-top: 1px solid #aaa;" | {{{footnote|}}}
 +
|}<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">
 
  {{InfoboxVehicle
 
  {{InfoboxVehicle
|name    = {common name}
+
|name    = {common name}
 +
|image  = [[File: Imperial Sunburst-Sun-IISS-Traveller.gif]]
 +
|caption = {image caption}
 +
 
 
|arms    = {Weapons carried}
 
|arms    = {Weapons carried}
|caption = {image caption}
 
 
|cargo  = {Cargo volume of the craft}
 
|cargo  = {Cargo volume of the craft}
|cr      = {cost in credits, usually imperial credit}
+
|cost    = {cost in credits, usually imperial credit}
 
|crew    = {number of crew members}
 
|crew    = {number of crew members}
 
|footnote= {Additional note}
 
|footnote= {Additional note}
|image  = [[File: Imperial Sunburst-Sun-IISS-Traveller.gif]]
 
 
|mode    = {mode of transport, usually one of ground, flight, water, underwater}
 
|mode    = {mode of transport, usually one of ground, flight, water, underwater}
 +
|type    = {Value from [[:Category:Vehicle Type]]}
 
|pass    = {number of carried passengers}
 
|pass    = {number of carried passengers}
 
|QSP    = {T5 Core Rules Code, pgs. 314, 349}
 
|QSP    = {T5 Core Rules Code, pgs. 314, 349}
 +
|ref    = Optional. Primary source reference for this item. Use Template:Ludography ref if at all possible.
 
|size    = {mass in kg or tons}
 
|size    = {mass in kg or tons}
 
|speed  = {top speed velocity in kph}
 
|speed  = {top speed velocity in kph}

Latest revision as of 22:58, 14 February 2021

{{{name}}}
Tech Level TL–{{{TL}}}
Mass {{{size}}}
Cost {{{cost}}}
Mode {{{mode}}}
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}
 |image   = [[File: Imperial Sunburst-Sun-IISS-Traveller.gif]]
 |caption = {image caption}

|arms    = {Weapons carried}
|cargo   = {Cargo volume of the craft}
|cost     = {cost in credits, usually imperial credit}
|crew    = {number of crew members}
|footnote= {Additional note}
|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}
|ref     = Optional. Primary source reference for this item. Use Template:Ludography ref if at all possible. 
|size    = {mass in kg or tons}
|speed   = {top speed velocity in kph}
|TL      = [[TL-?]]
}}