Difference between revisions of "Template:Infobox Plant"

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

Latest revision as of 13: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}}}