Template:Item/Smeltable: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (move the code from Template:Item into here because its always applicable) |
VeryGoodDog (talk | contribs) (add output stack options.) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|bgcolor="#000000" colspan="2 | |bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''Smeltable'''</font> | ||
|- | |- | ||
|'''Smelt Point''' | |||
|{{{SmeltTemp}}}°C | |||
|- | |- | ||
|'''Smelt Duration''' | |||
|{{{SmeltDuration}}} s | |||
|- | |- | ||
|'''Smelt Ratio''' | |||
|{{{SmeltRatio|1}}} | |||
|- | |- | ||
|'''Requires Container''' | |||
|{{#if: {{{RequiresContainer|}}}|Yes|No}} | |||
{{#if: {{{Output|}}} | {{#!: | |||
[[Category:Smeltables]] | |- | ||
</includeonly> | |'''Output''' | ||
|[[{{{Output}}}]] | |||
<noinclude> | |- | ||
|'''Output Amount''' | |||
|{{{OutputAmount|1}}} | |||
}} }}[[Category:Smeltables]]</includeonly><noinclude> | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 28: | Line 31: | ||
| ''SmeltRatio'' || Optional, 1 || 0.5 | | ''SmeltRatio'' || Optional, 1 || 0.5 | ||
|- | |- | ||
| ''RequiresContainer'' || Optional, Yes || | | ''RequiresContainer'' || Optional, No || Yes | ||
|- | |||
| ''Output'' || Optional || Torch | |||
|- | |||
| ''OutputAmount'' || Optional, 1 || 2 | |||
|} | |} | ||
''Output'' automatically creates a link to the article for the output item so make sure it's not a red link. Pass any value to ''RequiresContainer'' for the value of "Yes" to appear. | |||
</noinclude> | </noinclude> |
Revision as of 16:36, 31 December 2020
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
SmeltTemp | Required | 100 |
SmeltDuration | Required | 10 |
SmeltRatio | Optional, 1 | 0.5 |
RequiresContainer | Optional, No | Yes |
Output | Optional | Torch |
OutputAmount | Optional, 1 | 2 |
Output automatically creates a link to the article for the output item so make sure it's not a red link. Pass any value to RequiresContainer for the value of "Yes" to appear.