Template:Item: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (move row break to inside conditional and remove unneeded classes) |
VeryGoodDog (talk | contribs) m (fix formatting) |
||
Line 7: | Line 7: | ||
|'''Stackable''' | |'''Stackable''' | ||
|{{{Stackable|64}}} | |{{{Stackable|64}}} | ||
{{#if: {{{Temp|}}} | | {{#if: {{{Temp|}}} | | ||
{{Item/Fuel | {{Item/Fuel | ||
|Temp={{{Temp}}} | |Temp={{{Temp}}} | ||
|Duration={{{Duration}}} | |Duration={{{Duration}}} | ||
}} | }} }}{{#if: {{{SmeltTemp|}}} | | ||
}} | |||
{{#if: {{{SmeltTemp|}}} | | |||
{{Item/Smeltable | {{Item/Smeltable | ||
|SmeltTemp={{{SmeltTemp}}} | |SmeltTemp={{{SmeltTemp}}} | ||
Line 23: | Line 19: | ||
|Output={{{Output|}}} | |Output={{{Output|}}} | ||
|OutputAmount={{{OutputAmount|1}}} | |OutputAmount={{{OutputAmount|1}}} | ||
}} | }} }}{{#if: {{{Satiety|}}} | | ||
}} | |||
{{#if: {{{Satiety|}}} | | |||
{{Item/Food | {{Item/Food | ||
|Satiety={{{Satiety}}} | |Satiety={{{Satiety}}} | ||
|Category={{{Category}}} | |Category={{{Category}}} | ||
}} | }} }}{{#if: {{{FreshTime|}}} | | ||
}} | |||
{{#if: {{{FreshTime|}}} | | |||
{{Item/Transitionable | {{Item/Transitionable | ||
|FreshTime={{{FreshTime}}} | |FreshTime={{{FreshTime}}} | ||
|TransitionTime={{{TransitionTime}}} | |TransitionTime={{{TransitionTime}}} | ||
|TransitionRatio={{{TransitionRatio|}}} | |TransitionRatio={{{TransitionRatio|}}} | ||
}} }} | }} }} | ||
|- | |- |
Revision as of 14:35, 15 June 2021
Example:
{{{Name}}} | |
[[{{{Image}}}|100px]] | |
Stackable | {{{Stackable}}} |
Fuel | |
Temperature | {{{Temp}}}°C |
Duration | {{{Duration}}} s |
Smeltable | |
Smelt Point | {{{SmeltTemp}}}°C |
Requires Container | Yes |
Food | |
Satiety | {{{Satiety}}} |
Category |
{{{Category}}} |
Transitionable | |
Fresh Time | {{{FreshTime}}} |
Transition Time | {{{TransitionTime}}} |
Transition Ratio | {{{TransitionRatio}}} |
Items |
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Name | Required | Dirt |
Image | Required | File:Grid Dirt.png |
Stackable | Optional, 64 | 32 |
Temp | Optional | 1000 |
Duration | Required with Temp | 30 |
SmeltTemp | Optional | 1000 |
SmeltDuration | Required with SmeltTemp | 30 |
SmeltRatio | Optional, 1 | 0.5 |
RequiresContainer | Optional, Yes | Yes |
Output | Optional | Torch |
OutputAmount | Optional, 1 | 2 |
FreshTime | Optional | 480 |
TransitionTime | Required with FreshTime | 48 |
TransitionRatio | Optional, 1 | 0.75 |
Satiety | Optional | 200 |
Category | Required with Satiety | Protein |
Utilizes: Template:Item/Food, Template:Item/Fuel, Template:Item/Smeltable, Template:Item/Transitionable