<infobox> <title source="name"><default>Infobox/Item</default></title> <image source="image"><default>No picture.png</default></image> <group>
<header>
</header>
<label>Item Type</label> <format>{{#switch:{{{item type}}}
|clothing=Clothing |drink=Drink |first aid=First aid |food=Food |material=Material |tool=Tool |fire starting=Fire Starting }}</format>
<default>Item</default> <label>Wintermute</label> <format>{{#switch:{{{wintermute}}}
|yes=Yes
|no=No
}}</format>
<default>No</default>
<label>Renewable</label>
<label>Clothing Slot</label> <format>{{#switch:{{{clothing slot}}}
|Head=Head
|Hands=Hands
|Inner torso=Inner torso
|Outer torso=Outer torso
|Inner legs=Inner legs
|Outer legs=Outer legs
|Inner feet=Inner feet
|Outer feet=Outer feet
|Accessory=Accessory
}}</format>
<label>Firestarting Slot</label> <format>{{#switch:{{{firestarting slot}}}
|Starter=Starter
|Tinder=Tinder
|Fuel=Fuel
|Accelerant=Accelerant
}}</format>
</group> <group>
<header>
</header>
<label>Burn density</label><format>{{{burn density}}} hr/kg
({{#expr:{{{burn density}}}/2.2 round 2}} hr/lb)</format>
<label>Energy density</label><format>{{#if:|{{{energy density}}} cal/kg
({{#expr:{{{energy density}}}/2.2 round 0}} cal/lb)|{{#if:|{{#expr: {{{calories}}}/{{{weight}}} round 0}} cal/kg
({{#expr: {{{calories}}}/{{{weight}}}/2.2 round 0}} cal/lb)}}}}</format>
<group layout="horizontal">
<label>Weight</label><format>
{{#if:|{{{weight lower}}} - {{{weight}}} kg|{{{weight}}} kg}}
{{#if:|({{#expr: {{{weight lower}}}*2.2 round 2}} - {{#expr: {{{weight}}}*2.2 round 2}} lbs)|({{#expr: {{{weight}}}*2.2 round 2}} lbs)}}</format> <label>Warmth bonus</label><format>
{{{warmth bonus}}} °C
({{#expr: {{{warmth bonus}}}*1.8 round 1 }} °F)</format>
<label>Windproof bonus</label><format>![]()
{{{windproof bonus}}} °C
({{#expr: {{{windproof bonus}}}*1.8 round 1 }} °F)</format>
<label>Calories</label><format>![]()
{{{calories}}} calories</format>
<label>Hydration</label><format>![]()
{{{hydration}}}</format>
<label>Burn time</label><format>![]()
{{{burn time}}} minutes</format>
<label>Heat</label><format>![]()
+{{{heat}}}°C
(+{{#expr: {{{heat}}}*1.8 round 1 }}°F)</format>
<label>Bonus chance</label><format>![]()
{{{firestarting modifier}}}</format>
<label>Unit weight</label><format>![]()
{{{unit weight}}} kg/{{{unit name}}}
({{#expr:{{{unit weight}}}*2.2 round 3}} lbs/{{{unit name}}})</format>
<label>Unit count</label><format>![]()
{{{unit count}}}
{{{unit name}}}</format>
</group>
<group layout="horizontal">
<label>Waterproof bonus</label><format>
{{{waterproofness}}}</format>
<label>Protection</label><format>
{{{protection}}}</format>
<label>Mobility</label><format>
{{{mobility}}}</format>
</group>
<group layout="horizontal">
<label>Harvest</label> <label>Repair</label> </group> </group> </infobox>
| Information about this template and examples can be found below |
|---|
| To edit the template "Infobox/Item" itself, click here. To edit the information and examples below, click here. (How does this work?) |
- Description
- This template is used on pages for all items except food, clothing, and First aid.
- Syntax
- Type this at the top of a page, but below any notice templates.
{{Infobox/Item
|name = (If left blank, defaults to the page name)
|image = Filename for the inventory icon
|item type = options (case sensitive):
clothing
material
tool
fire
|clothing slot = options:
Head
Hands
Inner torso
Outer torso
Inner legs
Outer legs
Inner feet
Outer feet
Accessory
|weight = Weight, in kilograms*
|warmth bonus = Clothing warmth bonus, in celcius*
|windproof bonus = Clothing windproof bonus, in celcius*
|protection = Clothing protection bonus, in celcius*
|mobility = Clothing mobility penalty, in celcius*
|firestarting slot = options:
Starter
Tinder
Fuel
Accelerant
|firestarting modifier = Firestarting bonus chance, as a percent
|burn time = burn time, in minutes*
|burn density = burn ratio, in hours/kg*
|heat = burn heat, in celcius*
|harvest = Results from harvesting
|repair = Requirements to repair
}}
- Blank
- A blank infobox for copy-pasting
{{Infobox/Item
|name =
|image =
|item type =
|clothing slot =
|weight =
|warmth bonus =
|windproof bonus =
|protection =
|mobility =
|firestarting slot =
|firestarting modifier =
|burn time =
|burn density =
|heat =
|harvest =
|repair =
}}
- Samples
- Type in this:
{{Infobox/Item
|name = name
|caption = caption
|image = Chocolate Bar icon.png
|item type = tool
|clothing slot = Hands
|weight = 0.5
|warmth bonus = 4
|windproof bonus = 12
|protection = 5%
|mobility = -5%
|firestarting slot = Starter
|firestarting modifier = +15%
|burn time = 60
|burn density = 1.5
|heat = 12
|harvest = 2 × [[Scrap metal]] <br/> 1 × [[Fir firewood]]
|repair = [[Whetstone]]
}}
- To see this:
<infobox> <title source="name"><default>Infobox/Item</default></title> <image source="image"><default>No picture.png</default></image> <group>
<header><label>Item Type</label> <format>{{#switch:tool
|clothing=Clothing |drink=Drink |first aid=First aid |food=Food |material=Material |tool=Tool |fire starting=Fire Starting }}</format>
<default>Item</default> <label>Wintermute</label> <format>{{#switch:{{{wintermute}}}
|yes=Yes
|no=No
}}</format>
<default>No</default>
<label>Renewable</label>
<label>Clothing Slot</label> <format>{{#switch:Hands
|Head=Head
|Hands=Hands
|Inner torso=Inner torso
|Outer torso=Outer torso
|Inner legs=Inner legs
|Outer legs=Outer legs
|Inner feet=Inner feet
|Outer feet=Outer feet
|Accessory=Accessory
}}</format>
<label>Firestarting Slot</label> <format>{{#switch:Starter
|Starter=Starter
|Tinder=Tinder
|Fuel=Fuel
|Accelerant=Accelerant
}}</format>
</group> <group>
<header><label>Burn density</label><format>1.5 hr/kg
({{#expr:1.5/2.2 round 2}} hr/lb)</format>
<label>Energy density</label><format>{{#if:|{{{energy density}}} cal/kg
({{#expr:{{{energy density}}}/2.2 round 0}} cal/lb)|{{#if:|{{#expr: {{{calories}}}/0.5 round 0}} cal/kg
({{#expr: {{{calories}}}/0.5/2.2 round 0}} cal/lb)}}}}</format>
<group layout="horizontal">
<label>Weight</label><format>
{{#if:|{{{weight lower}}} - 0.5 kg|0.5 kg}}
{{#if:|({{#expr: {{{weight lower}}}*2.2 round 2}} - {{#expr: 0.5*2.2 round 2}} lbs)|({{#expr: 0.5*2.2 round 2}} lbs)}}</format> <label>Warmth bonus</label><format>
4 °C
({{#expr: 4*1.8 round 1 }} °F)</format>
<label>Windproof bonus</label><format>![]()
12 °C
({{#expr: 12*1.8 round 1 }} °F)</format>
<label>Calories</label><format>![]()
{{{calories}}} calories</format>
<label>Hydration</label><format>![]()
{{{hydration}}}</format>
<label>Burn time</label><format>![]()
60 minutes</format>
<label>Heat</label><format>![]()
+12°C
(+{{#expr: 12*1.8 round 1 }}°F)</format>
<label>Bonus chance</label><format>![]()
+15%</format>
<label>Unit weight</label><format>![]()
{{{unit weight}}} kg/{{{unit name}}}
({{#expr:{{{unit weight}}}*2.2 round 3}} lbs/{{{unit name}}})</format>
<label>Unit count</label><format>![]()
{{{unit count}}}
{{{unit name}}}</format>
</group>
<group layout="horizontal">
<label>Waterproof bonus</label><format>
{{{waterproofness}}}</format>
<label>Protection</label><format>
5%</format>
<label>Mobility</label><format>
-5%</format>
</group>
<group layout="horizontal">
<label>Harvest</label> <label>Repair</label> </group> </group> </infobox>
Click here to refresh the preview above