Template:Vehicle infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "\| class="infoboxfooter" colspan="2" \|  ↵\|}" to "{{Infobox|end}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}")
Line 10: Line 10:
}}
}}
|-
|-
{{#if:{{{manufacturer|}}}|
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{line-title|Product line}}}|content={{{line|}}}}}
{{{manufacturer-title|Manufacturer}}}:
{{Infobox|entry|title={{{model-title|Model}}}|content={{{model|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{cost-title|Cost}}}|content={{{cost|}}}}}
{{{manufacturer}}}
}}
|-
{{#if:{{{line|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{line-title|Product line}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{line}}}
}}
|-
{{#if:{{{model|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{model-title|Model}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{model}}}
}}
|-
{{#if:{{{cost|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{cost-title|Cost}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{cost}}}
}}
|-
{{#if:{{{hideb|}}}||
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section2-title|Technical specifications}}}
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section2-title|Technical specifications}}}
}}
}}
|-
|-
{{#if:{{{length|}}}|
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
{{{length-title|Length}}}:
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{mass-title|Mass}}}|content={{{mass|}}}}}
{{{length}}}
{{Infobox|entry|title={{{max speed-title|Maximum speed}}}|content={{{max speed|}}}}}
}}
{{Infobox|entry|title={{{engine-title|Engine(s)}}}|content={{{engine|}}}}}
|-
{{Infobox|entry|title={{{othersystems-title|Other system(s)}}}|content={{{othersystems|}}}}}
{{#if:{{{width|}}}|
{{Infobox|entry|title={{{hull-title|Hull}}}|content={{{hull|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{armament-title|Armament}}}|content={{{armament|}}}}}
{{{width-title|Width}}}:
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{complement-title|Complement}}}|content={{{complement|}}}}}
{{{width}}}
{{Infobox|entry|title={{{consumables-title|Consumables}}}|content={{{consumables|}}}}}
}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
|-
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height-title|Height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height}}}
}}
|-
{{#if:{{{mass|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{mass-title|Mass}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{mass}}}
}}
|-
{{#if:{{{max speed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{max speed-title|Maximum speed}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{max speed}}}
}}
|-
{{#if:{{{engine|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{engine-title|Engine(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{engine}}}
}}
|-
{{#if:{{{othersystems|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{othersystems-title|Other system(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{othersystems}}}
}}
|-
{{#if:{{{hull|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{hull-title|Hull}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{hull}}}
}}
|-
{{#if:{{{armament|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{armament-title|Armament}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{armament}}}
}}
|-
{{#if:{{{crew|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{crew-title|Crew}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{crew}}}
}}
|-
{{#if:{{{complement|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{complement-title|Complement}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{complement}}}
}}
|-
{{#if:{{{consumables|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{consumables-title|Consumables}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{consumables}}}
}}
|-
{{#if:{{{misc|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc-title|Miscellaneous}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc}}}
}}
|-
{{#if:{{{hidec|}}}||
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section3-title|Usage}}}
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section3-title|Usage}}}
}}
}}
|-
|-
{{#if:{{{firstuse|}}}|
{{Infobox|entry|title={{{firstuse-title|Year introduced}}}|content={{{firstuse|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{service-title|In service}}}|content={{{service|}}}}}
{{{firstuse-title|Year introduced}}}:
{{Infobox|entry|title={{{role-title|Role(s)}}}|content={{{role|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{{firstuse}}}
}}
|-
{{#if:{{{service|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{service-title|In service}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{service}}}
}}
|-
{{#if:{{{role|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{role-title|Role(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{role}}}
}}
|-
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation-title|Affiliation}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{affiliation}}}
}}
|-
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagetitle|{{{pagename|{{PAGENAME}}}}} - {{{pagelabel|Vehicle {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}}}}</includeonly><noinclude>__NOTOC__
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagetitle|{{{pagename|{{PAGENAME}}}}} - {{{pagelabel|Vehicle {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}}}}</includeonly><noinclude>__NOTOC__
{{clear}}
{{clear}}

Revision as of 13:30, August 29, 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. 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
|name=
|image=
|manufacturer=
|line=
|model=
|cost=
|length=
|width=
|height=
|mass=
|max speed=
|engine=
|hull=
|armament=
|crew=
|complement=
|consumables=
|othersystems=
|firstuse=
|service=
|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=
|service-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=