Template:Vehicle infobox: Difference between revisions

From Destinypedia, the Destiny wiki

mNo edit summary
mNo edit summary
 
(86 intermediate revisions by 3 users not shown)
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}}};"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#5D8AA8}}}}}
{{!}}-
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Production information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|transparent}}}|entries=
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{othernames-title|Other name(s)}}}|content={{{othernames|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{line-title|Product line}}}|content={{{line|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{model-title|Model}}}|content={{{model|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{cost-title|Cost}}}|content={{{cost|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Technical specifications}}}|color={{{color2|#fff}}}|bg={{{sectionBG|transparent}}}|entries=
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{mass-title|Mass}}}|content={{{mass|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{max speed-title|Maximum speed}}}|content={{{max speed|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{engine-title|Engine(s)}}}|content={{{engine|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{othersystems-title|Other system(s)}}}|content={{{othersystems|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{hull-title|Hull}}}|content={{{hull|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{armament-title|Armament}}}|content={{{armament|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{crew-title|Crew}}}|content={{{crew|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{complement-title|Complement}}}|content={{{complement|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{consumables-title|Consumables}}}|content={{{consumables|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section3-title|Usage}}}|color={{{color2|#fff}}}|bg={{{sectionBG|transparent}}}|entries=
! class="infoboxsubheading" colspan="2" style="font-size:90%; text-align:center; background:{{{sectionBG|#BCD4E6}}}" {{!}} {{{section1-title|Production information}}}}}
{{Infobox|entry|title={{{firstuse-title|Year introduced}}}|content={{{firstuse|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{!}}-
{{Infobox|entry|title={{{role-title|Role(s)}}}|content={{{role|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{#if:{{{manufacturer|}}}|
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{!}} 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;" {{!}}
{{Infobox|entry|title={{{notable-title|Notable info}}}|content={{{notable|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
'''{{{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|}}}
{{Infobox|end}}<noinclude>{{clear}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
{{#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|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" |&nbsp;
|}<noinclude>__NOTOC__
{{clear}}
==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.
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==
==Usage 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
{{Vehicle infobox
|name=
|image=
|image=
|othernames=
|manufacturer=
|manufacturer=
|line=
|line=
Line 166: Line 64:
|role=
|role=
|affiliation=
|affiliation=
|notable=
}}
}}
</pre>
</pre>


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following parameters allow you to customize the infobox colors and section titles:
 
<pre>
<pre>
|manufacturer-title=
|nameBG=
|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=
|imageBG=
|nameBG=
|sectionBG=
|sectionBG=
|fieldBG=
|fieldBG=
Line 200: Line 82:
</pre>
</pre>


==Display parameters==
[[Category:Infobox templates]]</noinclude>
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:Infobox templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 16:29, June 18, 2024

Vehicle 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.

Usage instructions

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

{{Vehicle infobox
|name=
|image=
|othernames=
|manufacturer=
|line=
|model=
|cost=
|length=
|width=
|height=
|mass=
|max speed=
|engine=
|hull=
|armament=
|crew=
|complement=
|consumables=
|othersystems=
|firstuse=
|role=
|affiliation=
|notable=
}}

Custom parameters

The following parameters allow you to customize the infobox colors and section titles:

|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|titleBG=
|section1-title=
|section2-title=
|section3-title=