Template:Item/Smeltable/th: Difference between revisions

From Vintage Story Wiki
(Created page with "แม่พิมพ์แท่งโลหะ")
(Created page with "ตัวแปร")
Line 16: Line 16:
{{#if: {{{OutputName|Yes}}} | {{#!:
{{#if: {{{OutputName|Yes}}} | {{#!:
|-
|-
|'''<span lang="en" dir="ltr" class="mw-content-ltr">Output</span>'''
|'''ผลผลิต'''
|[[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]]
|[[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]]
|-
|-
|'''<span lang="en" dir="ltr" class="mw-content-ltr">Output Amount</span>'''
|'''จำนวนผลผลิต'''
|{{{OutputAmount|1}}}
|{{{OutputAmount|1}}}
}} }}
}} }}
Line 25: Line 25:
{| class="wikitable"
{| class="wikitable"
|-
|-
! <span lang="en" dir="ltr" class="mw-content-ltr">Parameter</span> !! <span lang="en" dir="ltr" class="mw-content-ltr">Required or Optional, default if applicable</span> !! <span lang="en" dir="ltr" class="mw-content-ltr">Example</span>
! ตัวแปร !! ความจำเป็น ค่าตั้งต้นหากใช้งานได้ !! ตัวอย่าง
|-
|-
| ''SmeltTemp'' || <span lang="en" dir="ltr" class="mw-content-ltr">Required</span> || 1050
| ''SmeltTemp'' || จำเป็น || 1050
|-
|-
| ''RequiresContainer'' || <span lang="en" dir="ltr" class="mw-content-ltr">Optional, No</span> || <span lang="en" dir="ltr" class="mw-content-ltr">Yes</span>
| ''RequiresContainer'' || ไม่จำเป็น, ไม่ || ต้องการ
|-
|-
| ''OutputLink'' || จำเป็นหาก''RequiresContainer'' || Ingot_mold
| ''OutputLink'' || จำเป็นหาก''RequiresContainer'' || Ingot_mold

Revision as of 20:25, 12 April 2024

Other languages:
ตัวแปร ความจำเป็น ค่าตั้งต้นหากใช้งานได้ ตัวอย่าง
SmeltTemp จำเป็น 1050
RequiresContainer ไม่จำเป็น, ไม่ ต้องการ
OutputLink จำเป็นหากRequiresContainer Ingot_mold
OutputName จำเป็นหากRequiresContainer แม่พิมพ์แท่งโลหะ
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.