Template:Item/Smeltable: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (move the code from Template:Item into here because its always applicable) |
(Marked this version for translation) |
||
(21 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> | |||
|- | |- | ||
|'''<translate><!--T:2--> Smelt Point</translate>''' | |||
|{{{SmeltTemp}}}<translate><!--T:3--> °C</translate> | |||
|- | |- | ||
<!--|'''Smelt Duration'''--> <!-- Removed because this information is unavailable --> | |||
<!--|{{{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}}} | {{#!: | |||
|- | |- | ||
|'''<translate><!--T:5--> Output</translate>''' | |||
| | |[[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]] | ||
|- | |- | ||
|'''<translate><!--T:6--> Output Amount</translate>''' | |||
| | |{{{OutputAmount|1}}} | ||
}} }} | |||
|-</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 || | | ''SmeltTemp'' || <translate><!--T:10--> Required</translate> || 1050 | ||
|- | |- | ||
| '' | | ''RequiresContainer'' || <translate><!--T:11--> Optional, No</translate> || <translate><!--T:12--> Yes</translate> | ||
|- | |- | ||
| '' | | ''OutputLink'' || <translate><!--T:13--> Required if ''RequiresContainer''</translate> || Ingot_mold | ||
|- | |- | ||
| ''RequiresContainer'' || Optional, | | ''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
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.