Difference between revisions of "Template:InfoboxVehicle"
Jump to navigation
Jump to search
m |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
<th style="text-align:center;" colspan=2>Specifications</th> | <th style="text-align:center;" colspan=2>Specifications</th> | ||
</tr> | </tr> | ||
+ | |||
+ | {{#if:{{{controllable|}}}| | ||
+ | <tr> | ||
+ | <th align=left>Controllable</th> | ||
+ | <td>{{{controllable}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
{{#if:{{{class|}}}| | {{#if:{{{class|}}}| | ||
Line 20: | 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 47: | Line 61: | ||
<tr> | <tr> | ||
<th>Durability</th> | <th>Durability</th> | ||
− | <td>Total Armor: {{{armor}}}<br>Total Structure: {{{structure}}}<br>Front Armor: {{{frontarmor}}}<br>Left Armor: {{{leftarmor}}}<br>Right Armor: {{{rightarmor}}}<br>Rear Armor: {{{reararmor}}}<br>Turret Armor: {{{turretarmor}}}<br></td> | + | <td>Total Armor: {{{armor}}}<br>Total Structure: {{{structure}}}<br>Front Armor/Structure: {{{frontarmor}}}<br>Left Armor/Structure: {{{leftarmor}}}<br>Right Armor/Structure: {{{rightarmor}}}<br>Rear Armor/Structure: {{{reararmor}}}<br>Turret Armor/Structure: {{{turretarmor}}}<br></td> |
</tr> | </tr> | ||
}} | }} | ||
Line 58: | Line 72: | ||
<tr> | <tr> | ||
<th>Weapons</th> | <th>Weapons</th> | ||
− | <td class="variantequipment">{{{weapon1}}}{{#if:{{{weapon2|}}}|<br>{{{weapon2}}}}}{{#if:{{{weapon3|}}}|<br>{{{weapon3}}}}}{{#if:{{{weapon4|}}}|<br>{{{weapon4}}}}}{{#if:{{{weapon5|}}}|<br>{{{weapon5}}}}}{{#if:{{{weapon6|}}}|<br>{{{weapon6}}}}}{{#if:{{{weapon7|}}}|<br>{{{weapon7}}}}}{{#if:{{{weapon8|}}}|<br>{{{weapon8}}}}}{{#if:{{{weapon9|}}}|<br>{{{weapon9}}}}}{{#if:{{{weapon10|}}}|<br>{{{weapon10}}}}}{{#if:{{{weapon11|}}}|<br>{{{weapon11}}}}}{{#if:{{{weapon12|}}}|<br>{{{weapon12}}}}}</td> | + | <td class="variantequipment">{{{weapon1}}}{{#if:{{{weapon2|}}}|<br>{{{weapon2}}}}}{{#if:{{{weapon3|}}}|<br>{{{weapon3}}}}}{{#if:{{{weapon4|}}}|<br>{{{weapon4}}}}}{{#if:{{{weapon5|}}}|<br>{{{weapon5}}}}}{{#if:{{{weapon6|}}}|<br>{{{weapon6}}}}}{{#if:{{{weapon7|}}}|<br>{{{weapon7}}}}}{{#if:{{{weapon8|}}}|<br>{{{weapon8}}}}}{{#if:{{{weapon9|}}}|<br>{{{weapon9}}}}}{{#if:{{{weapon10|}}}|<br>{{{weapon10}}}}}{{#if:{{{weapon11|}}}|<br>{{{weapon11}}}}}{{#if:{{{weapon12|}}}|<br>{{{weapon12}}}}}{{#if:{{{weapon13|}}}|<br>{{{weapon13}}}}}{{#if:{{{weapon14|}}}|<br>{{{weapon14}}}}}{{#if:{{{weapon15|}}}|<br>{{{weapon15}}}}}{{#if:{{{weapon16|}}}|<br>{{{weapon16}}}}}{{#if:{{{weapon117|}}}|<br>{{{weapon117}}}}}{{#if:{{{weapon118|}}}|<br>{{{weapon18}}}}}{{#if:{{{weapon119|}}}|<br>{{{weapon119}}}}}{{#if:{{{weapon20|}}}|<br>{{{weapon20}}}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 65: | 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 83: | Line 97: | ||
|vehiclename = | |vehiclename = | ||
|image = VehicleName.png | |image = VehicleName.png | ||
+ | |controllable = | ||
|class = | |class = | ||
+ | |weight = | ||
|speed = | |speed = | ||
|propulsion | |propulsion | ||
Line 108: | Line 124: | ||
|weapon11 = | |weapon11 = | ||
|weapon12 = | |weapon12 = | ||
+ | |weapon13 = | ||
+ | |weapon14 = | ||
+ | |weapon15 = | ||
+ | |weapon16 = | ||
+ | |weapon17 = | ||
+ | |weapon18 = | ||
+ | |weapon19 = | ||
+ | |weapon20 = | ||
|ammo1 = | |ammo1 = | ||
|ammo2 = | |ammo2 = |
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 = }}