Difference between revisions of "Template:Infobox Food"
From UnReal World Wiki
Line 1: | Line 1: | ||
− | {| class="bgimage4" style="background-color:#DE9D5C; font-size: | + | {| class="bgimage4" style="background-color:#DE9D5C; font-size:100%; width:300px; vertical-align:top; border: 3px solid #307B30; border-left-color:#307B30; border-top-color:#307B30; text-align:left;" align="right" |
! 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;" | {{{name|{{PAGENAME}}}}} | ! 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;" | {{{name|{{PAGENAME}}}}} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| class="bgimage3" 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| }}}'' | ||
|- | |- | ||
− | ! colspan="3" style="background-color:#663300; color:#ffffff; font-size: | + | ! 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 16: | Line 16: | ||
|- | |- | ||
| '''Trade Value:''' | | '''Trade Value:''' | ||
− | | {{{value}}} | + | | '''{{{value}}}''' |
|- | |- | ||
| '''Spoil Time:''' | | '''Spoil Time:''' | ||
− | | {{{spoilTime}}} | + | | '''{{{spoilTime}}}''' |
|- | |- | ||
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}} | {{#if: {{#ask: [[requires::{{PAGENAME}}]]}} | ||
Line 35: | Line 35: | ||
}} | }} | ||
}} | }} | ||
− | ! colspan="3" style="background-color:#663300; color:#ffffff; font-size: | + | ! colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" | Nutrition |
|- | |- | ||
| '''Carb''' | | '''Carb''' | ||
− | | {{{carb}}} | + | | '''{{{carb}}}''' |
|- | |- | ||
|style="width:150px;"| '''Fat''' | |style="width:150px;"| '''Fat''' | ||
− | | {{{fat}}} | + | | '''{{{fat}}}''' |
|- | |- | ||
| '''Protein''' | | '''Protein''' | ||
− | | {{{protein}}} | + | | '''{{{protein}}}''' |
|- | |- | ||
| '''Water''' | | '''Water''' | ||
− | | {{{water}}} | + | | '''{{{water}}}''' |
|- | |- | ||
{{#Ifeq: {{{type}}} | Mushroom | {{#Ifeq: {{{type}}} | Mushroom | ||
− | | ! colspan="3" style="background-color:#663300; color:#ffffff; font-size: | + | | ! colspan="3" style="background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} Medicinal Info |
{{$}} | {{$}} | ||
− | {{!}} Poisonous: | + | {{!}} '''Poisonous:''' |
− | {{!}} {{{poisonous}}} | + | {{!}} '''{{{poisonous}}}''' |
{{$}} | {{$}} | ||
− | {{!}} Effects: | + | {{!}} '''Effects:''' |
− | {{!}} {{{effects}}} | + | {{!}} '''{{{effects}}}''' |
| {{#Ifeq: {{{type}}} | [[:Category:Herb{{!}}Herb]] | | {{#Ifeq: {{{type}}} | [[:Category:Herb{{!}}Herb]] | ||
− | | ! colspan="3" style=background-color:#663300; color:#ffffff; font-size: | + | | ! colspan="3" style=background-color:#663300; color:#ffffff; font-size:110%; text-align:center;" {{!}} '''Medicinal Info''' |
{{$}} | {{$}} | ||
− | {{!}} Poisonous: | + | {{!}} '''Poisonous:''' |
− | {{!}} {{{poisonous}}} | + | {{!}} '''{{{poisonous}}}''' |
{{$}} | {{$}} | ||
− | {{!}} Effects Raw: | + | {{!}} '''Effects Raw:''' |
− | {{!}} {{{effects}}} | + | {{!}} '''{{{effects}}}''' |
{{$}} | {{$}} | ||
− | {{!}} Effects Boiled: | + | {{!}} '''Effects Boiled:''' |
− | {{!}} {{{effectsBoiled}}} | + | {{!}} '''{{{effectsBoiled}}}''' |
| | | | ||
}} | }} | ||
}} | }} | ||
{{#if: {{{ingredients|}}} | | {{#if: {{{ingredients|}}} | | ||
− | ! colspan="3" style="background-color:#663300; color:#ffffff; font-size: | + | ! 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:''' | ||
− | {{!}} {{{ingredients}}} | + | {{!}} '''{{{ingredients}}}''' |
{{$}} | {{$}} | ||
{{!}} '''Tools Required:''' | {{!}} '''Tools Required:''' | ||
− | {{!}} {{{tools}}} | + | {{!}} '''{{{tools}}}''' |
{{$}} | {{$}} | ||
{{!}} '''Process:''' | {{!}} '''Process:''' | ||
− | {{!}} {{{process}}} | + | {{!}} '''{{{process}}}''' |
{{$}} | {{$}} | ||
{{!}} '''Prepare Time:''' | {{!}} '''Prepare Time:''' | ||
− | {{!}} {{{prepareTime}}} | + | {{!}} '''{{{prepareTime}}}''' |
{{$}} | {{$}} | ||
{{!}} '''Cook Time:''' | {{!}} '''Cook Time:''' | ||
− | {{!}} {{{cookTime}}} | + | {{!}} '''{{{cookTime}}}''' |
{{$}} | {{$}} | ||
| | | | ||
}} | }} | ||
|} | |} |