Template:Item/Smeltable: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 13: Line 13:
|'''Requires Container'''
|'''Requires Container'''
|{{#if: {{{RequiresContainer|}}}|Yes|No}}
|{{#if: {{{RequiresContainer|}}}|Yes|No}}
{{#if: {{{Output|Yes}}} | {{#!:
{{#if: {{{OutputName|Yes}}} | {{#!:
|-
|-
|'''Output'''
|'''Output'''
|[[{{{Output}}}]]
|[[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]]
|-
|-
|'''Output Amount'''
|'''Output Amount'''
Line 33: Line 33:
|-
|-
| ''RequiresContainer'' || Optional, No || Yes
| ''RequiresContainer'' || Optional, No || Yes
|-
| ''OutputLink'' || Optional || Torch
|-
|-
| ''Output'' || Optional || Torch
| ''Output'' || Optional || Torch
Line 39: Line 41:
|}
|}


''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.
''OutputLink'' is 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.
</noinclude>
</noinclude>
Confirmedusers, editor
37,784

edits