Difference between revisions of "Template:Structure"

From RimWorld Wiki
Jump to navigation Jump to search
m (Tweaking)
m (Adding "W" works, but making the first column (the characteristics) larger to accommodate the width;adding Metal to cost too)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>{| class="infobox" style="width:300px"
+
<onlyinclude>{| class="infobox" style="text-align:left; width:220px"
  
 
|-
 
|-
! class="infobox-header" colspan="2" | {{{title|''Unknown''}}}
+
! class="infobox-header" colspan="2" style="text-align:center;" | {{{title|''Unknown''}}}
  
 
|-
 
|-
 
{{#if: {{{image|}}} |
 
{{#if: {{{image|}}} |
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]]
+
{{!}} class="infobox-image" colspan="2" align="center" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]]
 
| }}
 
| }}
  
Line 12: Line 12:
 
{{#if: {{{size|}}} |
 
{{#if: {{{size|}}} |
 
! Size
 
! Size
{{!}} {{{size|''Unknown''}}}
+
{{!}} {{{size|}}}
 
| }}
 
| }}
  
 
|-
 
|-
{{#if: {{{cost|}}} |
+
{{#if: {{{metal_cost|}}} |
 
! Cost
 
! Cost
{{!}} {{{cost|''Unknown''}}}
+
{{!}} {{{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:50%; padding:0" |
+
! style="width:46%; padding:0" |
! style="width:50%; padding:0" |
+
! style="width:54%; padding:0" |
  
 
|}</onlyinclude><noinclude><br style="clear:both;"/>
 
|}</onlyinclude><noinclude><br style="clear:both;"/>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 16:57, 16 October 2013

Unknown


Documentation icon Template documentation[create]