Difference between revisions of "Template:Infobox Food"
From UnReal World Wiki
(Try to fix mushroom template) |
|||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 52: | Line 52: | ||
| '''{{{water}}}''' | | '''{{{water}}}''' | ||
|- | |- | ||
| + | | | ||
| + | | style="text-align:right;" |<small>[[Nutrition|more on nutrition]]</small> | ||
| + | |- | ||
{{#Ifeq: {{{type}}} | [[:Category:Mushroom{{!}}Mushroom]] | {{#Ifeq: {{{type}}} | [[:Category:Mushroom{{!}}Mushroom]] | ||
| ! class="sectionbox" colspan="3"{{!}} Medicinal Info | | ! class="sectionbox" colspan="3"{{!}} Medicinal Info | ||
| Line 129: | Line 132: | ||
|} | |} | ||
| − | <includeonly>[[Category:Food]]</includeonly> | + | <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 | ||