Difference between revisions of "Template:Food"

From Salem Wiki
Jump to: navigation, search
(trialing automatic 'required by' field)
(Removed description -most foods don't have any, those that do can just be added under 'about' header next to box)
Line 5: Line 5:
 
{| style="min-width:300px; padding:.1em; border:black 2px solid; border-radius:.8em; background:#71583b; font-family:Calibri"
 
{| style="min-width:300px; padding:.1em; border:black 2px solid; border-radius:.8em; background:#71583b; font-family:Calibri"
 
! style="color:white; font-size:1.4em"|{{i|{{PAGENAME}}}}
 
! style="color:white; font-size:1.4em"|{{i|{{PAGENAME}}}}
|-
 
|
 
{| style="width:100%; border:black 2px solid; background:#efebe5"
 
| style="text-align:center" | {{#switch: {{{Description|}}}
 
| = ''description unknown''
 
| "{{{Description}}}"
 
}}
 
|}
 
|-
 
! style="color:white; font-size:1.4em" |'''Prerequisites:'''
 
 
|-
 
|-
 
|
 
|
Line 28: Line 18:
 
|-
 
|-
 
<!-- Start Alchemy Values-->
 
<!-- Start Alchemy Values-->
! style="color:white; font-size:1.4em" | '''Alchemy Values:'''
+
! style="color:white; font-size:1.4em" | '''Healing/Gluttony:'''
 
|-
 
|-
 
|
 
|
Line 84: Line 74:
 
==How to use this template:==
 
==How to use this template:==
 
===Breakdown of parameters:===
 
===Breakdown of parameters:===
;Description
 
:Enter any text from in-game that accompanies the item.
 
 
;Objects required
 
;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.
 
: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.
Line 108: Line 96:
 
|
 
|
 
<pre>{{Food
 
<pre>{{Food
| Description=
 
 
| Objects required=
 
| Objects required=
 
| Heals=
 
| Heals=

Revision as of 09:40, 14 August 2012

Food icon.png Food
Skill(s) required: None
Object(s) required: None
Required by: None
Healing/Gluttony:
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:

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
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
| Objects required=
| Heals=
| Salt=
| Mercury=
| Sulphur=
| Lead=
}}