Difference between revisions of "Template:Infobox Food"
From UnReal World Wiki
(46 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {| class=" | + | {| class="infobox" align="right" style="width:300px;" |
− | ! class="bgimage6" colspan="3 | + | ! class="namebox bgimage6" colspan="3" | <span class="textshadow">{{{name|{{PAGENAME}}}}}</span> |
|- style="text-align:center;" | |- style="text-align:center;" | ||
− | | class=" | + | | class="imagebox" colspan="3" style="padding:0.5em" | [[{{{image|Image:{{PAGENAME}}.png}}}|300x100px]]<br/>''{{{caption| }}}'' |
|- | |- | ||
− | ! class=" | + | ! class="sectionbox" colspan="3"| Basic Info |
|- style="vertical-align:top; text-align:left;" | |- style="vertical-align:top; text-align:left;" | ||
| '''Type:''' | | '''Type:''' | ||
Line 38: | Line 38: | ||
}} | }} | ||
}} | }} | ||
− | ! class=" | + | ! class="sectionbox" colspan="3" | Nutrition |
|- | |- | ||
| '''Carb''' | | '''Carb''' | ||
Line 52: | Line 52: | ||
| '''{{{water}}}''' | | '''{{{water}}}''' | ||
|- | |- | ||
− | {{#Ifeq: {{{type}}} | Mushroom | + | | |
− | | ! class=" | + | | style="text-align:right;" |<small>[[Nutrition|more on nutrition]]</small> |
+ | |- | ||
+ | {{#Ifeq: {{{type}}} | [[:Category:Mushroom{{!}}Mushroom]] | ||
+ | | ! class="sectionbox" colspan="3"{{!}} Medicinal Info | ||
{{$}} | {{$}} | ||
{{!}} '''Poisonous:''' | {{!}} '''Poisonous:''' | ||
Line 61: | Line 64: | ||
{{!}} '''{{{effectRaw}}}''' | {{!}} '''{{{effectRaw}}}''' | ||
| {{#Ifeq: {{{type}}} | [[:Category:Flower{{!}}Flower]] | | {{#Ifeq: {{{type}}} | [[:Category:Flower{{!}}Flower]] | ||
− | | ! class=" | + | | ! class="sectionbox" colspan="3" {{!}} '''Medicinal Info''' |
{{$}} | {{$}} | ||
{{!}} '''Poisonous:''' | {{!}} '''Poisonous:''' | ||
Line 75: | Line 78: | ||
{{!}} '''{{{effectsTopical}}}''' | {{!}} '''{{{effectsTopical}}}''' | ||
| {{#Ifeq: {{{type}}} | [[:Category:Root{{!}}Root]] | | {{#Ifeq: {{{type}}} | [[:Category:Root{{!}}Root]] | ||
− | | ! | + | | ! class="sectionbox" colspan="3" {{!}} '''Medicinal Info''' |
{{$}} | {{$}} | ||
{{!}} '''Poisonous:''' | {{!}} '''Poisonous:''' | ||
Line 89: | Line 92: | ||
{{!}} '''{{{effectsTopical}}}''' | {{!}} '''{{{effectsTopical}}}''' | ||
| {{#Ifeq: {{{type}}} | [[:Category:Leaf{{!}}Leaf]] | | {{#Ifeq: {{{type}}} | [[:Category:Leaf{{!}}Leaf]] | ||
− | | ! class=" | + | | ! class="sectionbox" colspan="3"{{!}} '''Medicinal Info''' |
{{$}} | {{$}} | ||
{{!}} '''Poisonous:''' | {{!}} '''Poisonous:''' | ||
Line 108: | Line 111: | ||
}} | }} | ||
{{#if: {{{ingredients|}}} | | {{#if: {{{ingredients|}}} | | ||
− | ! | + | ! class="sectionbox" colspan="3" {{!}} Recipe |
{{$}} style="vertical-align:top;" | {{$}} style="vertical-align:top;" | ||
{{!}} '''Ingredients:''' | {{!}} '''Ingredients:''' | ||
Line 128: | Line 131: | ||
}} | }} | ||
|} | |} | ||
+ | |||
+ | <includeonly>[[Category:Food]] | ||
+ | {{#switch: {{{type}}} | ||
+ | | [[:Category:Mushroom{{!}}Mushroom]] = [[Category:Mushroom]] | ||
+ | | [[:Category:Flower{{!}}Flower]] = [[Category:Flower]] | ||
+ | | [[:Category:Root{{!}}Root]] = [[Category:Root]] | ||
+ | | [[:Category:Leaf{{!}}Leaf]] = [[Category:Leaf]] | ||
+ | | [[:Category:Berry{{!}}Berry]] = [[Category:Berry]] | ||
+ | }} | ||
+ | </includeonly> |
Latest revision as of 06:44, 16 July 2016
Infobox Food | ||
---|---|---|
| ||
Basic Info | ||
Type: | {{{type}}} | |
Weight: | {{{weight}}} | |
Source: | {{{source}}} | |
Trade Value: | {{{value}}} | |
Spoil Time: | {{{spoilTime}}} | |
Must Cook: | {{{mustCook}}} | |
Nutrition | ||
Carb | {{{carb}}} | |
Fat | {{{fat}}} | |
Protein | {{{protein}}} | |
Water | {{{water}}} | |
more on nutrition |