Template:Sandbox/VeryGoodDog/Item/Smeltable: Difference between revisions

From Vintage Story Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''Smeltable'''</font>
|colspan="2"|Smeltable
|-
|-
|'''Smelt Point'''
|Requires Container
|{{{SmeltTemp}}}°C
|-
|'''Smelt Duration'''
|{{{SmeltDuration}}} s
|-
|'''Smelt Ratio'''
|{{{SmeltRatio|1}}}
|-
|'''Requires Container'''
|{{#if: {{{RequiresContainer|}}}|Yes|No}}
|{{#if: {{{RequiresContainer|}}}|Yes|No}}
{{#if: {{{Output|}}} | {{#!:|-
{{#if: {{{Output|}}} | {{#!:
|'''Output'''
|[[{{{Output}}}]]
|-
|-
|'''Output Amount'''
|Output Amount
|{{{OutputAmount|1}}}}} }}
|{{{OutputAmount|1}}}}} }}
|-
|-
[[Category:Smeltables]]
</includeonly><noinclude></noinclude>
</includeonly><noinclude>
{| class="wikitable"
|-
! 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.
</noinclude>

Revision as of 14:16, 15 June 2021