Difference between revisions of "Template:InfoboxChassis"

From BTAWiki
Jump to navigation Jump to search
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="infoboxmech">
+
<table class="infoboxmech">
 
 
<table>
 
 
   <tr>
 
   <tr>
     <th align=center colspan=2>
+
     <th style="text-align:center;" colspan="2">
 
       <div class="infobox-mechname">{{{name|{{PAGENAME}}}}}</div>
 
       <div class="infobox-mechname">{{{name|{{PAGENAME}}}}}</div>
 
     </th>
 
     </th>
Line 9: Line 7:
  
 
   <tr>
 
   <tr>
     <th align=center colspan=2>
+
     <td class="infobox-mechimage" colspan="2">{{#if:{{{image|}}}|[[File:{{{image}}}]]}}</td>
      {{#if:{{{image|}}}|
+
  </tr>
        <div class="infobox-mechimage">[[File:{{{image}}}]]</div>
+
 
      }}
+
  <tr>
     </th>
+
     <th style="text-align:center;" colspan="2">Technical Specifications</th>
 
   </tr>
 
   </tr>
  
Line 25: Line 23:
 
   {{#if:{{{weight|}}}|
 
   {{#if:{{{weight|}}}|
 
   <tr>
 
   <tr>
     <th align=left>Weight</th>
+
     <th>Weight</th>
 
     <td>{{{weight}}}</td>
 
     <td>{{{weight}}}</td>
 
   </tr>
 
   </tr>
Line 32: Line 30:
 
   {{#if:{{{base model|}}}|
 
   {{#if:{{{base model|}}}|
 
   <tr>
 
   <tr>
     <th align=left>Base Model</th>
+
     <th>Base Model</th>
 
     <td>{{{base model}}}</td>
 
     <td>{{{base model}}}</td>
 
   </tr>
 
   </tr>
Line 39: Line 37:
 
   {{#if:{{{type|}}}|
 
   {{#if:{{{type|}}}|
 
   <tr>
 
   <tr>
     <th align=left>'Mech Type</th>
+
     <th>'Mech Type</th>
 
     <td>{{{type}}}</td>
 
     <td>{{{type}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
 +
 +
  <tr>
 +
    <th style="text-align:center;" colspan=2>Game Data</th>
 +
  </tr>
  
 
   {{#if:{{{variants|}}}|
 
   {{#if:{{{variants|}}}|
 
   <tr>
 
   <tr>
     <th align=left>Variants</th>
+
     <th>Variants</th>
 
     <td>{{{variants}}}</td>
 
     <td>{{{variants}}}</td>
 
   </tr>
 
   </tr>
Line 53: Line 55:
 
   {{#if:{{{stock roles|}}}|
 
   {{#if:{{{stock roles|}}}|
 
   <tr>
 
   <tr>
     <th align=left>Stock Roles</th>
+
     <th>Stock Roles</th>
 
     <td>{{{stock roles}}}</td>
 
     <td>{{{stock roles}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
 +
 +
  <tr>
 +
    <th style="text-align:center;" colspan=2>Production Information</th>
 +
  </tr>
  
 
   {{#if:{{{introduced|}}}|
 
   {{#if:{{{introduced|}}}|
 
   <tr>
 
   <tr>
     <th align=left>Introduced</th>
+
     <th>Introduced</th>
 
     <td>{{{introduced}}}</td>
 
     <td>{{{introduced}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
 
</table>
 
</table>
</div>
 
  
<noinclude>Basic template to create Infoboxes for Mech Chassis.</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 02: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
}}