Template:Food Template

From DayZ Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)(view · edit · purge)

Infobox template for Food and Drink pages. Place the following template at the top of the article, below any page management templates:

Parameters

Unless stated otherwise all parameters default to Unknown.

Name Description
name The name of the food item (for non-English pages only, otherwise leave blank).
image The image name: For example: AlpherPlaceholder.png
version The version in full notation. Invalid example: 0.00.000000
General
category The Category of the specific item. For example: Canned Goods or Dry Food
size The amount of space required to fit the item into the player's inventory. Format: HorizontalxVertical e.g. 2x2
stacklimit The maximum amount of that item that you can stack together. Leave empty if it is not stackable.
uses How often is this item usable. Format: times ((100 / times)% each use e.g. 5 (20% each use)
weight Weight of that item in grams.
absorbency The amount of water the item will soak up. 0% means waterproof, higher numbers means the item will absorb more water.
content The number of seeds found within this item (Horticulture food only).
Nutritional Values
energy The amount of Energy this item provides.
water The amount of Water this item provides.
stomach The amount of Stomach this item fills after full consumption.
nutrition The Nutritional Index value of this item.
toxicity The amount of toxic substances this item provides.
Occurrence
location Where the item can be found.
rarity How likely it is to find the item.
variant Optional. Leave blank if none.
Description
description In-game description of the item.

Empty Template

Empty template with the most commonly used parameters, for quick copy & paste to be used on new pages:

{{Food Template
| name        = <!-- for use with non-English pages only -->
| image       = AlpherPlaceholder.png
| version     = 0.00.000000
<!-- General -->
| category    = 
| size        = 
| stacklimit  = 
| uses        = 
| weight      =
| absorbency  = 
| content     = 
<!-- Nutritional Value -->
| energy      = 
| water       = 
| stomach     = 
| nutrition   = 
| toxicity    = 
<!-- Occurrence -->
| location    = 
| rarity      = 
| variant     = 
<!-- Description-->
| description = 
}}

Example

Food Template
Can of Sardins.png
General
Category Food and Drink > Canned Goods
Size 1 Slot
Uses 4 (25% each use)
Weight Unknown
Absorbency 0%
Nutritional Values
Energy 333 kcal
Water 96 mL
Stomach 160 mL
Nutritional Index 86
Toxicity 0
Occurrence
Locations All Locations
Rarity Common
Variants None
A common type of fish consumed by humans, as sardines are rich in nutrients. They are commonly served in cans, but fresh sardines are also often grilled, pickled or smoked. — In-game description
Documentation transcluded from Template:Food Template/doc.