Template:Item/Smeltable: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (Fix smelt ratio part 2) |
VeryGoodDog (talk | contribs) (add output stack options.) |
||
(One intermediate revision by the same user not shown) | |||
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" | ||
|- | |- | ||
! Parameter | ! Parameter !! Required or Optional, default if applicable !! Example | ||
|- | |- | ||
| SmeltTemp || | | ''SmeltTemp'' || Required || 100 | ||
|- | |- | ||
| SmeltDuration || | | ''SmeltDuration'' || Required || 10 | ||
|- | |- | ||
| SmeltRatio || | | ''SmeltRatio'' || Optional, 1 || 0.5 | ||
|- | |- | ||
| RequiresContainer || | | ''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.