Template:Item: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) (soon to have support for different sub templates) |
VeryGoodDog (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
|bgcolor="#ffffff" colspan=2 style="text-align: center"| {{{Image}}} | |bgcolor="#ffffff" colspan=2 style="text-align: center"| {{{Image}}} | ||
|- | |- | ||
|class="TC"|'''Stackable''' | |class="TC"|'''Stackable''' | ||
|class="TC"|{{{Stackable | |class="TC"|{{{Stackable}}} | ||
{{#if: {{{Temp}}} | {{#!: | |- | ||
{{#if: {{{Temp|}}} | {{#!: | |||
{{Item/Fuel | {{Item/Fuel | ||
|Temp={{{Temp}}} | |Temp={{{Temp}}} | ||
|Duration={{{Duration}}} | |Duration={{{Duration}}} | ||
}} }} }} | }} | ||
{{#if: {{{ | }} }} | ||
| | |- | ||
| | {{#if: {{{SmeltTemp|}}} | {{#!: | ||
{{Item/Smeltable | |||
|SmeltTemp={{{SmeltTemp}}} | |||
|SmeltDuration={{{SmeltDuration}}} | |||
|SmeltRatio={{{SmeltRatio}}} | |||
|RequiresContainer={{{RequiresContainer}}} | |||
}} | |||
}} }} | |||
|- | |||
{{#if: {{{FreshTime|}}} | {{#!: | |||
{{Item/Transitionable | |||
|FreshTime={{{FreshTime}}} | |||
|TransitionTime={{{TransitionTime}}} | |||
|TransitionRatio={{{TransitionRatio}}} | |||
}} | |||
}} }} | |||
|- | |||
{{#if: {{{Satiety|}}} | {{#!: | |||
{{Item/Food | |||
|Satiety={{{Satiety}}} | |||
|Category={{{Category}}} | |||
}} | |||
}} }} | |||
|- | |- | ||
|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>]] | ||
|} | |} | ||
[[Category:Items]] | [[Category:Items]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
'''Example:''' | |||
<div style="float:left;"> | |||
{{Item | {{Item | ||
|Name=Item | |Name=Item | ||
|Image=[[File:Gravel.png|200px]] | |Image=[[File:Gravel.png|200px]] | ||
| | |Stackable=16 | ||
|Temp=100 | |Temp=100 | ||
|Duration= | |Duration=100 | ||
|SmeltTemp=100 | |||
|SmeltDuration=100 | |||
|SmeltRatio=0.5 | |||
|RequiresContainer=No | |||
|FreshTime=100 | |||
|TransitionTime=100 | |||
|TransitionRatio=0.5 | |||
|Satiety=100 | |||
|Category=Protein | |||
}} | }} | ||
</div> | |||
</noinclude> | </noinclude> |
Revision as of 15:05, 10 November 2019
Example:
Item | |
[[|100px]] | |
Stackable | 16 |
Fuel | |
Temperature | 100°C |
Duration | 100 s |
Smeltable | |
Smelt Point | 100°C |
Requires Container | Yes |
Food | |
Satiety | 100 |
Category |
Protein |
Transitionable | |
Fresh Time | 100 |
Transition Time | 100 |
Transition Ratio | 0.5 |
Items |