Template:Vehicle infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "]] </noinclude>" to "]]</noinclude>") |
No edit summary |
||
(57 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox | {| 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}}}} | |||
! style="background:{{{nameBG|transparent}}}; color:{{{color2|# | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! class=" | {{!}} 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=" | ! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}; color:{{{color3|#000}}}" {{!}} {{{section1-title|Production information}}} | ||
}} | |||
|- | |||
{{#if:{{{manufacturer|}}}| | {{#if:{{{manufacturer|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{manufacturer-title|Manufacturer}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{manufacturer | {{{manufacturer}}} | ||
}} | |||
|- | |||
{{#if:{{{line|}}}| | {{#if:{{{line|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{line-title|Product line}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{line | {{{line}}} | ||
}} | |||
|- | |||
{{#if:{{{model|}}}| | {{#if:{{{model|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{model-title|Model}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{model | {{{model}}} | ||
}} | |||
|- | |||
{{#if:{{{cost|}}}| | {{#if:{{{cost|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{cost-title|Cost}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{cost | {{{cost}}} | ||
}} | |||
{{#if:{{{hideb|}}}| | |- | ||
! class="infoboxsubheading" colspan="2" style=" | {{#if:{{{hideb|}}}|| | ||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}; color:{{{color3|#000}}}" {{!}} {{{section2-title|Technical specifications}}} | |||
}} | |||
|- | |||
{{#if:{{{length|}}}| | {{#if:{{{length|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{length-title|Length}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{length | {{{length}}} | ||
}} | |||
|- | |||
{{#if:{{{width|}}}| | {{#if:{{{width|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{width-title|Width}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{width | {{{width}}} | ||
}} | |||
|- | |||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{height-title|Height}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{height | {{{height}}} | ||
}} | |||
|- | |||
{{#if:{{{mass|}}}| | {{#if:{{{mass|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{mass-title|Mass}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{mass | {{{mass}}} | ||
}} | |||
|- | |||
{{#if:{{{max speed|}}}| | {{#if:{{{max speed|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{max speed-title|Maximum speed}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{max speed | {{{max speed}}} | ||
}} | |||
|- | |||
{{#if:{{{engine|}}}| | {{#if:{{{engine|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{engine-title|Engine(s)}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{engine | {{{engine}}} | ||
}} | |||
|- | |||
{{#if:{{{othersystems|}}}| | {{#if:{{{othersystems|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{othersystems-title|Other system(s)}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{othersystems | {{{othersystems}}} | ||
}} | |||
|- | |||
{{#if:{{{hull|}}}| | {{#if:{{{hull|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{hull-title|Hull}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{hull | {{{hull}}} | ||
}} | |||
|- | |||
{{#if:{{{armament|}}}| | {{#if:{{{armament|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{armament-title|Armament}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{armament | {{{armament}}} | ||
}} | |||
|- | |||
{{#if:{{{crew|}}}| | {{#if:{{{crew|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{crew-title|Crew}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{crew | {{{crew}}} | ||
}} | |||
|- | |||
{{#if:{{{complement|}}}| | {{#if:{{{complement|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{complement-title|Complement}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{complement | {{{complement}}} | ||
}} | |||
|- | |||
{{#if:{{{consumables|}}}| | {{#if:{{{consumables|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{consumables-title|Consumables}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{consumables | {{{consumables}}} | ||
}} | |||
|- | |||
{{#if:{{{misc|}}}| | {{#if:{{{misc|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{misc-title|Miscellaneous}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{misc | {{{misc}}} | ||
}} | |||
{{#if:{{{hidec|}}}| | |- | ||
! class="infoboxsubheading" colspan="2" style=" | {{#if:{{{hidec|}}}|| | ||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#BCD4E6}}}; color:{{{color3|#000}}}" {{!}} {{{section3-title|Usage}}} | |||
}} | |||
|- | |||
{{#if:{{{firstuse|}}}| | {{#if:{{{firstuse|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{firstuse-title|Year introduced}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{firstuse | {{{firstuse}}} | ||
}} | |||
|- | |||
{{#if:{{{role|}}}| | {{#if:{{{role|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{role-title|Role(s)}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{role | {{{role}}} | ||
}} | |||
|- | |||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{affiliation-title|Affiliation}}}: | |||
{{!}} class="infoboxcell" style=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{affiliation | {{{affiliation}}} | ||
}} | |||
| colspan=2 | |- | ||
| class="infoboxfooter" colspan="2" | | |||
|}<noinclude>__NOTOC__ | |}<noinclude>__NOTOC__ | ||
{{clear}} | {{clear}} | ||
Line 144: | Line 166: | ||
==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 | {{Vehicle infobox | ||
Line 171: | Line 194: | ||
==Custom parameters== | ==Custom parameters== | ||
The following allows you to alter the title of the sub-sections: | The following allows you to alter the title of the sub-sections: | ||
<pre> | <pre> | ||
|manufacturer-title= | |manufacturer-title= | ||
Line 212: | Line 236: | ||
</pre> | </pre> | ||
[[Category:Infobox templates | [[Category:Infobox templates]]</noinclude> |
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=