Difference between revisions of "Template:InfoboxChassis"

From BTAWiki
Jump to navigation Jump to search
Line 3: Line 3:
 
<table>
 
<table>
 
   <tr>
 
   <tr>
     <td colspan=2>
+
     <th colspan=2>
 
       <div class="infobox-mechname">{{{name|{{PAGENAME}}}}}</div>
 
       <div class="infobox-mechname">{{{name|{{PAGENAME}}}}}</div>
     </td>
+
     </th>
 
   </tr>
 
   </tr>
  
 
   <tr>
 
   <tr>
     <td colspan=2>
+
     <th colspan=2>
 
       {{#if:{{{image|}}}|
 
       {{#if:{{{image|}}}|
 
         <div class="infobox-mechimage">[[File:{{{image}}}]]</div>
 
         <div class="infobox-mechimage">[[File:{{{image}}}]]</div>
 
       }}
 
       }}
     </td>
+
     </th>
 
   </tr>
 
   </tr>
  
 
   {{#if:{{{class|}}}|
 
   {{#if:{{{class|}}}|
 
   <tr>
 
   <tr>
     <th>Class</th>
+
     <th align=left>Class</th>
 
     <td>{{{class}}}</td>
 
     <td>{{{class}}}</td>
 
   </tr>
 
   </tr>
Line 25: Line 25:
 
   {{#if:{{{weight|}}}|
 
   {{#if:{{{weight|}}}|
 
   <tr>
 
   <tr>
     <th>Weight</th>
+
     <th align=left>Weight</th>
 
     <td>{{{weight}}}</td>
 
     <td>{{{weight}}}</td>
 
   </tr>
 
   </tr>
Line 32: Line 32:
 
   {{#if:{{{base model|}}}|
 
   {{#if:{{{base model|}}}|
 
   <tr>
 
   <tr>
     <th>Base Model</th>
+
     <th align=left>Base Model</th>
 
     <td>{{{base model}}}</td>
 
     <td>{{{base model}}}</td>
 
   </tr>
 
   </tr>
Line 39: Line 39:
 
   {{#if:{{{type|}}}|
 
   {{#if:{{{type|}}}|
 
   <tr>
 
   <tr>
     <th>'Mech Type</th>
+
     <th align=left>'Mech Type</th>
 
     <td>{{{type}}}</td>
 
     <td>{{{type}}}</td>
 
   </tr>
 
   </tr>
Line 46: Line 46:
 
   {{#if:{{{variants|}}}|
 
   {{#if:{{{variants|}}}|
 
   <tr>
 
   <tr>
     <th>Variants</th>
+
     <th align=left>Variants</th>
 
     <td>{{{variants}}}</td>
 
     <td>{{{variants}}}</td>
 
   </tr>
 
   </tr>
Line 53: Line 53:
 
   {{#if:{{{stock roles|}}}|
 
   {{#if:{{{stock roles|}}}|
 
   <tr>
 
   <tr>
     <th>Stock Roles</th>
+
     <th align=left>Stock Roles</th>
 
     <td>{{{stock roles}}}</td>
 
     <td>{{{stock roles}}}</td>
 
   </tr>
 
   </tr>
Line 60: Line 60:
 
   {{#if:{{{introduced|}}}|
 
   {{#if:{{{introduced|}}}|
 
   <tr>
 
   <tr>
     <th>Introduced</th>
+
     <th align=left>Introduced</th>
 
     <td>{{{introduced}}}</td>
 
     <td>{{{introduced}}}</td>
 
   </tr>
 
   </tr>

Revision as of 12:05, 16 November 2020

InfoboxChassis

Basic template to create Infoboxes for Mech Chassis.