Template:Item: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) mNo edit summary |
VeryGoodDog (talk | contribs) m (margin but right this time) |
||
Line 1: | Line 1: | ||
<includeonly>{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:{{#if:{{{FloatLeft|}}}|left|right}}; margin:{{#if:{{{Margin|}}}| | <includeonly>{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:{{#if:{{{FloatLeft|}}}|left|right}}; margin:{{#if:{{{Margin|}}}|1em|0}};" | ||
|- | |- | ||
|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> | ||
Line 65: | Line 65: | ||
|Satiety={{{Satiety}}} | |Satiety={{{Satiety}}} | ||
|Category={{{Category}}} | |Category={{{Category}}} | ||
|NoBreak=y | |||
|NoBreak= | |||
}} | }} | ||
All parameters except <code>{{{Name}}}</code>,<code>{{{Image}}}</code>, and <code>{{{Stackable}}}</code> are optional. Also, positioning can be achieved with <code>{{{FloatLeft}}}</code>, <code>{{{NoBreak}}}</code>, and <code>{{{Margin}}}</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>{{{ | |||
Utilizes: [[:Template:Item/Food]], [[:Template:Item/Fuel]], [[:Template:Item/Smeltable]], [[:Template:Item/Transitionable]] | Utilizes: [[:Template:Item/Food]], [[:Template:Item/Fuel]], [[:Template:Item/Smeltable]], [[:Template:Item/Transitionable]] | ||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
</noinclude> | </noinclude> |
Revision as of 15:32, 1 February 2020
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}}}
, {{{NoBreak}}}
, and {{{Margin}}}
.
Utilizes: Template:Item/Food, Template:Item/Fuel, Template:Item/Smeltable, Template:Item/Transitionable