Difference between revisions of "Template:Infobox Food"
From UnReal World Wiki
Line 1: | Line 1: | ||
− | {| class="infobox" style="font-size:89%; width: | + | {| class="infobox" style="font-size:89%; width:300px; vertical-align:top; text-align:left;" align="right" |
− | ! colspan=" | + | ! colspan="3" style="background-color:#307B30; color:#ffffff; font-size:120%; padding:1em; text-align:center;" | {{{name|{{PAGENAME}}}}} |
|- style="text-align:center;" | |- style="text-align:center;" | ||
− | | colspan=" | + | | colspan="3" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}'' |
|- | |- | ||
− | + | ! colspan="3" style="background-color:#307B30; color:#ffffff; vertical-align:top; text-align:center;" | Basic Info | |
− | + | |- style="vertical-align:top; text-align:left;" | |
− | + | | '''Type:''' | |
− | ! colspan=" | + | | {{{type}}} |
|- | |- | ||
− | | | + | | '''Weight:''' |
− | | {{{ | + | | {{{weight}}} |
+ | |- | ||
+ | | '''Source:''' | ||
+ | | {{{source}}} | ||
+ | |- | ||
+ | | '''Base Spoil Time:''' | ||
+ | | {{{spoilTime}}} | ||
+ | |- | ||
+ | {{#if: {{#ask: [[requires::{{PAGENAME}}]]}} | ||
+ | | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}} | ||
+ | | {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}} | ||
+ | {{!}}- | ||
+ | | {{!}} '''Required By:''' | ||
+ | {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}} | ||
+ | | {{!}} '''Required By:''' | ||
+ | {{!}} colspan=2 {{!}} {{#ask:[[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | }} | ||
+ | ! colspan="3" style="background-color:#307B30; color:#ffffff; vertical-align:top; text-align:center;" | Nutrition | ||
|- | |- | ||
| '''Carb''' | | '''Carb''' | ||
| {{{carb}}} | | {{{carb}}} | ||
+ | |- | ||
+ | |style="width:150px;"| '''Fat''' | ||
+ | | {{{fat}}} | ||
|- | |- | ||
| '''Protein''' | | '''Protein''' | ||
Line 20: | Line 45: | ||
| '''Water''' | | '''Water''' | ||
| {{{water}}} | | {{{water}}} | ||
− | |- | + | |- |
− | ! colspan="3" style="background-color:#307B30; color:#ffffff;" | | + | {{#Ifeq: {{{type}}} | Mushroom |
− | |- | + | | ! colspan="3" style="background-color:#307B30; color:#ffffff; vertical-align:top; text-align:center;" {{!}} Medicinal Info |
− | {{# | + | {{$}} |
− | + | {{!}} Poisonous: | |
− | }} | + | {{!}} {{{Poisonous}}} |
− | {{ | + | {{$}} |
− | + | {{!}} Effects: | |
+ | {{!}} {{{Effects}}} | ||
+ | | {{#Ifeq: {{{type}}} | Herb | ||
+ | | ! colspan="3" style="background-color:#307B30; color:#ffffff; vertical-align:top; text-align:center;" {{!}} Medicinal Info | ||
+ | {{$}} | ||
+ | {{!}} Poisonous: | ||
+ | {{!}} {{{poisonous}}} | ||
+ | {{$}} | ||
+ | {{!}} Effects: | ||
+ | {{!}} {{{effects}}} | ||
+ | | | ||
+ | }} | ||
+ | }} | ||
+ | {{#if: {{{ingredients|}}} | | ||
+ | ! colspan="3" style="background-color:#307B30; color:#ffffff; text-align:center;" {{!}} Recipe | ||
+ | {{$}} style="vertical-align:top;" | ||
+ | {{!}} '''Ingredients:''' | ||
+ | {{!}} {{{ingredients}}} | ||
+ | {{$}} | ||
+ | {{!}} '''Tools Required:''' | ||
+ | {{!}} {{{tools}}} | ||
+ | {{$}} | ||
+ | {{!}} '''Process:''' | ||
+ | {{!}} {{{process}}} | ||
+ | {{$}} | ||
+ | {{!}} '''Prepare Time:''' | ||
+ | {{!}} {{{prepareTime}}} | ||
+ | {{$}} | ||
+ | {{!}} '''Cook Time:''' | ||
+ | {{!}} {{{cookTime}}} | ||
+ | {{$}} | ||
+ | | | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Revision as of 22:28, 22 September 2014
Infobox Food | ||
---|---|---|
| ||
Basic Info | ||
Type: | {{{type}}} | |
Weight: | {{{weight}}} | |
Source: | {{{source}}} | |
Base Spoil Time: | {{{spoilTime}}} | |
Nutrition | ||
Carb | {{{carb}}} | |
Fat | {{{fat}}} | |
Protein | {{{protein}}} | |
Water | {{{water}}} |