Difference between revisions of "Template:Infobox Plant"

From UnReal World Wiki
Jump to: navigation, search
(allow "edible" for "eatable")
 
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px; vertical-align:top; border: 3px solid #307B30; border-left-color:#307B30; border-top-color:#307B30;  text-align:left;" align="right"
+
{| class="infobox" 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}}}}}
+
! class="namebox bgimage8"  colspan="3" | <span class="textshadow">{{{name|{{PAGENAME}}}}}</span>
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| colspan="3" style="padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
+
| class="imagebox"  colspan="3" style="padding:0.5em" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
 
|-
 
|-
! colspan="3" style="background-color:#663300; color:#ffffff; vertical-align:top; text-align:center;" | Basic Info
+
! class="sectionbox" colspan="3" | Basic Info
 
|-
 
|-
| '''Type:'''
+
| style="width:100px;"| '''Type:'''
| {{{type}}}
+
| '''{{{type}}}'''
 
|-
 
|-
 
| '''Known By:'''
 
| '''Known By:'''
| {{{known}}}
+
| '''{{{known}}}'''
|-
+
| '''Cultivated:'''
+
| {{{cultivated}}}
+
|-
+
! colspan="3" style="background-color:#663300; color:#ffffff; vertical-align:top; text-align:center;" | Growth Information
+
 
|-
 
|-
 
| '''Region:'''
 
| '''Region:'''
| {{{region}}}
+
| '''{{{region}}}'''
 
|-
 
|-
| '''Sprout Month:'''
+
| '''Terrain:'''
| {{{sprout}}}
+
| '''{{{terrain}}}'''
 
|-
 
|-
| '''Growth Time:'''
+
| '''Cultivated:'''
| {{{growth}}}
+
| '''{{{cultivated}}}'''
|-
+
| '''Harvest Date:'''
+
| {{{harvestDate}}}
+
 
|-
 
|-
| '''Wither Month:'''
+
| '''Edible:'''
| {{{wither}}}
+
| '''{{{eatable|{{{edible}}}}}}'''
 
|-
 
|-
! colspan="3" style="background-color:#663300; color:#ffffff; vertical-align:top; text-align:center;" | Harvest Information
+
{{#ifeq: {{{harvestable}}} | Yes |
 +
        {{!}} '''Harvest Weight:'''
 +
        {{!}} '''{{{weight}}}'''
 +
        {{$}} |
 +
}}
 +
{{#ifeq: {{{type}}} | Tree ||
 +
        !  class="sectionbox" colspan="3" {{!}} Growth Information
 +
        {{$}}
 +
        {{!}} '''Sprout Month:'''
 +
        {{!}} '''{{{sprout}}}'''
 +
        {{$}}
 +
        {{!}} '''Growth Time:'''
 +
        {{!}} '''{{{growth}}}'''
 +
        {{$}}
 +
        {{!}} '''Harvest Date:'''
 +
        {{!}} '''{{{harvest}}}'''
 +
        {{$}}
 +
        {{!}} '''Wither Month:'''
 +
        {{!}} '''{{{wither}}}'''
 +
        {{$}}
 +
}}
 +
!  class="sectionbox" colspan="3" | Harvest Information
 
|-
 
|-
 
| '''Harvest Tool:'''
 
| '''Harvest Tool:'''
| {{{harvestTool}}}
+
| '''{{{harvestTool}}}'''
 
|-
 
|-
 
| '''Produces:'''
 
| '''Produces:'''
| {{{produces}}}
+
| '''{{{produces}}}'''
 
|-
 
|-
 +
{{#ifeq: {{{type}}} | Tree ||
 +
        !  class="sectionbox" colspan="3" {{!}} Food Information
 +
        {{$}}
 +
        {{!}} '''Carbs:'''
 +
        {{!}} '''{{{carbs}}}'''
 +
        {{$}}
 +
        {{!}} '''Fat:'''
 +
        {{!}} '''{{{fat}}}'''
 +
        {{$}}
 +
        {{!}} '''Protein:'''
 +
        {{!}} '''{{{protein}}}'''
 +
        {{$}}
 +
}}
 
|}
 
|}
 +
 +
 +
[[Category:Plant]]

Latest revision as of 14:30, 28 September 2016

Infobox Plant
File:Infobox Plant.png
Basic Info
Type: {{{type}}}
Known By: {{{known}}}
Region: {{{region}}}
Terrain: {{{terrain}}}
Cultivated: {{{cultivated}}}
Edible: {{{edible}}}
Growth Information
Sprout Month: {{{sprout}}}
Growth Time: {{{growth}}}
Harvest Date: {{{harvest}}}
Wither Month: {{{wither}}}
Harvest Information
Harvest Tool: {{{harvestTool}}}
Produces: {{{produces}}}
Food Information
Carbs: {{{carbs}}}
Fat: {{{fat}}}
Protein: {{{protein}}}