Difference between revisions of "Template:Food"

From Salem Wiki
Jump to: navigation, search
(changed structures to objects since foods require ingredients and dont fit to be listed as structures.)
(tutorial added)
Line 24: Line 24:
 
}}
 
}}
 
|-
 
|-
| style="vertical-align"top" | '''Object(s) required:''' || {{#switch: {{{Objects required|}}} | =''none'' | {{T4|{{{Objects required}}} }} }}
+
| style="vertical-align"top" | '''Object(s) required:''' || {{#switch: {{{Objects required|}}} | =None | {{T4|{{{Objects required}}} }} }}
 
|-
 
|-
| style="vertical-align"top" | '''Required by:''' || {{#switch: {{{Required by|}}} | =''none'' | {{T3|{{{Required by}}} }} }}
+
| style="vertical-align"top" | '''Required by:''' || {{#switch: {{{Required by|}}} | =None | {{T3|{{{Required by}}} }} }}
 
|}
 
|}
 
|-
 
|-
Line 80: Line 80:
 
<!--End Template -->
 
<!--End Template -->
 
<noinclude>
 
<noinclude>
<pre>
+
{|
{{Food
+
| style="max-width:640px" |
<!-- Separate different values in each field with commas, as per example below -->
+
==When to use this template:==
| Description= The best thing ever.
+
:To add a new food to the wiki. (or to update an old design to the new one by replacing it)
| Objects required= Kiln, Oven, Stone Wall
+
==How to use this template:==
| Required by= A Fish in the Reeds, Raw Rabbit Steak, Meat Shreds
+
===Breakdown of parameters:===
| Heals=50,3,22,100
+
;Description
| Salt=2,3,5,7
+
:Enter any text from in-game that accompanies the item.
| Mercury=2,8,16,32
+
;Objects required
| Sulphur=4,9,16,25
+
:List any objects required such as ingredients and structures. Each object must be entered with an amount and each separate item should be separated with a comma.
| Lead=1,2,3,4
+
:'''''For example:''''' Objects required=Kiln;1, Bread Oven;1, Stone Hedge;1
}}  
+
;Required by
</pre>
+
:List any objects that require the new item to craft/build. (This option may soon be changed to an automatic field based on the above parameter on other pages)
</noinclude>
+
:'''''For example:''''' Required by=A Fish in the Reeds, Raw Rabbit Steak, Meat Shreds
 +
;Heals
 +
:Enter the healing values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
 +
:'''''For example:''''' Heals=1.5,2,3.5,4
 +
;Salt
 +
:Enter the salt event values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
 +
:'''''For example:''''' Salt=2.5,4,6,8
 +
;Mercury
 +
:Enter the mercury event values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
 +
:'''''For example:''''' Mercury=1,2.5,3,4
 +
;Sulphur
 +
:Enter the sulphur event values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
 +
:'''''For example:''''' Sulphur=2,4,6.5,8
 +
;Lead
 +
:Enter the lead event values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
 +
:'''''For example:''''' Lead=1,2,3,4.5
 +
===Blank code to copy+paste:===
 +
|-
 +
|
 +
<pre>{{Food
 +
| Description=
 +
| Objects required=
 +
| Required by=
 +
| Heals=
 +
| Salt=
 +
| Mercury=
 +
| Sulphur=
 +
| Lead=
 +
}}</pre>
 +
|}</noinclude>

Revision as of 05:19, 14 August 2012

Food icon.png Food
description unknown
Prerequisites:
Skill(s) required: automatically filled
Object(s) required: None
Required by: None
Alchemy Values:
Blood Phlegm Yellow Black
Heal: {{{Heals}}}
Salt: {{{Salt}}}
Mercury: {{{Mercury}}}
Sulphur: {{{Sulphur}}}
Lead: {{{Lead}}}

When to use this template:

To add a new food to the wiki. (or to update an old design to the new one by replacing it)

How to use this template:

Breakdown of parameters:

Description
Enter any text from in-game that accompanies the item.
Objects required
List any objects required such as ingredients and structures. Each object must be entered with an amount and each separate item should be separated with a comma.
For example: Objects required=Kiln;1, Bread Oven;1, Stone Hedge;1
Required by
List any objects that require the new item to craft/build. (This option may soon be changed to an automatic field based on the above parameter on other pages)
For example: Required by=A Fish in the Reeds, Raw Rabbit Steak, Meat Shreds
Heals
Enter the healing values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
For example: Heals=1.5,2,3.5,4
Salt
Enter the salt event values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
For example: Salt=2.5,4,6,8
Mercury
Enter the mercury event values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
For example: Mercury=1,2.5,3,4
Sulphur
Enter the sulphur event values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
For example: Sulphur=2,4,6.5,8
Lead
Enter the lead event values in order separated by commas. Decimal places are allowed. The order is Blood, Phlegm, Yellow Bile, Black Bile (the same as displayed in-game).
For example: Lead=1,2,3,4.5

Blank code to copy+paste:

{{Food
| Description=
| Objects required=
| Required by=
| Heals=
| Salt=
| Mercury=
| Sulphur=
| Lead=
}}