<infobox> <title source="name"><default>Infobox/First aid</default></title> <image source="image"><default>No picture.png</default></image> <group> <header>General</header> <label>Item Type</label> <default>First aid</default>

   <label>Renewable</label>
 

</group> <group> <header>Statistics</header> <label>Unit weight</label><format>{{#expr: {{{ weight}}}/{{{unit count}}} round 2}} kg/{{{unit name}}}
({{#expr:{{{ weight}}}/{{{unit count}}}*2.2 round 2}} lbs/{{{unit name}}})</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>Calories</label><format>
{{{calories}}} calories</format>
<label>Hydration</label><format>
{{{hydration}}}</format>
<label>Unit count</label><format>
{{{unit count}}} {{{unit name}}}s</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/First aid" itself, click here.

To edit the information and examples below, click here. (How does this work?)

Description
This template is used on pages for First aid items.
Syntax
Type this at the top of a page, but below any notice templates.
{{Infobox/First aid
|name        = (If left blank, will default to the page name)
|image       = Filename for the inventory icon
|item type   = (If left blank, will default to "First Aid", and will add the page to [[Category:First Aid]])
|weight      = The total weight of a full package
|unit weight = The weight of a single dose
|unit count  = The number of doses per package
|unit name   = The type of item a single dose is made of
}}
Blank
A blank infobox for copy-pasting
{{Infobox/First aid
|name        = 
|image       = 
|item type   = 
|weight      = 
|unit weight = 
|unit count  = 
|unit name   = 
}}
Samples
Type in this:
{{Infobox/First aid
|name        = Water Purification Tablets
|image       = Water Purification Tablets icon.png
|item type   = First aid
|weight      = 0.25
|unit weight = 0.063
|unit count  = 4
|unit name   = tablet
}}
To see this:

<infobox> <title source="name"><default>Infobox/First aid</default></title> <image source="image"><default>No picture.png</default></image> <group> <header>General</header> <label>Item Type</label> <default>First aid</default>

   <label>Renewable</label>
 

</group> <group> <header>Statistics</header> <label>Unit weight</label><format>{{#expr: 0.25/4 round 2}} kg/tablet
({{#expr:0.25/4*2.2 round 2}} lbs/tablet)</format>
<group layout="horizontal">

       <label>Weight</label><format>
{{#if:|{{{weight lower}}} - 0.25 kg|0.25 kg}}
{{#if:|({{#expr: {{{weight lower}}}*2.2 round 2}} - {{#expr: 0.25*2.2 round 2}} lbs)|({{#expr: 0.25*2.2 round 2}} lbs)}}</format>

<label>Calories</label><format>
{{{calories}}} calories</format>
<label>Hydration</label><format>
{{{hydration}}}</format>
<label>Unit count</label><format>
4 tablets</format>

   </group>
   <group layout="horizontal">

<label>Harvest</label> <label>Repair</label> </group> </group> </infobox>

Click here to refresh the preview above