Difference between revisions of "Template:Item"

From Vintage Story Wiki
Jump to navigation Jump to search
(forces image to 100px wide)
m (requires container either true or false)
Line 20: Line 20:
 
|SmeltDuration={{{SmeltDuration}}}
 
|SmeltDuration={{{SmeltDuration}}}
 
|SmeltRatio={{{SmeltRatio|1}}}
 
|SmeltRatio={{{SmeltRatio|1}}}
|RequiresContainer={{{RequiresContainer}}}
+
|RequiresContainer={{#if: {{{RequiresContainer|}}}|Yes|No}}
 
}}
 
}}
 
}} }}
 
}} }}

Revision as of 23:23, 4 January 2020


Example:

{{{Name}}}
[[{{{Image}}}|100px]]
Stackable {{{Stackable}}}
Fuel
Temperature {{{Temp}}}°C
Duration {{{Duration}}} s
Smeltable
Smelt Point {{{SmeltTemp}}}°C
Smelt Duration {{{SmeltDuration}}} s
Smelt Ratio {{{SmeltRatio}}}
Requires Container Yes
Food
Satiety {{{Satiety}}}
Category {{{Category}}}
Transitionable
Fresh Time {{{FreshTime}}} hrs
Transition Time {{{TransitionTime}}} hrs
Transition Ratio {{{TransitionRatio}}}
Items




All parameters except {{{Name}}},{{{Image}}}, and {{{Stackable}}} are optional. Also, positioning can be achieved with {{{FloatLeft}}}, and {{{NoBreak}}}.

Utilizes: Template:Item/Food, Template:Item/Fuel, Template:Item/Smeltable, Template:Item/Transitionable