Difference between revisions of "Template:InfoboxChassis"

From BTAWiki
Jump to navigation Jump to search
Line 1: Line 1:
<infobox>
+
<div class="infobox">
  <title source="title">
+
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
    <default>{{PAGENAME}}</default>
+
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
  </title>
+
<table>{{#if:{{{class|}}}|<tr>
  <image source="image">
+
     <th>Class</th>
    <caption source="caption1"/>
+
     <td>{{{class}}}</td>
  </image>
+
</tr>}}{{#if:{{{weight|}}}|<tr>
  <group>
+
    <th>Weight</th>
     <header>Technical Specifications</header>
+
     <td>{{{weight}}}</td>
     <data source="class">
+
</tr>}}{{#if:{{{param3|}}}|<tr>
      <label>Class</label>
+
     <th>Parameter 3</th>
    </data>
+
     <td>{{{param3}}}</td>
    <data source="weight">
+
</tr>}}{{#if:{{{param4|}}}|<tr>
      <label>Weight</label>
+
     <th>Parameter 4</th>
     </data>
+
     <td>{{{param4}}}</td>
    <data source="base model">
+
</tr>}}{{#if:{{{param5|}}}|<tr>
      <label>Base Model</label>
+
     <th>Parameter 5</th>
    </data>
+
     <td>{{{param5}}}</td>
     <data source="type">
+
</tr>}}</table>
      <label>Mech Type</label>
+
</div>
     </data>
 
  </group>
 
  <group>
 
    <header>Game Data</header>
 
     <data source="variants">
 
      <label>Variants</label>
 
     </data>
 
    <data source="stock roles">
 
      <label>Stock Roles</label>
 
    </data>
 
  </group>
 
  <group>
 
     <header>Production Information</header>
 
     <data source="introduced">
 
      <label>Introduced</label>
 
    </data>
 
  </group>
 
</infobox>
 

Revision as of 09:22, 16 November 2020

InfoboxChassis