Difference between revisions of "Template:Food"
From Salem Wiki
(changed lead values text to white) |
(testing automatic required by field) |
||
Line 26: | Line 26: | ||
| 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:''' |
+ | | {{#switch: {{PAGENAME}} | ||
+ | | Food = ''automatically filled'' | ||
+ | | {{#ask: [[Category:Objects]] [[Requires::{{PAGENAME}}]] | ?Objects| format = template | template=''{{i}}'' }} | ||
+ | }} | ||
|} | |} | ||
|- | |- |
Revision as of 07:38, 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= | Required by= | Heals= | Salt= | Mercury= | Sulphur= | Lead= }} |