Difference between revisions of "Template:Structure"
Jump to navigation
Jump to search
(Made "Size" optional as well, to use with animals (we might need to create specific templates at some point)) |
m (Adding "W" works, but making the first column (the characteristics) larger to accommodate the width;adding Metal to cost too) |
||
(28 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <onlyinclude>{| class=" | + | <onlyinclude>{| class="infobox" style="text-align:left; width:220px" |
|- | |- | ||
− | ! class=" | + | ! class="infobox-header" colspan="2" style="text-align:center;" | {{{title|''Unknown''}}} |
|- | |- | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
− | {{!}} class=" | + | {{!}} class="infobox-image" colspan="2" align="center" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]] |
| }} | | }} | ||
Line 12: | Line 12: | ||
{{#if: {{{size|}}} | | {{#if: {{{size|}}} | | ||
! Size | ! Size | ||
− | {{!}} {{{size| | + | {{!}} {{{size|}}} |
| }} | | }} | ||
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{metal_cost|}}} | |
! Cost | ! Cost | ||
− | {{!}} {{{ | + | {{!}} {{{metal_cost|}}} [[Resources#Metal|Metal]] |
| }} | | }} | ||
Line 24: | Line 24: | ||
{{#if: {{{movement|}}} | | {{#if: {{{movement|}}} | | ||
! Movement | ! Movement | ||
− | {{!}} {{{movement}}} | + | {{!}} {{{movement}}}% |
| }} | | }} | ||
Line 31: | Line 31: | ||
! HP | ! HP | ||
{{!}} {{{health}}} | {{!}} {{{health}}} | ||
+ | | }} | ||
+ | |||
+ | |- | ||
+ | {{#if: {{{power|}}} | | ||
+ | ! Power needed | ||
+ | {{!}} {{{power}}} W | ||
| }} | | }} | ||
Line 40: | Line 46: | ||
|- style="font-size:0; line-height:0;" | |- style="font-size:0; line-height:0;" | ||
− | ! style="width: | + | ! style="width:46%; padding:0" | |
− | ! style="width: | + | ! style="width:54%; padding:0" | |
|}</onlyinclude><noinclude><br style="clear:both;"/> | |}</onlyinclude><noinclude><br style="clear:both;"/> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |