Template:Item: Difference between revisions

From Vintage Story Wiki
m (fix default value)
m (move row break to inside conditional and remove unneeded classes)
Line 1: Line 1:
<includeonly>{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:190px; float:right; margin-left:5px; margin-bottom: 5px;"
<includeonly>{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:190px; float:right; margin-left:5px; margin-bottom: 5px;"
|-
|-
|bgcolor="#000000" colspan="2" class="TC" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|bgcolor="#000000" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|-
|-
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
|-
|-
|class="TC"|'''Stackable'''
|'''Stackable'''
|class="TC"|{{{Stackable|64}}}
|{{{Stackable|64}}}
{{#if: {{{Temp|}}} | {{#!:
|-
|-
{{#if: {{{Temp|}}} | {{#!:
{{Item/Fuel
{{Item/Fuel
|Temp={{{Temp}}}
|Temp={{{Temp}}}
Line 14: Line 14:
}}
}}
}} }}
}} }}
{{#if: {{{SmeltTemp|}}} | {{#!:
|-
|-
{{#if: {{{SmeltTemp|}}} | {{#!:
{{Item/Smeltable
{{Item/Smeltable
|SmeltTemp={{{SmeltTemp}}}
|SmeltTemp={{{SmeltTemp}}}
Line 25: Line 25:
}}
}}
}} }}
}} }}
{{#if: {{{Satiety|}}} | {{#!:
|-
|-
{{#if: {{{Satiety|}}} | {{#!:
{{Item/Food
{{Item/Food
|Satiety={{{Satiety}}}
|Satiety={{{Satiety}}}
Line 32: Line 32:
}}
}}
}} }}
}} }}
{{#if: {{{FreshTime|}}} | {{#!:
|-
|-
{{#if: {{{FreshTime|}}} | {{#!:
{{Item/Transitionable
{{Item/Transitionable
|FreshTime={{{FreshTime}}}
|FreshTime={{{FreshTime}}}