Difference between revisions of "Template:InfoboxChassis"

From BTAWiki
Jump to navigation Jump to search
Line 1: Line 1:
<table class="infoboxmech">
+
<table class="infoboxvariant">
 
   <tr>
 
   <tr>
 
     <th style="text-align:center;" colspan=2>
 
     <th style="text-align:center;" colspan=2>
       <div class="infobox-mechname">{{{name|{{PAGENAME}}}}}</div>
+
       <div class="infobox-variantname">{{{name|{{PAGENAME}}}}}</div>
 
     </th>
 
     </th>
 
   </tr>
 
   </tr>
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:10px"colspan=2>
+
     <th style="text-align:center; padding:10px;" colspan=2>
 
       {{#if:{{{image|}}}|
 
       {{#if:{{{image|}}}|
         <div class="infobox-mechimage">[[File:{{{image}}}]]</div>
+
         <div class="infobox-variantimage">[[File:{{{image}}}]]</div>
 
       }}
 
       }}
 
     </th>
 
     </th>
Line 15: Line 15:
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>Technical Specifications</th>
+
     <th style="text-align:center; padding:8px;" colspan=2>General Data</th>
 
   </tr>
 
   </tr>
  
Line 32: Line 32:
 
   }}
 
   }}
 
    
 
    
   {{#if:{{{base model|}}}|
+
   {{#if:{{{stock role|}}}|
 
   <tr>
 
   <tr>
     <th>Base Model</th>
+
     <th>Stock Role</th>
     <td>{{{base model}}}</td>
+
     <td>{{{stock role}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
  
   {{#if:{{{type|}}}|
+
   {{#if:{{{rarity|}}}|
 
   <tr>
 
   <tr>
     <th>'Mech Type</th>
+
     <th>Rarity</th>
     <td>{{{type}}}</td>
+
     <td>{{{rarity}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
  
 +
  {{#if:{{{hardpoints|}}}|
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>Game Data</th>
+
     <th>Hardpoints</th>
 +
    <td>{{{hardpoints}}}</td>
 
   </tr>
 
   </tr>
 +
  }}
 +
 +
  <tr>
 +
    <th style="text-align:center; padding:8px;" colspan=2>Stock Specifications</th>
 +
  </tr>
 +
 +
  {{#if:{{{speed|}}}|
 +
  <tr>
 +
    <th>Speed</th>
 +
    <td>{{{speed}}}</td>
 +
  </tr>
 +
  }}
  
   {{#if:{{{variants|}}}|
+
   {{#if:{{{maxdamage|}}}|
 
   <tr>
 
   <tr>
     <th>Variants</th>
+
     <th>Firepower</th>
     <td>{{{variants}}}</td>
+
     <td>Max Damage: {{{maxdamage}}}
 +
{{#if:{{{maxstability|}}}|<br>Max Stability: {{{maxstability}}}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
  
   {{#if:{{{stock roles|}}}|
+
   {{#if:{{{maxarmor|}}}|
 
   <tr>
 
   <tr>
     <th>Stock Roles</th>
+
     <th>Durability</th>
     <td>{{{stock roles}}}</td>
+
     <td>Max Armor: {{{maxarmor}}} <br>Max Structure: {{{maxstructure}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
  
 +
  {{#if:{{{heatsinking|}}}|
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>Production Information</th>
+
     <th>Heat Efficiency</th>
 +
    <td>Sinking: {{{heatsinking}}} <br>Alpha: {{{alphaheat}}}</td>
 
   </tr>
 
   </tr>
 +
  }}
  
   {{#if:{{{introduced|}}}|
+
   {{#if:{{{chargedamage|}}}|
 
   <tr>
 
   <tr>
     <th>Introduced</th>
+
     <th>Melee</th>
     <td>{{{introduced}}}</td>
+
     <td>Charge: {{{chargedamage}}} <br>Kick: {{{kickdamage}}} <br>Weapon: {{{meleeweapondamage}}} <br>Punch: {{{punchdamage}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
 +
 +
  <tr>
 +
    <th style="text-align:center; padding:8px;" colspan=2>Stock Equipment</th>
 +
  </tr>
 +
 +
  {{#if:{{{enginetype|}}}|
 +
  <tr>
 +
    <th>Engine</th>
 +
    <td>{{{enginetype}}}</td>
 +
  </tr>
 +
  }}
 +
 
 +
  {{#if:{{{coresize|}}}|
 +
  <tr>
 +
    <th>Core</th>
 +
    <td>{{{coresize}}}</td>
 +
  </tr>
 +
  }}
 +
 
 +
  {{#if:{{{heatsinkkit|}}}|
 +
  <tr>
 +
    <th>Heat Sinks</th>
 +
    <td>{{{heatsinkkit}}}</td>
 +
  </tr>
 +
  }}
 +
 
 +
  {{#if:{{{ecooling|}}}|
 +
  <tr>
 +
    <th>E-Cooling</th>
 +
    <td>{{{ecooling}}}</td>
 +
  </tr>
 +
  }}
 +
 
 +
  {{#if:{{{structuretype|}}}|
 +
  <tr>
 +
    <th>Structure</th>
 +
    <td>{{{structuretype}}}</td>
 +
  </tr>
 +
  }}
 +
 
 +
  {{#if:{{{armortype|}}}|
 +
  <tr>
 +
    <th>Armor</th>
 +
    <td>{{{armortype}}}</td>
 +
  </tr>
 +
  }}
 +
 
 +
  {{#if:{{{headequip|}}}|
 +
  <tr>
 +
    <th>Head</th>
 +
    <td>{{{headequip}}}</td>
 +
  </tr>
 +
  }}
 +
 
 +
  {{#if:{{{ctequip1|}}}|
 +
  <tr>
 +
    <th>Center Torso</th>
 +
    <td>{{{ctequip1}}}
 +
{{#if:{{{ctequip2|}}}|<br>{{{ctequip2}}}}}
 +
{{#if:{{{ctequip3|}}}|<br>{{{ctequip3}}}}}
 +
{{#if:{{{ctequip4|}}}|<br>{{{ctequip4}}}}}
 +
{{#if:{{{ctequip5|}}}|<br>{{{ctequip5}}}}}
 +
{{#if:{{{ctequip6|}}}|<br>{{{ctequip6}}}}}
 +
{{#if:{{{ctequip7|}}}|<br>{{{ctequip7}}}}}
 +
{{#if:{{{ctequip8|}}}|<br>{{{ctequip8}}}}}
 +
{{#if:{{{ctequip9|}}}|<br>{{{ctequip9}}}}}
 +
{{#if:{{{ctequip10|}}}|<br>{{{ctequip10}}}}}
 +
</td>
 +
  </tr>
 +
  }}
 +
 
 
</table>
 
</table>
  
<noinclude>Basic template to create Infoboxes for Mech Chassis.</noinclude>
+
<noinclude>Basic template to create Infoboxes for Mech Variants.</noinclude>

Revision as of 20:25, 16 November 2020

InfoboxChassis
General Data
Stock Specifications
Stock Equipment

Basic template to create Infoboxes for Mech Variants.