Difference between revisions of "Template:Infobox Food"

From UnReal World Wiki
Jump to: navigation, search
Line 2: Line 2:
 
! class="bgimage6" colspan="3" style="border: 3px solid #663300; border-left-color:#663300; border-top-color:#663300; background-color:#307B30; color:#ffffff; font-size:120%; padding:1em; text-align:center;" | <span class="textshadow">{{{name|{{PAGENAME}}}}}</span>
 
! class="bgimage6" colspan="3" style="border: 3px solid #663300; border-left-color:#663300; border-top-color:#663300; background-color:#307B30; color:#ffffff; font-size:120%; padding:1em; text-align:center;" | <span class="textshadow">{{{name|{{PAGENAME}}}}}</span>
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| class="bgimage5" colspan="3" style="background-color:#000000; padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
+
|   class="bgimage3" colspan="3" style="background-color:#000000; padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
 
|-
 
|-
! class="bgimage3" colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" | Basic Info
+
! class="bgimage5" colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" | Basic Info
 
|- style="vertical-align:top; text-align:left;"
 
|- style="vertical-align:top; text-align:left;"
 
| '''Type:'''
 
| '''Type:'''
Line 38: Line 38:
 
   }}
 
   }}
 
}}
 
}}
! class="bgimage3" colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" | Nutrition
+
! class="bgimage5" colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" | Nutrition
 
|-
 
|-
 
| '''Carb'''
 
| '''Carb'''
Line 53: Line 53:
 
|-  
 
|-  
 
{{#Ifeq: {{{type}}} | Mushroom
 
{{#Ifeq: {{{type}}} | Mushroom
     | ! class="bgimage3" colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} Medicinal Info
+
     | ! class="bgimage5" colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} Medicinal Info
 
       {{$}}
 
       {{$}}
 
       {{!}} '''Poisonous:'''  
 
       {{!}} '''Poisonous:'''  
Line 61: Line 61:
 
       {{!}} '''{{{effectRaw}}}'''
 
       {{!}} '''{{{effectRaw}}}'''
 
     | {{#Ifeq: {{{type}}} | [[:Category:Flower{{!}}Flower]]
 
     | {{#Ifeq: {{{type}}} | [[:Category:Flower{{!}}Flower]]
           |  ! class="bgimage3" colspan="3" style=background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} '''Medicinal Info'''
+
           |  ! class="bgimage5" colspan="3" style=background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} '''Medicinal Info'''
 
               {{$}}
 
               {{$}}
 
               {{!}} '''Poisonous:'''
 
               {{!}} '''Poisonous:'''
Line 75: Line 75:
 
               {{!}} '''{{{effectsTopical}}}'''
 
               {{!}} '''{{{effectsTopical}}}'''
 
           |  {{#Ifeq: {{{type}}} | [[:Category:Root{{!}}Root]]
 
           |  {{#Ifeq: {{{type}}} | [[:Category:Root{{!}}Root]]
           | ! class="bgimage3" colspan="3" style=background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} '''Medicinal Info'''
+
           | ! class="bgimage5" colspan="3" style=background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} '''Medicinal Info'''
 
               {{$}}
 
               {{$}}
 
               {{!}} '''Poisonous:'''
 
               {{!}} '''Poisonous:'''
Line 89: Line 89:
 
               {{!}} '''{{{effectsTopical}}}'''
 
               {{!}} '''{{{effectsTopical}}}'''
 
           |  {{#Ifeq: {{{type}}} | [[:Category:Leaf{{!}}Leaf]]
 
           |  {{#Ifeq: {{{type}}} | [[:Category:Leaf{{!}}Leaf]]
           |  ! class=class="bgimage3" colspan="3" style=background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} '''Medicinal Info'''
+
           |  ! class="bgimage5" colspan="3" style=background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} '''Medicinal Info'''
 
               {{$}}
 
               {{$}}
 
               {{!}} '''Poisonous:'''
 
               {{!}} '''Poisonous:'''
Line 108: Line 108:
 
}}
 
}}
 
{{#if: {{{ingredients|}}} |
 
{{#if: {{{ingredients|}}} |
   ! class="bgimage3" colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} Recipe
+
   ! class="bgimage5" colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} Recipe
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
 
   {{!}} '''Ingredients:'''
 
   {{!}} '''Ingredients:'''

Revision as of 22:21, 25 September 2014

Infobox Food
Infobox Food.png
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}}}