Difference between revisions of "Template:SPlantbox"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
 
(145 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="background: Beige; position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:left; clear:right; width:800px;" border="1" cellpadding="0"
+
<noinclude>
|- style="text-align:center; width:180px;"
+
This is the 'SPlantbox2' template.
! style="background-color: IndianRed; text-align: center;" | <div class{{{botanic_name|}}}="hiddenStructure"> [[Botanic name::{{{botanic_name|}}}]]</div>
+
 
| style="background-color: IndianRed; text-align: left; width:600px;" colspan=2 | <div class{{{common_name|}}}="hiddenStructure">&nbsp;'''{{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}}'''</div>
+
Edit the page to see the template text.
|- class{{{image|}}}="hiddenStructure"
+
</noinclude><includeonly>
| style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image|}}}|{{{image_width|}}}|{{{image_caption|}}}]]
+
 
|<!-- Start included PLANT CHARACTERISTICS table -->
+
{{#if: {{{image|}}} |<nowiki/>
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
+
<div style="cellpadding=0 text-align: center;"> [[Image:{{{image|}}}|{{{image_width|}}}px|{{{image_caption|}}}]]</div>
|-class{{{habit|}}}="hiddenStructure"
+
}}
! Habit:
+
 
|
+
 
| [[Growth habit::{{{habit|}}}]]
+
{| style="background: Beige; position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:left; clear:right; width:250px;" border="0" cellpadding="0"
|-class{{{max_height|}}}="hiddenStructure"
+
|+ Plant Characteristics
! Height:
+
{{#if: {{{habit|}}} |<nowiki/>
|
+
  {{!}}-
| <span class="hiddenStructure{{{min_height|}}}">[[Min height::{{{min_height|}}}]] to </span> [[Max height::{{{max_height|}}}]]
+
  !{{#ask:
|-class{{{max_width|}}}="hiddenStructure"
+
[[Category:Plant]]
! Width:
+
[[Growth habit::+]]
|
+
|?Growth_habit|limit=0|searchlabel=Habit}}
| <span class="hiddenStructure{{{min_width|}}}">[[Min width::{{{min_width|}}}]] to </span> [[Max width::{{{max_width|}}}]]
+
  {{!}}&nbsp;
|- class{{{lifespan|}}}="hiddenStructure"
+
  {{!}}[[Growth habit::{{{habit|}}}]][[Category:{{{habit|}}}]]
! Lifespan:
+
}}
|
+
{{#if: {{{max_height|}}} |<nowiki/>
| {{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}
+
  {{!}}-
|- class{{{origin|}}}="hiddenStructure"
+
  ! Height:
! Origin:
+
  {{!}} ⇕
|
+
  {{!}} [[Min height::{{{min_height|}}}]] to [[Max height::{{{max_height|}}}]]
| [[Origin::{{{origin|}}}]]
+
}}{{#if: {{{max_width|}}} |<nowiki/>
|- class{{{poisonous|}}}="hiddenStructure"
+
  {{!}}-
! Poisonous:
+
  ! Width:
|
+
  {{!}}
| [[Poisonous::{{{poisonous|}}}]]
+
  {{!}} [[Min width::{{{min_width|}}}]] to [[Max width::{{{max_width|}}}]]
 +
}}{{#if: {{{Max ht box|}}} |<nowiki/>
 +
  {{!}}-
 +
  ! Height:
 +
  {{!}}
 +
  {{!}} {{#if: {{{Min ht box|}}} | [[Min height::{{{Min ht box|}}} {{{Min ht metric|}}}]] to}} [[Max height::{{{Max ht box|}}} {{{Max ht metric|}}}]]
 +
}}{{#if: {{{Max wd box|}}} |<nowiki/>
 +
  {{!}}-
 +
  ! Width:
 +
  {{!}}
 +
  {{!}} {{#if: {{{Min wd box|}}} | [[Min width::{{{Min wd box|}}} {{{Min wd metric|}}}]] to}} [[Max width::{{{Max wd box|}}} {{{Max wd metric|}}}]]
 +
}}{{#if: {{{lifespan|}}} |<nowiki/>
 +
  {{!}}-
 +
  ! {{#ask:[[Category:Plant]]|[[Lifespan::+]]| ?Lifespan| limit=0|searchlabel=Lifespan}}:
 +
  {{!}}
 +
  {{!}} {{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}
 +
}}{{#if: {{{origin|}}} |<nowiki/>
 +
  {{!}}-
 +
  ! Origin:
 +
  {{!}}
 +
  {{!}} [[Origin::{{{origin|}}}]]
 +
}}{{#if: {{{poisonous|}}} |<nowiki/>
 +
  {{!}}-
 +
  ! Poisonous:
 +
  {{!}}
 +
  {{!}} [[Poisonous::{{{poisonous|}}}]]
 +
}}{{#if: {{{flower_season|}}} |<nowiki/>
 +
  {{!}}-
 +
  ! Bloom:
 +
  {{!}} ❀
 +
  {{!}} {{#arraymap:{{{flower_season|}}}|,|x|[[Flower season::x]]}}
 +
}}
 
|} <!-- End included PLANT CHARACTERISTICS table -->
 
|} <!-- End included PLANT CHARACTERISTICS table -->
 +
{| style="background: Beige; position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:left; clear:right; width:250px;" border="0" cellpadding="0"
 
|<!-- Start included CULTIVATION table -->
 
|<!-- Start included CULTIVATION table -->
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
+
|+ Cultivation
|- class{{{exposure|}}}="hiddenStructure"
+
{{#if: {{{exposure|}}} |<nowiki/>
! Exposure:
+
  {{!}}-
|
+
  ! {{#ask:[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0|searchlabel=Exposure}}:
| {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
+
  {{!}}
|- class{{{water|}}}="hiddenStructure"
+
  {{!}} {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
! Water:
+
}}{{#if: {{{water|}}} |<nowiki/>
|
+
  {{!}}-
| {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}
+
  ! {{#ask:[[Category:Plant]]|[[Water::+]]| ?Water| limit=0 |searchlabel=Water}}:
|- class{{{features|}}}="hiddenStructure"
+
  {{!}}
! Features:
+
  {{!}} {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}
|
+
}}{{#if: {{{features|}}} |<nowiki/>
| {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
+
  {{!}}-
|- class{{{Min temp|}}}="hiddenStructure"
+
  ! Features:
! Hardy to:
+
  {{!}}
| ☃  
+
  {{!}} {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
| [[Min temperature::{{{Min temp|}}}]]
+
}}{{#if: {{{Min Temp Num|}}} |<nowiki/>
|- class{{{flower_season|}}}="hiddenStructure"
+
  {{!}}-
! Bloom:
+
  ! Minimum Temp:
| ❀
+
  {{!}}
| {{#arraymap:{{{flower_season|}}}|,|x|[[Flower season::x]]}}
+
  {{!}} [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]
|- class{{{flowers|}}}="hiddenStructure"
+
}}{{#if: {{{min_zone|}}} |<nowiki/>
! Flower features:
+
  {{!}}-
| ❀
+
  ! USDA Zones:
| {{#arraymap:{{{flowers|}}}|,|x|[[Flowers::x]]}}
+
  {{!}}
|- class{{{min_zone|}}}="hiddenStructure"
+
  {{!}} [[Min zone::{{{min_zone|}}}]] {{#if: {{{max_zone|}}} | to [[Max zone::{{{max_zone|}}}]] }}
! USDA Zones:
+
}}{{#if: {{{sunset_zones|}}} |<nowiki/>
|
+
  {{!}}-
| [[Min zone::{{{min_zone|}}}]] <span class="hiddenStructure{{{max_zone|}}}"> to [[Max zone::{{{max_zone|}}}]]</span>
+
  ! Sunset Zones:
|- class{{{sunset_zones|}}}="hiddenStructure"
+
  {{!}}
! Sunset Zones:
+
  {{!}} [[Sunset zones::{{{sunset_zones|}}}]]
|
+
}}{{#if: {{{flowers|}}} |<nowiki/>
| [[Sunset zones::{{{sunset_zones|}}}]]
+
  {{!}}-
 +
  ! Flower features:
 +
  {{!}} ❀
 +
  {{!}} {{#arraymap:{{{flowers|}}}|,|x|[[Flowers::x]]}}
 +
}}
 
|} <!-- End included CULTIVATION table -->
 
|} <!-- End included CULTIVATION table -->
|-
+
<!-- Start included CLASSIFICATION table -->
| colspan=2 | <!-- Start included CLASSIFICATION table -->
+
{| style="background: Beige; position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:left; clear:right; width:250px;" border="0" cellpadding="0"
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
+
|+ Scientific Names
| class{{{familia}}}="hiddenStructure" | <small> [[Family::{{{familia|}}}]] > </small>
+
|{{#if: {{{familia|}}} |<nowiki/>
| class{{{genus|}}}="hiddenStructure" | <small> [[Genus::{{{genus|}}}]] </small>
+
<small> [[{{{familia|}}}]] > </small>
| class{{{species|}}}="hiddenStructure" | <small> [[Species::{{{species|}}}]] </small>
+
}}
| class{{{subspecies|}}}="hiddenStructure" | <small> [[Subspecies::{{{subspecies|}}}]] </small>
+
|{{#if: {{{genus|}}} |<nowiki/>
| class{{{cultivar|}}}="hiddenStructure" | <small> var. [[Cultivar::{{{cultivar|}}}]] </small>
+
<small> [[{{{genus|}}}]] > </small>
 +
}}
 +
|{{#if: {{{species|}}} |<nowiki/>
 +
<small> [[{{{species|}}}]] > </small>
 +
}}
 +
|{{#if: {{{subspecies|}}} |<nowiki/>
 +
<small> [[{{{subspecies|}}}]] > </small>
 +
}}
 +
|{{#if: {{{cultivar|}}} |<nowiki/>
 +
<small> [[{{{cultivar|}}}]] > </small>
 +
}}
 +
|{{#if: {{{taxo_author|}}} |<nowiki/>
 +
<small> [[{{{taxo_author|}}}]] > </small>
 +
}}
 
|} <!-- End included CLASSIFICATION table -->
 
|} <!-- End included CLASSIFICATION table -->
|}
+
{{#if: {{{jumpin|}}} |
 +
{{{!}} style="background: Beige; position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:left; clear:right; width:300px;" border="0" cellpadding="0"
 +
<br>{{#arraymap:{{{jumpin|}}}|,|x|[[Jump in::x]]}}
 +
{{!}}}
 +
}}
 +
 
 +
<!-- set schematic wiki properties -->
 +
[[genus::{{{genus|}}}| ]]
 +
[[familia::{{{familia|}}}| ]]
 +
[[Min Temp Num::{{{Min Temp Num|}}}| ]]
 +
[[Temp Metric::{{{Temp Metric|}}}| ]]
 +
<!-- set categories -->
 +
[[Category:Plant]]
 
<br clear=all>
 
<br clear=all>
 +
</includeonly>

Latest revision as of 02:40, 15 August 2021

This is the 'SPlantbox2' template.

Edit the page to see the template text.