Difference between revisions of "Template:InfoboxChassis"

From BTAWiki
Jump to navigation Jump to search
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="infoboxvariant">
+
<table class="infoboxmech">
 
   <tr>
 
   <tr>
     <th style="text-align:center;" colspan=2>
+
     <th style="text-align:center;" colspan="2">
       <div class="infobox-variantname">{{{name|{{PAGENAME}}}}}</div>
+
       <div class="infobox-mechname">{{{name|{{PAGENAME}}}}}</div>
 
     </th>
 
     </th>
 
   </tr>
 
   </tr>
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:10px;" colspan=2>
+
     <td class="infobox-mechimage" colspan="2">{{#if:{{{image|}}}|[[File:{{{image}}}]]}}</td>
      {{#if:{{{image|}}}|
 
        <div class="infobox-variantimage">[[File:{{{image}}}]]</div>
 
      }}
 
    </th>
 
 
   </tr>
 
   </tr>
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>General Data</th>
+
     <th style="text-align:center;" colspan="2">Technical Specifications</th>
 
   </tr>
 
   </tr>
  
Line 32: Line 28:
 
   }}
 
   }}
 
    
 
    
   {{#if:{{{stock role|}}}|
+
   {{#if:{{{base model|}}}|
  <tr>
 
    <th>Stock Role</th>
 
    <td>{{{stock role}}}</td>
 
  </tr>
 
  }}
 
 
 
  {{#if:{{{rarity|}}}|
 
 
   <tr>
 
   <tr>
     <th>Rarity</th>
+
     <th>Base Model</th>
     <td>{{{rarity}}}</td>
+
     <td>{{{base model}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
  
   {{#if:{{{hardpoints|}}}|
+
   {{#if:{{{type|}}}|
 
   <tr>
 
   <tr>
     <th>Hardpoints</th>
+
     <th>'Mech Type</th>
     <td>{{{hardpoints}}}</td>
+
     <td>{{{type}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>Stock Specifications</th>
+
     <th style="text-align:center;" colspan=2>Game Data</th>
  </tr>
 
 
 
  {{#if:{{{speed|}}}|
 
  <tr>
 
    <th>Speed</th>
 
    <td>{{{speed}}}</td>
 
 
   </tr>
 
   </tr>
  }}
 
  
   {{#if:{{{maxdamage|}}}|
+
   {{#if:{{{variants|}}}|
 
   <tr>
 
   <tr>
     <th>Firepower</th>
+
     <th>Variants</th>
     <td>Max Damage: {{{maxdamage}}}
+
     <td>{{{variants}}}</td>
{{#if:{{{maxstability|}}}|<br>Max Stability: {{{maxstability}}}}}</td>
 
 
   </tr>
 
   </tr>
 
   }}
 
   }}
  
   {{#if:{{{maxarmor|}}}|
+
   {{#if:{{{stock roles|}}}|
 
   <tr>
 
   <tr>
     <th>Durability</th>
+
     <th>Stock Roles</th>
     <td>Max Armor: {{{maxarmor}}} <br>Max Structure: {{{maxstructure}}}</td>
+
     <td>{{{stock roles}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
  
  {{#if:{{{heatsinking|}}}|
 
 
   <tr>
 
   <tr>
     <th>Heat Efficiency</th>
+
     <th style="text-align:center;" colspan=2>Production Information</th>
    <td>Sinking: {{{heatsinking}}} <br>Alpha: {{{alphaheat}}}</td>
 
 
   </tr>
 
   </tr>
  }}
 
  
   {{#if:{{{chargedamage|}}}|
+
   {{#if:{{{introduced|}}}|
  <tr>
 
    <th>Melee</th>
 
    <td>Charge: {{{chargedamage}}} <br>Kick: {{{kickdamage}}} <br>Weapon: {{{meleeweapondamage}}} <br>Punch: {{{punchdamage}}}</td>
 
  </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>
 
   <tr>
     <th>Structure</th>
+
     <th>Introduced</th>
     <td>{{{structuretype}}}</td>
+
     <td>{{{introduced}}}</td>
 
   </tr>
 
   </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 Variants.</noinclude>
+
<noinclude>Basic template to create Infoboxes for Mech Chassis. Syntax and usage example is below:
 +
<pre>
 +
{{InfoboxChassis
 +
|name = Kingfisher
 +
|image = Kingfisher.png
 +
|class = Assault
 +
|weight = 90T
 +
|base model = Prime
 +
|type = Clan Omnimech
 +
|variants = 10
 +
|introduced =  2887
 +
}}
 +
</pre>
 +
</noinclude>

Latest revision as of 03:48, 17 November 2020

InfoboxChassis
Technical Specifications
Game Data
Production Information

Basic template to create Infoboxes for Mech Chassis. Syntax and usage example is below:

{{InfoboxChassis
|name = Kingfisher
|image = Kingfisher.png
|class = Assault
|weight = 90T
|base model = Prime
|type = Clan Omnimech
|variants = 10
|introduced =  2887
}}