Template:Item/en: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:190px; float:right; margin-left:5px; margin-bottom: 5px;"
<includeonly>{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:190px; float:right; margin-left:5px; margin-bottom: 5px;"
|-
|-
|bgcolor="#000000" colspan="2" class="TC" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|bgcolor="#000000" colspan="2" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|-
|-
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
Line 10: Line 10:
}} }}
}} }}
|-
|-
|class="TC"|'''Stackable'''
|'''Stackable'''
|class="TC"|{{{Stackable|64}}}
|{{{Stackable|64}}}
|-
|-
{{#if: {{{Temp|}}} | {{#!:
{{#if: {{{Temp|}}} |
{{Item/Fuel
{{Item/Fuel
|Temp={{{Temp}}}
|Temp={{{Temp}}}
|Duration={{{Duration}}}
|Duration={{{Duration}}}
}}
}} }}{{#if: {{{SmeltTemp|}}} |
}} }}
|-
{{#if: {{{SmeltTemp|}}} | {{#!:
{{Item/Smeltable
{{Item/Smeltable
|SmeltTemp={{{SmeltTemp}}}
|SmeltTemp={{{SmeltTemp}}}
<!--|SmeltDuration={{{SmeltDuration}}}-->  <!-- Removed because not used -->
<!--|SmeltDuration={{{SmeltDuration}}}-->  <!-- Removed because this information is unavailable -->
<!--|SmeltRatio={{{SmeltRatio|}}}--> <!-- Removed because not used -->
<!--|SmeltRatio={{{SmeltRatio|}}}-->       <!-- Removed because this information is unavailable -->
|RequiresContainer={{{RequiresContainer|}}}
|RequiresContainer={{{RequiresContainer|}}}
}}
|OutputLink={{{OutputLink|}}}
}} }}
|OutputName={{{OutputName|}}}
|-
|OutputAmount={{{OutputAmount|1}}}
{{#if: {{{Satiety|}}} | {{#!:
}} }}{{#if: {{{Satiety|}}} |
{{Item/Food
{{Item/Food
|Satiety={{{Satiety}}}
|Satiety={{{Satiety}}}
|Category={{{Category}}}
|Category={{{Category}}}
}}
}} }}{{#if: {{{FreshTime|}}} |
}} }}
|-
{{#if: {{{FreshTime|}}} | {{#!:
{{Item/Transitionable
{{Item/Transitionable
|FreshTime={{{FreshTime}}}
|FreshTime={{{FreshTime}}}
|TransitionTime={{{TransitionTime}}}
|TransitionTime={{{TransitionTime}}}
|TransitionRatio={{{TransitionRatio|}}}
|TransitionRatio={{{TransitionRatio|}}}
}}
}} }}
}} }}
|-
|-
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Items|<font color="white">'''Items'''</font>]]
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Items|<font color="white">'''Items'''</font>]]
|}{{#if:{{{NoBreak|}}}||{{-}} }}
|}{{#if:{{{NoBreak|}}}||{{-}} }}
[[Category:Items]]
[[Category:Items{{#translation:}}]]</includeonly><noinclude>{{doc}}
</includeonly>
</noinclude>


<noinclude>
<noinclude>
Line 62: Line 55:
|SmeltTemp={{{SmeltTemp}}}
|SmeltTemp={{{SmeltTemp}}}
|RequiresContainer={{{RequiresContainer}}}
|RequiresContainer={{{RequiresContainer}}}
|Output={{{Output}}}
|OutputLink={{{OutputLink}}}
|OutputName={{{OutputName}}}
|OutputAmount={{{OutputAmount}}}
|OutputAmount={{{OutputAmount}}}


Line 92: Line 86:
| ''SmeltTemp'' || Optional || 1000
| ''SmeltTemp'' || Optional || 1000
|-
|-
| ''SmeltDuration'' || Required with ''SmeltTemp'' || 30
| ''RequiresContainer'' || Optional, Yes || Yes
|-
|-
| ''SmeltRatio'' || Optional, 1 || 0.5
| ''OutputLink'' || Optional || Ingot_mold
|-
| ''RequiresContainer'' || Optional, Yes || Yes
|-
|-
| ''Output'' || Optional || Ingot mold
| ''OutputName'' || Optional || Ingot mold
|-
|-
| ''OutputAmount'' || Optional, 1 || 1
| ''OutputAmount'' || Optional, 1 || 1

Revision as of 12:28, 17 July 2023

[create | history | purge this page]Documentation
This template has no documentation. If you know how to use this template, please create it.



Example:

{{{Name}}}
[[{{{Image}}}|100px]]
Material {{{Material}}}
Stackable {{{Stackable}}}
Fuel
Temperature {{{Temp}}}°C
Duration {{{Duration}}} s
Smeltable
Smelt Point {{{SmeltTemp}}}°C
Requires Container Yes
Output [[Special:MyLanguage/{{{OutputLink}}}|{{{OutputName}}}]]
Output Amount {{{OutputAmount}}}
Food
Satiety {{{Satiety}}}
Category

{{{Category}}}

Transitionable
Fresh Time {{{FreshTime}}}
Transition Time {{{TransitionTime}}}
Transition Ratio {{{TransitionRatio}}}
Items


Parameter Required or Optional, default if applicable Example
Name Required Dirt
Image Required File:Grid Dirt.png
Material Optional Wood
Stackable Optional, 64 32
Temp Optional 1000
Duration Required with Temp 30
SmeltTemp Optional 1000
RequiresContainer Optional, Yes Yes
OutputLink Optional Ingot_mold
OutputName Optional Ingot mold
OutputAmount Optional, 1 1
FreshTime Optional 480
TransitionTime Required with FreshTime 48
TransitionRatio Optional, 1 0.75
Satiety Optional 200
Category Required with Satiety Protein

Utilizes: Template:Item/Food, Template:Item/Fuel, Template:Item/Smeltable, Template:Item/Transitionable