Difference between revisions of "Template:InfoboxVehicle"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 27: | Line 27: | ||
<th align=left>Class</th> | <th align=left>Class</th> | ||
<td>{{{class}}}</td> | <td>{{{class}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{weight|}}}| | ||
+ | <tr> | ||
+ | <th>Weight</th> | ||
+ | <td>{{{weight}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 72: | Line 79: | ||
<tr> | <tr> | ||
<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}}}}}{{#if:{{{ammo13|}}}|<br>{{{ammo13}}}}}{{#if:{{{ammo14|}}}|<br>{{{ammo14}}}}}{{#if:{{{ammo15|}}}|<br>{{{ammo15}}}}}{{#if:{{{ammo16|}}}|<br>{{{ammo16}}}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 92: | Line 99: | ||
|controllable = | |controllable = | ||
|class = | |class = | ||
+ | |weight = | ||
|speed = | |speed = | ||
|propulsion | |propulsion |
Latest revision as of 20:34, 8 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 |controllable = |class = |weight = |speed = |propulsion |maxdamage = |maxstability = |maxheat = |armor = |structure = |frontarmor = |leftarmor = |rightarmor = |reararmor = |turretarmor = |weapon1 = |weapon2 = |weapon3 = |weapon4 = |weapon5 = |weapon6 = |weapon7 = |weapon8 = |weapon9 = |weapon10 = |weapon11 = |weapon12 = |weapon13 = |weapon14 = |weapon15 = |weapon16 = |weapon17 = |weapon18 = |weapon19 = |weapon20 = |ammo1 = |ammo2 = |ammo3 = |ammo4 = |ammo5 = |ammo6 = |ammo7 = |ammo8 = |ammo9 = |ammo10 = |ammo11 = |ammo12 = |gear1 = |gear2 = |gear3 = |gear4 = |gear5 = |gear6 = }}