Template:Vehicle infobox: Difference between revisions
From Halopedia, the Halo wiki
mNo edit summary |
m (rmvd "era", "sensor" and "target" fields; not used at all.) |
||
Line 1: | Line 1: | ||
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; background:{{{BG|#5D8AA8}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color|inherit}}};" | |||
{{!}}- | |||
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
{{!}}- | |||
{{#if:{{{image|}}}| | |||
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="font-size:90%; text-align:center; background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section1-title|Production information}}}}} | |||
{{!}}- | |||
{{#if:{{{manufacturer|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{manufacturer-title|Manufacturer}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{ | |||
{{ | |||
{{{manufacturer|}}} | {{{manufacturer|}}} | ||
{{!}}-}} | |||
{{#if:{{{line|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{line-title|Product line}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{line|}}} | {{{line|}}} | ||
{{!}}-}} | |||
{{#if:{{{model|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{model-title|Model}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{model|}}} | {{{model|}}} | ||
{{!}}-}} | |||
{{#if:{{{cost|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{cost-title|Cost}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{cost|}}} | {{{cost|}}} | ||
{{!}}-}} | |||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="font-size:90%; text-align:center; background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section2-title|Technical specifications}}}}} | |||
{{!}}- | |||
{{#if:{{{length|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{length-title|Length}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{length|}}} | {{{length|}}} | ||
{{!}}-}} | |||
{{#if:{{{width|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{width-title|Width}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{width|}}} | {{{width|}}} | ||
{{!}}-}} | |||
{{#if:{{{height|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{height-title|Height}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{height|}}} | {{{height|}}} | ||
{{!}}-}} | |||
{{#if:{{{mass|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{mass-title|Mass}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{mass|}}} | {{{mass|}}} | ||
{{!}}-}} | |||
{{#if:{{{max speed|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{max speed-title|Maximum speed}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{max speed|}}} | {{{max speed|}}} | ||
{{!}}-}} | |||
{{#if:{{{engine|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{engine-title|Engine(s)}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{engine|}}} | {{{engine|}}} | ||
{{!}}-}} | |||
{{#if:{{{othersystems|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{othersystems-title|Other system(s)}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{othersystems|}}} | |||
{{!}}-}} | |||
{{#if:{{{hull|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{hull-title|Hull}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{hull|}}} | {{{hull|}}} | ||
{{!}}-}} | |||
{{{ | {{#if:{{{armament|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{ | '''{{{armament-title|Armament}}}:''' | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{ | |||
{{{armament|}}} | {{{armament|}}} | ||
{{!}}-}} | |||
{{#if:{{{crew|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{crew-title|Crew}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{crew|}}} | {{{crew|}}} | ||
{{!}}-}} | |||
{{#if:{{{complement|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{complement-title|Complement}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{complement|}}} | {{{complement|}}} | ||
{{!}}-}} | |||
{{#if:{{{consumables|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{consumables-title|Consumables}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{consumables|}}} | {{{consumables|}}} | ||
{{!}}-}} | |||
{{{ | {{#if:{{{misc|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{misc-title|Miscellaneous}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{misc|}}} | |||
{{!}}-}} | |||
{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | |||
! class="infoboxsubheading" colspan="2" style="font-size:90%; text-align:center; background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section3-title|Usage}}}}} | |||
{{!}}- | |||
{{#if:{{{firstuse|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{firstuse-title|Year introduced}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{firstuse|}}} | {{{firstuse|}}} | ||
{{!}}-}} | |||
{{#if:{{{role|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{role-title|Role(s)}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{role|}}} | {{{role|}}} | ||
{{!}}-}} | |||
{{ | {{#if:{{{affiliation|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{affiliation-title|Affiliation}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{affiliation|}}} | {{{affiliation|}}} | ||
{{!}}-}} | |||
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Vehicle Infobox|<span style="color:#FFFFFF;">[Source]</span>]] | |||
|}<noinclude>__NOTOC__ | |||
{{clear}} | |||
==Usage== | ==Usage== | ||
This infobox is for the usage of various models of ground and aerial vehicles. The fields are relevant to tanks, AFVs, LRVs, gunships, and many other vehicles meant solely for planetary combat. For individual ships, see [[Template:Individual Ship Infobox]]. For specific class of ships, see [[Template:Ship Class Infobox]]. | This infobox is for the usage of various models of ground and aerial vehicles. The fields are relevant to tanks, AFVs, LRVs, gunships, and many other vehicles meant solely for planetary combat. For individual ships, see [[Template:Individual Ship Infobox]]. For specific class of ships, see [[Template:Ship Class Infobox]]. | ||
Line 70: | Line 144: | ||
==Instructions== | ==Instructions== | ||
Cut and paste the following code into your article, then put the relevant specifications after the "=" signs. | Cut and paste the following code into your article, then put the relevant specifications after the "=" signs. | ||
<pre> | <pre> | ||
{{Vehicle Infobox | |||
|image= | |image= | ||
|manufacturer= | |manufacturer= | ||
|line= | |line= | ||
Line 84: | Line 158: | ||
|engine= | |engine= | ||
|hull= | |hull= | ||
|armament= | |armament= | ||
|crew= | |crew= | ||
Line 93: | Line 165: | ||
|firstuse= | |firstuse= | ||
|role= | |role= | ||
|affiliation= | |affiliation= | ||
}}</ | }} | ||
</pre> | |||
==Custom parameters== | |||
The following allows you to alter the title of the sub-sections: | |||
<pre> | |||
|manufacturer-title= | |||
|line-title= | |||
|model-title= | |||
|length-title= | |||
|width-title= | |||
|height-title= | |||
|mass-title= | |||
|max speed-title= | |||
|engine-title= | |||
|hull-title= | |||
|armament-title= | |||
|complement-title= | |||
|crew-title= | |||
|consumables-title= | |||
|othersystems-title= | |||
|firstuse-title= | |||
|role-title= | |||
|affiliation-title= | |||
|imageBG= | |||
|nameBG= | |||
|sectionBG= | |||
|fieldBG= | |||
|titleBG= | |||
|section1-title= | |||
|section2-title= | |||
|section3-title= | |||
</pre> | |||
==Display parameters== | |||
The following allows you to hide the section header | |||
*hidea (hides Production section header) | |||
*hideb (hides Tech Specs section header) | |||
*hidec (hides Usage section header) | |||
<pre> | |||
|hidea= | |||
|hideb= | |||
|hidec= | |||
</pre> | |||
[[Category: Infoboxes|{{PAGENAME}}]] | [[Category: Infoboxes|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 11:37, August 24, 2011
Vehicle infobox | |
---|---|
Production information | |
Technical specifications | |
Usage | |
[Source] |
Usage
This infobox is for the usage of various models of ground and aerial vehicles. The fields are relevant to tanks, AFVs, LRVs, gunships, and many other vehicles meant solely for planetary combat. For individual ships, see Template:Individual Ship Infobox. For specific class of ships, see Template:Ship Class Infobox.
Instructions
Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.
{{Vehicle Infobox |image= |manufacturer= |line= |model= |cost= |length= |width= |height= |mass= |max speed= |engine= |hull= |armament= |crew= |complement= |consumables= |othersystems= |firstuse= |role= |affiliation= }}
Custom parameters
The following allows you to alter the title of the sub-sections:
|manufacturer-title= |line-title= |model-title= |length-title= |width-title= |height-title= |mass-title= |max speed-title= |engine-title= |hull-title= |armament-title= |complement-title= |crew-title= |consumables-title= |othersystems-title= |firstuse-title= |role-title= |affiliation-title= |imageBG= |nameBG= |sectionBG= |fieldBG= |titleBG= |section1-title= |section2-title= |section3-title=
Display parameters
The following allows you to hide the section header
- hidea (hides Production section header)
- hideb (hides Tech Specs section header)
- hidec (hides Usage section header)
|hidea= |hideb= |hidec=