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