Difference between revisions of "Template:InfoboxVariant"

From BTAWiki
Jump to navigation Jump to search
Line 7: Line 7:
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:10px;" colspan=2>
+
     <th style="text-align:center;" colspan=2>
 
       {{#if:{{{image|}}}|[[File:{{{image}}}|400px|frameless|center]]}}
 
       {{#if:{{{image|}}}|[[File:{{{image}}}|400px|frameless|center]]}}
 
     </th>
 
     </th>
Line 13: Line 13:
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>General Data</th>
+
     <th style="text-align:center;" colspan=2>General Data</th>
 
   </tr>
 
   </tr>
  
Line 52: Line 52:
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>Stock Specifications</th>
+
     <th style="text-align:center;" colspan=2>Stock Specifications</th>
 
   </tr>
 
   </tr>
  
Line 91: Line 91:
  
 
   <tr>
 
   <tr>
     <th style="text-align:center; padding:8px;" colspan=2>Stock Equipment</th>
+
     <th style="text-align:center;" colspan=2>Stock Equipment</th>
 
   </tr>
 
   </tr>
  
Line 146: Line 146:
 
   <tr>
 
   <tr>
 
     <th>Center Torso</th>
 
     <th>Center Torso</th>
  <td class="variantequipment">
+
  <td class="variantequipment">{{{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>
    {{{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>
 
   </tr>
 
   }}
 
   }}
Line 164: Line 153:
 
   <tr>
 
   <tr>
 
     <th>Left Torso</th>
 
     <th>Left Torso</th>
  <td class="variantequipment">
+
  <td class="variantequipment">{{{ltequip1}}}{{#if:{{{ltequip2|}}}|<br>{{{ltequip2}}}}}{{#if:{{{ltequip3|}}}|<br>{{{ltequip3}}}}}{{#if:{{{ltequip4|}}}|<br>{{{ltequip4}}}}}{{#if:{{{ltequip5|}}}|<br>{{{ltequip5}}}}}{{#if:{{{ltequip6|}}}|<br>{{{ltequip6}}}}}{{#if:{{{ltequip7|}}}|<br>{{{ltequip7}}}}}{{#if:{{{ltequip8|}}}|<br>{{{ltequip8}}}}}{{#if:{{{ltequip9|}}}|<br>{{{ltequip9}}}}}{{#if:{{{ltequip10|}}}|<br>{{{ltequip10}}}}}</td>
  {{{ltequip1}}}
 
  {{#if:{{{ltequip2|}}}|<br>{{{ltequip2}}}}}
 
  {{#if:{{{ltequip3|}}}|<br>{{{ltequip3}}}}}
 
  {{#if:{{{ltequip4|}}}|<br>{{{ltequip4}}}}}
 
  {{#if:{{{ltequip5|}}}|<br>{{{ltequip5}}}}}
 
  {{#if:{{{ltequip6|}}}|<br>{{{ltequip6}}}}}
 
  {{#if:{{{ltequip7|}}}|<br>{{{ltequip7}}}}}
 
  {{#if:{{{ltequip8|}}}|<br>{{{ltequip8}}}}}
 
  {{#if:{{{ltequip9|}}}|<br>{{{ltequip9}}}}}
 
  {{#if:{{{ltequip10|}}}|<br>{{{ltequip10}}}}}
 
    </td>
 
 
   </tr>
 
   </tr>
 
   }}
 
   }}

Revision as of 23:59, 16 November 2020

InfoboxVariant
General Data
Stock Specifications
Stock Equipment

Basic template to create Infoboxes for Mech Variants.