Template:Item: Difference between revisions

From Vintage Story Wiki
m (fix SmeltRatio PART THREE)
m (what it uses)
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|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" 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="#ffffff" colspan=2 style="text-align: center"| {{{Image}}}
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| {{{Image}}}
|-
|-
|class="TC"|'''Stackable'''
|class="TC"|'''Stackable'''
Line 68: Line 68:


All parameters except <code>{{{Name}}}</code>,<code>{{{Image}}}</code>, and <code>{{{Stackable}}}</code> are optional. Also, positioning can be achieved with <code>{{{FloatLeft}}}</code>, and <code>{{{NoBreak}}}</code>.
All parameters except <code>{{{Name}}}</code>,<code>{{{Image}}}</code>, and <code>{{{Stackable}}}</code> are optional. Also, positioning can be achieved with <code>{{{FloatLeft}}}</code>, and <code>{{{NoBreak}}}</code>.
Utilizes: [[:Template:Item/Food]], [[:Template:Item/Fuel]], [[:Template:Item/Smeltable]], [[:Template:Item/Transitionable]]
[[Category:Infoboxes]]
[[Category:Infoboxes]]
</noinclude>
</noinclude>

Revision as of 20:12, 2 December 2019


Example:

{{{Name}}}
[[{{{Image}}}|100px]]
Stackable {{{Stackable}}}
Fuel
Temperature {{{Temp}}}°C
Duration {{{Duration}}} s
Smeltable
Smelt Point {{{SmeltTemp}}}°C
Requires Container Yes
Food
Satiety {{{Satiety}}}
Category

{{{Category}}}

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



All parameters except {{{Name}}},{{{Image}}}, and {{{Stackable}}} are optional. Also, positioning can be achieved with {{{FloatLeft}}}, and {{{NoBreak}}}.

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