Template:Vehicle infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
<tr><td colspan="2"><div id="infoboxinternal">
 
<tr>
<td colspan="2">
<div id="infoboxinternal">
 
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#669}}};">{{{image|}}}</td></tr>
 
<tr style="text-align:center; color:#ffffff; background:#669; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>{{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#bbd;">'''Production information'''</th></tr>}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Manufacturer</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
<tr style="text-align:center;">
<td colspan="2" style="padding:0; background:{{{imageBG|#669}}};">{{{image|}}}</td>
</tr>
 
<tr style="text-align:center; color:#ffffff; background:#669; font-size:larger;">
<th colspan="2">{{{name}}}</th>
</tr>
{{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#bbd;">'''Production information'''</th></tr>}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Manufacturer</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{manufacturer|}}}
{{{manufacturer|}}}
</td></tr>|1{{{manufacturer|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Product line</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
</td>
 
</tr>|1{{{manufacturer|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Product line</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{line|}}}
{{{line|}}}
</td></tr>|1{{{line|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Model</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
</td></tr>|1{{{line|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Model</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
Line 74: Line 88:
{{{affiliation|}}}
{{{affiliation|}}}
</td></tr>|1{{{affiliation|}}}=}}</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Ship|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>__NOTOC__
</td></tr>|1{{{affiliation|}}}=}}</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Ship|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>__NOTOC__
{{clear}}
 
==Usage==
==Usage==
This is an infobox for technical and usage information on various classes of space vehicles. The fields are relevant to starships, fighters, shuttles, space stations, and most other spacefaring constructs.
This is an infobox for technical and usage information on various classes of space vehicles. The fields are relevant to starships, fighters, shuttles, space stations, and most other spacefaring constructs.
Line 170: Line 184:


Do not modify the template HTML code directly. Instead edit the source and replace the entire table with it.
Do not modify the template HTML code directly. Instead edit the source and replace the entire table with it.
[[Category:Spacecraft infobox templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 22:08, November 18, 2006

  [Source]

Usage

This is an infobox for technical and usage information on various classes of space vehicles. The fields are relevant to starships, fighters, shuttles, space stations, and most other spacefaring constructs.

For individual examples of a known class, do not use this template. Use {{Individual ship infobox}} instead.

Instructions

Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.

{{Ship
|image=
|name=
|manufacturer=
|line=
|model=
|class=
|length=
|width=
|height=
|max accel=
|mglt=
|max speed=
|engine=
|hyperdrive=
|hdsystem=
|poweroutput=
|power=
|shield gen=
|hull=
|sensor=
|target=
|navigation=
|avionics=
|countermeasures=
|armament=
|complement=
|crew=
|skeleton=
|passengers=
|capacity=
|consumables=
|othersystems=
|firstuse=
|role=
|era= 
|affiliation=}}

Data fields

  • name – Simply list the name of the ship in italics.
  • image – put a link to the image at a width of 250 pixels or less.
  • manufacturer – Put the manufacturer name here
  • model – List the full official class name.
  • class – List the primary classification of the model
  • cost – List the cost of the ship (and the currency type if needed)
  • length – Length of the ship
  • width – Width of the ship
  • height – Height of the ship
  • max accel – Maximum acceleration in "g"
  • mglt – Speed in MGLT -- do not use if "max accel" is known. MGLT is primarily a gameplay mechanic.
  • max speed – Maximum atmospheric speed
  • engine – Types of sublight and atmospheric drive systems
  • hyperdrive – Hyperdrive ratings
  • hdsystem – Hyperdrive system (or "none" if no hyperdrive)
  • poweroutput – Power output in watts (this field will rarely be used)
  • power – Types of power systens
  • shield gen – Type of shield generators (with rating if known)
  • hull – Type of hull materials (with rating if known)
  • sensor – Types of sensor systems
  • target – Types of targeting systems
  • navigation – Navigation computer systems
  • avionics – Avionics/flight control systems
  • countermeasures – ECM and stealth systems
  • armament – List of weaponry equipped
  • complement – Support craft carried onboard
  • crew – Number of crew (with crew breakdown if known)
  • skeleton – Minimum crew required for operation
  • passengers – Number and type of passengers carried
  • capacity – Cargo capacity (be careful, this may overlap with complement and passengers)
  • consumables – Duration of consumable goods stored aboard
  • othersystems – Any systems not listed above
  • firstuse – Enter the date the class was introduced
  • role – List what the ship is used for here
  • era – List the eras in which the ship is used here
  • affiliation – List the governments and major organizations that use the ship here

Display parameters

  • hidep (hides production information section header)
  • hidet (hides Tech. spec. section header)
  • hideu (hides Usage section header)

Source

{{subst:slh|#669|250px}} {{subst:sls|Production information|#bbd|hidep}} {{subst:sld|Manufacturer|manufacturer}} {{subst:sld|Product line|line}} {{subst:sld|Model|model}} {{subst:sld|Class|class}} {{subst:sld|Cost|cost}} {{subst:sls|Technical specifications|#bbd|hidet}} {{subst:sld|Length|length}} {{subst:sld|Width|width}} {{subst:sld|Height/depth|height}} {{subst:sld|Maximum acceleration|max accel}} {{subst:sld|MGLT|mglt}} {{subst:sld|Maximum speed (atmosphere)|max speed}} {{subst:sld|Engine unit(s)|engine}} {{subst:sld|Hyperdrive rating|hyperdrive}} {{subst:sld|Hyperdrive system|hdsystem}} {{subst:sld|Power output|poweroutput}} {{subst:sld|Power plant|power}} {{subst:sld|Shielding|shield gen}} {{subst:sld|Hull|hull}} {{subst:sld|Sensor systems|sensor}} {{subst:sld|Targeting systems|target}} {{subst:sld|Navigation system|navigation}} {{subst:sld|Avionics|avionics}} {{subst:sld|Countermeasures|countermeasures}} {{subst:sld|Armament|armament}} {{subst:sld|Complement|complement}} {{subst:sld|Crew|crew}} {{subst:sld|Minimum crew|skeleton}} {{subst:sld|Passengers|passengers}} {{subst:sld|Cargo capacity|capacity}} {{subst:sld|Consumables|consumables}} {{subst:sld|Other systems|othersystems}} {{subst:sls|Usage|#bbd|hideu}} {{subst:sld|Year introduced|firstuse}} {{subst:sld|Role(s)|role}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}

Do not modify the template HTML code directly. Instead edit the source and replace the entire table with it.