Difference between revisions of "Template:InfoboxChassis"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | ||
− | <table>{{#if:{{{class|}}}|<tr> | + | <table> |
− | + | {{#if:{{{class|}}}|< | |
− | + | tr> | |
− | </tr>}}{{#if:{{{weight|}}}|<tr> | + | <th>Class</th> |
− | + | <td>{{{class}}}</td> | |
− | + | </tr> | |
− | </tr>}}{{#if:{{{ | + | }} |
− | <th> | + | |
− | <td>{{{ | + | {{#if:{{{weight|}}}| |
− | </tr>}}{{#if:{{{ | + | <tr> |
− | + | <th>Weight</th> | |
− | + | <td>{{{weight}}}</td> | |
− | </tr>}}{{#if:{{{ | + | </tr> |
− | + | }} | |
− | + | ||
− | </tr>}}</table> | + | {{#if:{{{base model|}}}| |
+ | <tr> | ||
+ | <th>Base Model</th> | ||
+ | <td>{{{base model}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{type|}}}| | ||
+ | <tr> | ||
+ | <th>'Mech Type</th> | ||
+ | <td>{{{type}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{variants|}}}| | ||
+ | <tr> | ||
+ | <th>Variants</th> | ||
+ | <td>{{{variants}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{stock roles|}}}| | ||
+ | <tr> | ||
+ | <th>Stock Roles</th> | ||
+ | <td>{{{stock roles}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{introduced|}}}| | ||
+ | <tr> | ||
+ | <th>Introduced</th> | ||
+ | <td>{{{introduced}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | </table> | ||
</div> | </div> | ||
<noinclude>Basic template to create Infoboxes for Mech Chassis.</noinclude> | <noinclude>Basic template to create Infoboxes for Mech Chassis.</noinclude> |
Revision as of 09:35, 16 November 2020
InfoboxChassis
Basic template to create Infoboxes for Mech Chassis.