Difference between revisions of "Template:Infobox Plant"

From UnReal World Wiki
Jump to: navigation, search
(Created page with "{| class="infobox" style="font-size:89%; width:300px; vertical-align:top; text-align:left;" align="right" ! colspan="3" style="background-color:#307B30; color:#ffffff; font-si...")
 
(allow "edible" for "eatable")
 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px; vertical-align:top; text-align:left;" align="right"
+
{| class="infobox" align="right" |
! colspan="3" style="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:#307B30; 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:#307B30; 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:'''
+
| '''Edible:'''
| {{{harvestDate}}}
+
| '''{{{eatable|{{{edible}}}}}}'''
 
|-
 
|-
| '''Wither Month:'''
+
{{#ifeq: {{{harvestable}}} | Yes |
| {{{wither}}}
+
        {{!}} '''Harvest Weight:'''
|-
+
        {{!}} '''{{{weight}}}'''
! colspan="3" style="background-color:#307B30; color:#ffffff; vertical-align:top; text-align:center;" | Harvest Information
+
        {{$}} |
 +
}}
 +
{{#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}}}'''
 
|-
 
|-
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}  
+
{{#ifeq: {{{type}}} | Tree ||
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
+
        ! class="sectionbox" colspan="3" {{!}} Food Information
    | {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
+
        {{$}}
      {{!}}-
+
        {{!}} '''Carbs:'''
    | {{!}} '''Required By:'''
+
        {{!}} '''{{{carbs}}}'''
      {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}
+
        {{$}}
      {{!}}-
+
        {{!}} '''Fat:'''
  }}
+
        {{!}} '''{{{fat}}}'''
| {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
+
        {{$}}
    | {{!}} '''Required By:'''
+
        {{!}} '''Protein:'''
      {{!}} colspan=2 {{!}} {{#ask:[[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
+
        {{!}} '''{{{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}}}