Template:Item/Smeltable: Difference between revisions

From Vintage Story Wiki
m (fix formatting)
(Marked this version for translation)
 
(19 intermediate revisions by 2 users 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'''
<!--|'''Smelt Duration'''-->  <!-- Removed because this information is unavailable -->
|{{{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}}} | {{#!:
|-
|-
|'''Smelt Ratio'''
|'''<translate><!--T:5--> Output</translate>'''
|{{{SmeltRatio|1}}}
|[[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]]
|-
|-
|'''Requires Container'''
|'''<translate><!--T:6--> Output Amount</translate>'''
|{{#if: {{{RequiresContainer|}}}|Yes|No}}
{{#if: {{{Output|}}} | {{#!:
|-
|'''Output'''
|[[{{{Output}}}]]
|-
|'''Output Amount'''
|{{{OutputAmount|1}}}
|{{{OutputAmount|1}}}
}} }}
}} }}
[[Category:Smeltables]]
|-</includeonly><noinclude>
|-</includeonly><noinclude>
{| 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
|-
|-
| ''SmeltDuration'' || Required || 10
| ''SmeltTemp'' || <translate><!--T:10--> Required</translate> || 1050
|-
|-
| ''SmeltRatio'' || Optional, 1 || 0.5
| ''RequiresContainer'' || <translate><!--T:11--> Optional, No</translate> || <translate><!--T:12--> Yes</translate>
|-
|-
| ''RequiresContainer'' || Optional, No || Yes
| ''OutputLink'' || <translate><!--T:13--> Required if ''RequiresContainer''</translate> || Ingot_mold
|-
|-
| ''Output'' || Optional || Torch
| ''OutputName'' || <translate><!--T:14--> Required if ''RequiresContainer''</translate> || <translate><!--T:15--> Ingot mold</translate>
|-
|-
| ''OutputAmount'' || Optional, 1 || 2
| ''OutputAmount'' || <translate><!--T:16--> Optional, 1</translate> || 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.