Difference between revisions of "Template:InfoboxChassis"

From BTAWiki
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<table class="infoboxmech">
 
<table class="infoboxmech">
 
   <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-mechname">{{{name|{{PAGENAME}}}}}</div>
 
     </th>
 
     </th>
Line 7: Line 7:
  
 
   <tr>
 
   <tr>
     <td style="text-align:center; padding:10px;"colspan=2>
+
     <td class="infobox-mechimage" colspan="2">{{#if:{{{image|}}}|[[File:{{{image}}}]]}}</td>
      {{#if:{{{image|}}}|
 
        <div class="infobox-mechimage">[[File:{{{image}}}]]</div>
 
      }}
 
    </th>
 
 
   </tr>
 
   </tr>
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>Technical Specifications</th>
+
     <th style="text-align:center;" colspan="2">Technical Specifications</th>
 
   </tr>
 
   </tr>
  
Line 47: Line 43:
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>Game Data</th>
+
     <th style="text-align:center;" colspan=2>Game Data</th>
 
   </tr>
 
   </tr>
  
Line 65: Line 61:
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>Production Information</th>
+
     <th style="text-align:center;" colspan=2>Production Information</th>
 
   </tr>
 
   </tr>
  
Line 76: Line 72:
 
</table>
 
</table>
  
<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 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
}}