Difference between revisions of "Food Template"

From UnReal World Wiki
Jump to: navigation, search
 
(8 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
<!-- Template Start -->
 
{{infobox Food
 
{{infobox Food
 
|type        =  
 
|type        =  
 
|weight      =  
 
|weight      =  
 +
|value      =
 
|source      =  
 
|source      =  
 
|spoilTime  =
 
|spoilTime  =
 +
|mustCook    =
 
|carb        =  
 
|carb        =  
 
|fat        =  
 
|fat        =  
Line 24: Line 27:
 
<br/>
 
<br/>
 
<br/>
 
<br/>
 
+
<br/>
 
+
<br/>
 
+
<br/>
 +
<br/>
  
 
=== Basic Info ===
 
=== Basic Info ===
Line 45: Line 49:
 
<br/>
 
<br/>
  
 +
;|value      =
 +
:Trade value of the item
 +
 +
;|spoilTime  = How long to spoil (Base)
 +
 +
;|mustCook    =
 +
:Whether or not the item must be cooked.
 
=== Nutritional Information ===
 
=== Nutritional Information ===
 
;|carb        =  
 
;|carb        =  
Line 63: Line 74:
  
 
=== Medicinal Section ===
 
=== Medicinal Section ===
 +
This section only appears if herb, root, flower, or mushroom
 +
 
;|poisonous  =  
 
;|poisonous  =  
 
:Defines if the item is poisonous.   
 
:Defines if the item is poisonous.   
:This section only shows up if |type is set to herb or mushroom.
 
 
<br/>
 
<br/>
  
;|effects    =  
+
;|effectsRaw =  
:Defines the additional effects of the item
+
:Defines the additional effects of the item if eaten raw.
:This section only shows up if type is set to herb or mushroom.
+
 
<br/>
 
<br/>
 +
 +
The following only shows up if herb, root, flower
 +
 +
;|effectsBoiled =
 +
:Defines the effects if boiled.
 +
 +
;|effectsTopical =
 +
:Defines effects if applied with bandage.
  
 
=== Recipe Section ===
 
=== Recipe Section ===
Line 91: Line 110:
 
:<nowiki>[[requires:Roast]]</nowiki>
 
:<nowiki>[[requires:Roast]]</nowiki>
 
<br/>
 
<br/>
 +
 +
;|prepareTime =
 +
: How long to prepare it for cooking
 +
 +
;|cookTime =
 +
: How long it has to cook after prepared.
  
 
[[Category:WikiTemplates]]
 
[[Category:WikiTemplates]]

Latest revision as of 05:30, 26 September 2014

Food Template
300x100px
Basic Info
Type: '
Weight: '
Source: '
Trade Value: '
Spoil Time: '
Must Cook: '
Nutrition
Carb '
Fat '
Protein '
Water '
more on nutrition


Template Parameters

This template is used when including food in the wiki. The template is reactive to certain conditions and terms,so it's important to follow the standards the template is set up with. A clarification of data is listed below.









Basic Info

|type =
Defines the type of food the entry describes
Valid entries are: Berry, Meat, Fish, Porridge, Grain, Seed, Stew, Root, Pod, Stew, Flour
It is important that you only use valid entries, as it has specific effects on how the template displays.


|weight =
The weight of a single unit in pounds.


|source =
Where the food comes from in the following format:
[[requires::Blueberry Shrub]] [[requires::Elk]]
Using this format ensures that the proper automatic cross-referencing takes place.


|value =
Trade value of the item
|spoilTime = How long to spoil (Base)
|mustCook =
Whether or not the item must be cooked.

Nutritional Information

|carb =
The number of carbs in a single unit of the item


|fat =
The number of fat in a single unit of the item


|protein =
The number of protein in a single unit of the item


|water =
The number of water in a single unit of the item


Medicinal Section

This section only appears if herb, root, flower, or mushroom

|poisonous =
Defines if the item is poisonous.


|effectsRaw =
Defines the additional effects of the item if eaten raw.


The following only shows up if herb, root, flower

|effectsBoiled =
Defines the effects if boiled.
|effectsTopical =
Defines effects if applied with bandage.

Recipe Section

The recipe section will only appears if the ingredient section is filled out.

|ingredients =
A list of the ingredients in a recipe, each item must be listed in the following format.
1lb [[requires:Berry]]


|tools =
A list of the ingredients in a recipe, each item must be listed in the following format.
[[requires:Pot]]


|process =
The processes needed to complete the recipe.
[[requires:Roast]]


|prepareTime =
How long to prepare it for cooking
|cookTime =
How long it has to cook after prepared.