Template:Vehicle infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "border-bottom:1px solid " to "border-color:")
No edit summary
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#5D8AA8}}}; color:{{{color|#000}}}" cellspacing="0"
{| class="infobox" style="width:260px; background:{{{BG|#5D8AA8}}}; color:{{{color|#000}}}" cellspacing="0"
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section1-title|Production information}}}}}
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}; color:{{{color3|#000}}}" {{!}} {{{section1-title|Production information}}}
{{!}}-
}}
|-
{{#if:{{{manufacturer|}}}|
{{#if:{{{manufacturer|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{manufacturer-title|Manufacturer}}}:
{{{manufacturer-title|Manufacturer}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{manufacturer|}}}
{{{manufacturer}}}
{{!}}-}}
}}
|-
{{#if:{{{line|}}}|
{{#if:{{{line|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{line-title|Product line}}}:
{{{line-title|Product line}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{line|}}}
{{{line}}}
{{!}}-}}
}}
|-
{{#if:{{{model|}}}|
{{#if:{{{model|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{model-title|Model}}}:
{{{model-title|Model}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{model|}}}
{{{model}}}
{{!}}-}}
}}
|-
{{#if:{{{cost|}}}|
{{#if:{{{cost|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{cost-title|Cost}}}:
{{{cost-title|Cost}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{cost|}}}
{{{cost}}}
{{!}}-}}
}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
|-
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section2-title|Technical specifications}}}}}
{{#if:{{{hideb|}}}||
{{!}}-
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}; color:{{{color3|#000}}}" {{!}} {{{section2-title|Technical specifications}}}
}}
|-
{{#if:{{{length|}}}|
{{#if:{{{length|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{length-title|Length}}}:
{{{length-title|Length}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{length|}}}
{{{length}}}
{{!}}-}}
}}
|-
{{#if:{{{width|}}}|
{{#if:{{{width|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{width-title|Width}}}:
{{{width-title|Width}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{width|}}}
{{{width}}}
{{!}}-}}
}}
|-
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height-title|Height}}}:
{{{height-title|Height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height|}}}
{{{height}}}
{{!}}-}}
}}
|-
{{#if:{{{mass|}}}|
{{#if:{{{mass|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{mass-title|Mass}}}:
{{{mass-title|Mass}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{mass|}}}
{{{mass}}}
{{!}}-}}
}}
|-
{{#if:{{{max speed|}}}|
{{#if:{{{max speed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{max speed-title|Maximum speed}}}:
{{{max speed-title|Maximum speed}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{max speed|}}}
{{{max speed}}}
{{!}}-}}
}}
|-
{{#if:{{{engine|}}}|
{{#if:{{{engine|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{engine-title|Engine(s)}}}:
{{{engine-title|Engine(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{engine|}}}
{{{engine}}}
{{!}}-}}
}}
|-
{{#if:{{{othersystems|}}}|
{{#if:{{{othersystems|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{othersystems-title|Other system(s)}}}:
{{{othersystems-title|Other system(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{othersystems|}}}
{{{othersystems}}}
{{!}}-}}
}}
|-
{{#if:{{{hull|}}}|
{{#if:{{{hull|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{hull-title|Hull}}}:
{{{hull-title|Hull}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{hull|}}}
{{{hull}}}
{{!}}-}}
}}
|-
{{#if:{{{armament|}}}|
{{#if:{{{armament|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{armament-title|Armament}}}:
{{{armament-title|Armament}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{armament|}}}
{{{armament}}}
{{!}}-}}
}}
|-
{{#if:{{{crew|}}}|
{{#if:{{{crew|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{crew-title|Crew}}}:
{{{crew-title|Crew}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{crew|}}}
{{{crew}}}
{{!}}-}}
}}
|-
{{#if:{{{complement|}}}|
{{#if:{{{complement|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{complement-title|Complement}}}:
{{{complement-title|Complement}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{complement|}}}
{{{complement}}}
{{!}}-}}
}}
|-
{{#if:{{{consumables|}}}|
{{#if:{{{consumables|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{consumables-title|Consumables}}}:
{{{consumables-title|Consumables}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{consumables|}}}
{{{consumables}}}
{{!}}-}}
}}
|-
{{#if:{{{misc|}}}|
{{#if:{{{misc|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc-title|Miscellaneous}}}:
{{{misc-title|Miscellaneous}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc|}}}
{{{misc}}}
{{!}}-}}
}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
|-
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section3-title|Usage}}}}}
{{#if:{{{hidec|}}}||
{{!}}-
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}; color:{{{color3|#000}}}" {{!}} {{{section3-title|Usage}}}
}}
|-
{{#if:{{{firstuse|}}}|
{{#if:{{{firstuse|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{firstuse-title|Year introduced}}}:
{{{firstuse-title|Year introduced}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{firstuse|}}}
{{{firstuse}}}
{{!}}-}}
}}
|-
{{#if:{{{role|}}}|
{{#if:{{{role|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{role-title|Role(s)}}}:
{{{role-title|Role(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{role|}}}
{{{role}}}
{{!}}-}}
}}
|-
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation-title|Affiliation}}}:
{{{affiliation-title|Affiliation}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation|}}}
{{{affiliation}}}
{{!}}-}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>__NOTOC__
|}<noinclude>__NOTOC__

Latest revision as of 18:17, August 7, 2023

Vehicle infobox
Production information
Technical specifications
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.

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=