Template:Item/Smeltable: Difference between revisions

From Vintage Story Wiki
(Marked this version for translation)
No edit summary
Line 3: Line 3:
|bgcolor="#000000" colspan="2" class="TC" style="text-align:center; font-size:13.5px;"|<font color="white">'''<translate><!--T:1--> Smeltable</translate>'''</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>Smelt Point</translate>'''
|{{{SmeltTemp}}}°C
|{{{SmeltTemp}}}<translate>°C</translate>
|-
|-
<!--|'''Smelt Duration'''-->  <!-- Removed because this information is unavailable -->
<!--|'''Smelt Duration'''-->  <!-- Removed because this information is unavailable -->
Line 12: Line 12:
<!--|{{{SmeltRatio|1}}}-->    <!-- Removed because this information is unavailable -->
<!--|{{{SmeltRatio|1}}}-->    <!-- Removed because this information is unavailable -->
<!--|--->                      <!-- Removed because this information is unavailable -->
<!--|--->                      <!-- Removed because this information is unavailable -->
|'''Requires Container'''
|'''<translate>Requires Container</translate>'''
|{{#if: {{{RequiresContainer|}}}|Yes|No}}
|{{#if: {{{RequiresContainer|}}}|Yes|No}}
{{#if: {{{OutputName|Yes}}} | {{#!:
{{#if: {{{OutputName|Yes}}} | {{#!:
|-
|-
|'''Output'''
|'''<translate>Output</translate>'''
|[[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]]
|[[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]]
|-
|-
|'''Output Amount'''
|'''<translate>Output Amount</translate>'''
|{{{OutputAmount|1}}}
|{{{OutputAmount|1}}}
}} }}
}} }}
Line 25: Line 25:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Parameter !! Required or Optional, default if applicable !! Example
! <translate>Parameter</translate> !! <translate>Required or Optional, default if applicable</translate> !! <translate>Example</translate>
|-
|-
| ''SmeltTemp'' || Required || 1050
| ''SmeltTemp'' || <translate>Required</translate> || 1050
|-
|-
| ''RequiresContainer'' || Optional, No || Yes
| ''RequiresContainer'' || <translate>Optional, No</translate> || <translate>Yes</translate>
|-
|-
| ''OutputLink'' || Required if ''RequiresContainer'' || Ingot_mold
| ''OutputLink'' || <translate>Required if ''RequiresContainer''</translate> || Ingot_mold
|-
|-
| ''OutputName'' || Required if ''RequiresContainer'' || Ingot mold
| ''OutputName'' || <translate>Required if ''RequiresContainer''</translate> || <translate>Ingot mold</translate>
|-
|-
| ''OutputAmount'' || Optional, 1 || 2
| ''OutputAmount'' || <translate>Optional, 1</translate> || 2
|}
|}


<translate>
''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.
''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.<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.
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>

Revision as of 06:08, 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.