Template:Item/Smeltable: Difference between revisions

From Vintage Story Wiki
m (Fix smelt ratio part 2)
(Marked this version for translation)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude><languages /></noinclude>
|bgcolor="#000000" colspan="2" class="TC" style="text-align:center; font-size:13.5px;"|<font color="white">'''Smeltable'''</font>
<includeonly>|-
|bgcolor="#000000" colspan="2" class="TC" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:1--> Smeltable</translate>'''</font>
|-
|-
|class="TC"|'''Smelt Point'''
|'''<translate><!--T:2--> Smelt Point</translate>'''
|class="TC"|{{{SmeltTemp}}}°C
|{{{SmeltTemp}}}<translate><!--T:3--> °C</translate>
|-
|-
|class="TC"|'''Smelt Duration'''
<!--|'''Smelt Duration'''-->  <!-- Removed because this information is unavailable -->
|class="TC"|{{{SmeltDuration}}} s
<!--|{{{SmeltDuration}}} s-->  <!-- Removed because this information is unavailable -->
<!--|--->                      <!-- Removed because this information is unavailable -->
<!--|'''Smelt Ratio'''-->      <!-- Removed because this information is unavailable -->
<!--|{{{SmeltRatio|1}}}-->    <!-- Removed because this information is unavailable -->
<!--|--->                      <!-- Removed because this information is unavailable -->
|'''<translate><!--T:4--> Requires Container</translate>'''
|{{#if: {{{RequiresContainer|}}}|<translate><!--T:19--> Yes</translate>|<translate><!--T:20--> No</translate>}}
{{#if: {{{OutputName|Yes}}} | {{#!:
|-
|-
|class="TC"|'''Smelt Ratio'''
|'''<translate><!--T:5--> Output</translate>'''
|class="TC"|{{{SmeltRatio}}}
|[[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]]
|-
|-
|class="TC"|'''Requires Container'''
|'''<translate><!--T:6--> Output Amount</translate>'''
|class="TC"|{{{RequiresContainer}}}
|{{{OutputAmount|1}}}
 
}} }}
[[Category:Smeltables]]
|-</includeonly><noinclude>
</includeonly>
 
<noinclude>
{| class="wikitable"
{| class="wikitable"
|-
|-
! Parameter Name !! Purpose !! Example Value
! <translate><!--T:7--> Parameter</translate> !! <translate><!--T:8--> Required or Optional, default if applicable</translate> !! <translate><!--T:9--> Example</translate>
|-
|-
| SmeltTemp || Temp at which smelt starts ||| 100
| ''SmeltTemp'' || <translate><!--T:10--> Required</translate> || 1050
|-
|-
| SmeltDuration || Duration smelt takes ||| 10
| ''RequiresContainer'' || <translate><!--T:11--> Optional, No</translate> || <translate><!--T:12--> Yes</translate>
|-
|-
| SmeltRatio || Ratio of ingredients to products ||| 0.5
| ''OutputLink'' || <translate><!--T:13--> Required if ''RequiresContainer''</translate> || Ingot_mold
|-
|-
| RequiresContainer || Whether smelt needs a container ||| Yes
| ''OutputName'' || <translate><!--T:14--> Required if ''RequiresContainer''</translate> || <translate><!--T:15--> Ingot mold</translate>
|-
| ''OutputAmount'' || <translate><!--T:16--> Optional, 1</translate> || 2
|}
|}
<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.