Template:Vehicle infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "! class="infoboxheading" colspan="2" style="[^\n"]+" (\||{{!}}) {{#if:{{{name\|}}}\|{{{name}}}\|{{PAGENAME}}}}↵\|-" to "{{Infobox|title|name={{{name|}}}}}")
No edit summary
Line 2: Line 2:
{{Infobox|title|name={{{name|}}}}}
{{Infobox|title|name={{{name|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{#if:{{{hidea|}}}||
 
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section1-title|Production information}}}
{{Infobox|section|title={{{section1-title|Production information}}}|bg=#BCD4E6|color=#000|entries=
}}
|-
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
{{Infobox|entry|title={{{line-title|Product line}}}|content={{{line|}}}}}
{{Infobox|entry|title={{{line-title|Product line}}}|content={{{line|}}}}}
{{Infobox|entry|title={{{model-title|Model}}}|content={{{model|}}}}}
{{Infobox|entry|title={{{model-title|Model}}}|content={{{model|}}}}}
{{Infobox|entry|title={{{cost-title|Cost}}}|content={{{cost|}}}}}
{{Infobox|entry|title={{{cost-title|Cost}}}|content={{{cost|}}}}}
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section2-title|Technical specifications}}}
}}
}}
|-
 
{{Infobox|section|title={{{section2-title|Technical specifications}}}|bg=#BCD4E6|color=#000|entries=
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
Line 27: Line 24:
{{Infobox|entry|title={{{consumables-title|Consumables}}}|content={{{consumables|}}}}}
{{Infobox|entry|title={{{consumables-title|Consumables}}}|content={{{consumables|}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section3-title|Usage}}}
}}
}}
|-
 
{{Infobox|section|title={{{section3-title|Usage}}}|bg=#BCD4E6|color=#000|entries=
{{Infobox|entry|title={{{firstuse-title|Year introduced}}}|content={{{firstuse|}}}}}
{{Infobox|entry|title={{{firstuse-title|Year introduced}}}|content={{{firstuse|}}}}}
{{Infobox|entry|title={{{service-title|In service}}}|content={{{service|}}}}}
{{Infobox|entry|title={{{service-title|In service}}}|content={{{service|}}}}}
{{Infobox|entry|title={{{role-title|Role(s)}}}|content={{{role|}}}}}
{{Infobox|entry|title={{{role-title|Role(s)}}}|content={{{role|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagetitle|{{{pagename|{{PAGENAME}}}}} - {{{pagelabel|Vehicle {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}}}}</includeonly><noinclude>__NOTOC__
}}
{{clear}}
 
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagetitle|{{{pagename|{{PAGENAME}}}}} - {{{pagelabel|Vehicle {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}}}}</includeonly><noinclude>{{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 101: Line 98:
|section2-title=
|section2-title=
|section3-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>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 13:37, August 29, 2023

Vehicle infobox
 

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=