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

From Vintage Story Wiki
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
|colspan="2"|Smeltable
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''Smeltable'''</font>
|-
|-
|Requires Container
|'''Smelt Point'''
|{{{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 Amount
|'''Output'''
|{{{OutputAmount|1}}}}} }}
|[[{{{Output}}}]]
|-
|'''Output Amount'''
|{{{OutputAmount|1}}}
}} }}[[Category:Smeltables]]
|-</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
|-
|-
</includeonly><noinclude></noinclude>
| ''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>

Latest revision as of 14:24, 15 June 2021

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.