Template:Item: Difference between revisions

From Vintage Story Wiki
mNo edit summary
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|}}}|10em|0}};"
<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}}}
|FloatLeft=yes
|NoBreak=y
|NoBreak=yes
|Margin=yes
}}
}}
Copper is very likely to be the first metal most players obtain. It can be found in small stone surface deposits that provide smeltable ore nuggets when broken, thus a [[hammer]] isn't needed. Copper nuggets can also be obtained by [[panning]]. A high temperature [[fuel]] such as [[charcoal]] is needed to smelt copper, which can be used to make every type of weapon, tool, and [[armor]] via the [[casting]] and [[smithing]] mechanics. Copper is also used as a component in all alloys, including: brass, tin bronze, black bronze, bismuth bronze, and molybdochalkos.
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>{{{NoBreak}}}</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