Difference between revisions of "Template:Food"
From Salem Wiki
(testing automatic required by field) |
(trialing automatic 'required by' field) |
||
Line 19: | Line 19: | ||
{| style="width:100%; border:black 2px solid; background:#efebe5" | {| style="width:100%; border:black 2px solid; background:#efebe5" | ||
| style="width:120px" |'''Skill(s) required:''' | | style="width:120px" |'''Skill(s) required:''' | ||
− | + | | {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = list | default=None }} | |
− | |||
− | |||
− | }} | ||
|- | |- | ||
| 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:''' | | style="vertical-align"top" | '''Required by:''' | ||
− | + | | {{#ask: [[Category:Objects]] [[Requires::{{PAGENAME}}]] | ?Objects | format = ul | template=''{{i}}'' | default=None }} | |
− | |||
− | |||
− | }} | ||
|} | |} | ||
|- | |- | ||
Line 95: | Line 89: | ||
: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. | ||
:'''''For example:''''' Objects required=Kiln;1, Bread Oven;1, Stone Hedge;1 | :'''''For example:''''' Objects required=Kiln;1, Bread Oven;1, Stone Hedge;1 | ||
− | |||
− | |||
− | |||
;Heals | ;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). | :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). | ||
Line 119: | Line 110: | ||
| Description= | | Description= | ||
| Objects required= | | Objects required= | ||
− | |||
| Heals= | | Heals= | ||
| Salt= | | Salt= |
Revision as of 08:29, 14 August 2012
|
When to use this template:
How to use this template:Breakdown of parameters:
Blank code to copy+paste: |
{{Food | Description= | Objects required= | Heals= | Salt= | Mercury= | Sulphur= | Lead= }} |