Template:Item/Smeltable: Difference between revisions

From Vintage Story Wiki
No edit summary
(Marked this version for translation)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><languages /></noinclude>
<includeonly>|-
<includeonly>|-
|bgcolor="#000000" colspan="2" style="text-align:center; font-size:13.5px;"|<font color="white">'''Smeltable'''</font>
|bgcolor="#000000" colspan="2" class="TC" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:1--> Smeltable</translate>'''</font>
|-
|-
|'''Smelt Point'''
|'''<translate><!--T:2--> Smelt Point</translate>'''
|{{{SmeltTemp}}}°C
|{{{SmeltTemp}}}<translate><!--T:3--> °C</translate>
|-
|-
<!--|'''Smelt Duration'''-->  <!-- Removed because not used -->
<!--|'''Smelt Duration'''-->  <!-- Removed because this information is unavailable -->
<!--|{{{SmeltDuration}}} s-->  <!-- Removed because not used -->
<!--|{{{SmeltDuration}}} s-->  <!-- Removed because this information is unavailable -->
<!--|--->                      <!-- Removed because not used -->
<!--|--->                      <!-- Removed because this information is unavailable -->
<!--|'''Smelt Ratio'''-->      <!-- Removed because not used -->
<!--|'''Smelt Ratio'''-->      <!-- Removed because this information is unavailable -->
<!--|{{{SmeltRatio|1}}}-->    <!-- Removed because not used -->
<!--|{{{SmeltRatio|1}}}-->    <!-- Removed because this information is unavailable -->
<!--|--->                      <!-- Removed because not used -->
<!--|--->                      <!-- Removed because this information is unavailable -->
|'''Requires Container'''
|'''<translate><!--T:4--> Requires Container</translate>'''
|{{#if: {{{RequiresContainer|}}}|Yes|No}}
|{{#if: {{{RequiresContainer|}}}|<translate><!--T:19--> Yes</translate>|<translate><!--T:20--> No</translate>}}
{{#if: {{{Output|Yes}}} | {{#!:
{{#if: {{{OutputName|Yes}}} | {{#!:
|-
|-
|'''Output'''
|'''<translate><!--T:5--> Output</translate>'''
|[[{{{Output}}}]]
|[[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]]
|-
|-
|'''Output Amount'''
|'''<translate><!--T:6--> Output Amount</translate>'''
|{{{OutputAmount|1}}}
|{{{OutputAmount|1}}}
}} }}
}} }}
Line 24: Line 25:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Parameter !! Required or Optional, default if applicable !! Example
! <translate><!--T:7--> Parameter</translate> !! <translate><!--T:8--> Required or Optional, default if applicable</translate> !! <translate><!--T:9--> Example</translate>
|-
|-
| ''SmeltTemp'' || Required || 100
| ''SmeltTemp'' || <translate><!--T:10--> Required</translate> || 1050
|-
|-
| ''SmeltDuration'' || Required || 10
| ''RequiresContainer'' || <translate><!--T:11--> Optional, No</translate> || <translate><!--T:12--> Yes</translate>
|-
|-
| ''SmeltRatio'' || Optional, 1 || 0.5
| ''OutputLink'' || <translate><!--T:13--> Required if ''RequiresContainer''</translate> || Ingot_mold
|-
|-
| ''RequiresContainer'' || Optional, No || Yes
| ''OutputName'' || <translate><!--T:14--> Required if ''RequiresContainer''</translate> || <translate><!--T:15--> Ingot mold</translate>
|-
|-
| ''Output'' || Optional || Torch
| ''OutputAmount'' || <translate><!--T:16--> Optional, 1</translate> || 2
|-
| ''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.
<translate>
<!--T:17-->
''OutputLink'' is a link to the wiki page of the mold used to cast the item so make sure it's not a red link.
 
<!--T:18-->
Pass any value to ''RequiresContainer'' for the value of "Yes" to appear.<br>If no mold is required (if the item is not made with casting but with smithing), dont write ''RequiredContainer=No'', just ignore this line and the lines below.
</translate>
</noinclude>
</noinclude>

Latest revision as of 06:12, 27 July 2023

Other languages:
Parameter Required or Optional, default if applicable Example
SmeltTemp Required 1050
RequiresContainer Optional, No Yes
OutputLink Required if RequiresContainer Ingot_mold
OutputName Required if RequiresContainer Ingot mold
OutputAmount Optional, 1 2

OutputLink is a link to the wiki page of the mold used to cast the item so make sure it's not a red link.

Pass any value to RequiresContainer for the value of "Yes" to appear.
If no mold is required (if the item is not made with casting but with smithing), dont write RequiredContainer=No, just ignore this line and the lines below.