Difference between revisions of "Template:InfoboxVehicle"
Jump to navigation
Jump to search
m |
m |
||
Line 66: | Line 66: | ||
<th>Ammunition</th> | <th>Ammunition</th> | ||
<td class="variantequipment">{{{ammo1}}}{{#if:{{{ammo2|}}}|<br>{{{ammo2}}}}}{{#if:{{{ammo3|}}}|<br>{{{ammo3}}}}}{{#if:{{{ammo4|}}}|<br>{{{ammo4}}}}}{{#if:{{{ammo5|}}}|<br>{{{ammo5}}}}}{{#if:{{{ammo6|}}}|<br>{{{ammo6}}}}}{{#if:{{{ammo7|}}}|<br>{{{ammo7}}}}}{{#if:{{{ammo8|}}}|<br>{{{ammo8}}}}}{{#if:{{{ammo9|}}}|<br>{{{ammo9}}}}}{{#if:{{{ammo10|}}}|<br>{{{ammo10}}}}}{{#if:{{{ammo11|}}}|<br>{{{ammo11}}}}}{{#if:{{{ammo12|}}}|<br>{{{ammo12}}}}}</td> | <td class="variantequipment">{{{ammo1}}}{{#if:{{{ammo2|}}}|<br>{{{ammo2}}}}}{{#if:{{{ammo3|}}}|<br>{{{ammo3}}}}}{{#if:{{{ammo4|}}}|<br>{{{ammo4}}}}}{{#if:{{{ammo5|}}}|<br>{{{ammo5}}}}}{{#if:{{{ammo6|}}}|<br>{{{ammo6}}}}}{{#if:{{{ammo7|}}}|<br>{{{ammo7}}}}}{{#if:{{{ammo8|}}}|<br>{{{ammo8}}}}}{{#if:{{{ammo9|}}}|<br>{{{ammo9}}}}}{{#if:{{{ammo10|}}}|<br>{{{ammo10}}}}}{{#if:{{{ammo11|}}}|<br>{{{ammo11}}}}}{{#if:{{{ammo12|}}}|<br>{{{ammo12}}}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{gear1|}}}| | ||
+ | <tr> | ||
+ | <th>Gear</th> | ||
+ | <td class="variantequipment">{{{gear1}}}{{#if:{{{gear2|}}}|<br>{{{gear2}}}}}{{#if:{{{gear3|}}}|<br>{{{gear3}}}}}{{#if:{{{gear4|}}}|<br>{{{gear4}}}}}{{#if:{{{gear5|}}}|<br>{{{gear5}}}}}{{#if:{{{gear6|}}}|<br>{{{gear6}}}}}{{#if:{{{gear7|}}}|<br>{{{gear7}}}}}{{#if:{{{gear8|}}}|<br>{{{gear8}}}}}{{#if:{{{gear9|}}}|<br>{{{gear9}}}}}{{#if:{{{gear10|}}}|<br>{{{gear10}}}}}{{#if:{{{gear11|}}}|<br>{{{gear11}}}}}{{#if:{{{gear12|}}}|<br>{{{gear12}}}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 113: | Line 120: | ||
|ammo11 = | |ammo11 = | ||
|ammo12 = | |ammo12 = | ||
+ | |gear1 = | ||
+ | |gear2 = | ||
+ | |gear3 = | ||
+ | |gear4 = | ||
+ | |gear5 = | ||
+ | |gear6 = | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 22:49, 2 August 2021
InfoboxVehicle
|
|
---|---|
Specifications | |
Equipment |
Basic template to create Infoboxes for vehicles. Example below. Note that you can specify up to 12 equipment per location (weapons/ammo). You MUST use #1 though for the row to not be hidden. Any unused info is automatically hidden, so exclude it if you want it hidden.
{{InfoboxVehicle |vehiclename = |image = VehicleName.png |class = |speed = |propulsion |maxdamage = |maxstability = |maxheat = |armor = |structure = |frontarmor = |leftarmor = |rightarmor = |reararmor = |turretarmor = |weapon1 = |weapon2 = |weapon3 = |weapon4 = |weapon5 = |weapon6 = |weapon7 = |weapon8 = |weapon9 = |weapon10 = |weapon11 = |weapon12 = |ammo1 = |ammo2 = |ammo3 = |ammo4 = |ammo5 = |ammo6 = |ammo7 = |ammo8 = |ammo9 = |ammo10 = |ammo11 = |ammo12 = |gear1 = |gear2 = |gear3 = |gear4 = |gear5 = |gear6 = }}