Difference between revisions of "Template:SPlantbox"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
 
(156 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: {{{color}}}; text-align: center;" | <div class="hiddenStructure[[Botanic name::{{{botanic_name|}}}]]"> {{{botanic_name}}}</div>
+
 
| style="background-color: {{{color}}}; text-align: left; width:600px;" colspan=2 | &nbsp;<div class="hiddenStructure{{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}}">&nbsp;'''{{{common_name}}}'''</div>
+
Edit the page to see the template text.
|- class="hiddenStructure[[Image filename::{{{image|}}}]]"
+
</noinclude><includeonly>
| style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image}}}|[[Image width::{{{image_width|}}}]]|[[Image caption::{{{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="hiddenStructure[[Growth habit::{{{habit|}}}]]"
+
}}
! Habit:
+
 
|
+
 
| {{{growth_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="hiddenStructure[[Max height::{{{max_height|}}}]]"
+
|+ Plant Characteristics
! Height:
+
{{#if: {{{habit|}}} |<nowiki/>
| ⇕
+
  {{!}}-
| {{{max_height}}}
+
  !{{#ask:
|-class{{{max_height|}}}="hiddenStructure"
+
[[Category:Plant]]
! Height:
+
[[Growth habit::+]]
|
+
|?Growth_habit|limit=0|searchlabel=Habit}}
| {{{max_height|}}}
+
  {{!}}&nbsp;
|-class="hiddenStructure[[Max width::{{{max_width|}}}]]"
+
  {{!}}[[Growth habit::{{{habit|}}}]][[Category:{{{habit|}}}]]
! Width:
+
}}
|
+
{{#if: {{{max_height|}}} |<nowiki/>
| {{{max_width}}}
+
  {{!}}-
|- class="hiddenStructure{{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}"
+
  ! Height:
! Lifespan:
+
  {{!}} ⇕
|
+
  {{!}} [[Min height::{{{min_height|}}}]] to [[Max height::{{{max_height|}}}]]
| {{{lifespan}}}
+
}}{{#if: {{{max_width|}}} |<nowiki/>
|- class="hiddenStructure[[Origin::{{{origin|}}}]]"
+
  {{!}}-
! Origin:
+
  ! Width:
| ✈
+
  {{!}} ⇔
| {{{origin}}}
+
  {{!}} [[Min width::{{{min_width|}}}]] to [[Max width::{{{max_width|}}}]]
|- class="hiddenStructure{{{poisonous|}}}"
+
}}{{#if: {{{Max ht box|}}} |<nowiki/>  
! Poisonous:
+
  {{!}}-
| ☠
+
  ! Height:
| {{{poisonous}}}
+
  {{!}} ⇕
 +
  {{!}} {{#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="hiddenStructure{{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}"
+
{{#if: {{{exposure|}}} |<nowiki/>
! Exposure:
+
  {{!}}-
|
+
  ! {{#ask:[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0|searchlabel=Exposure}}:
| {{{exposure}}}
+
  {{!}} ☼
|- class="hiddenStructure{{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}"
+
  {{!}} {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
! Water:
+
}}{{#if: {{{water|}}} |<nowiki/>
|
+
  {{!}}-
| {{{water}}}
+
  ! {{#ask:[[Category:Plant]]|[[Water::+]]| ?Water| limit=0 |searchlabel=Water}}:
|- class="hiddenStructure{{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}"
+
  {{!}}
! Features:
+
  {{!}} {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}
|
+
}}{{#if: {{{features|}}} |<nowiki/>
| {{{features}}}
+
  {{!}}-
|- class="hiddenStructure[[Min temperature::{{{Min temp|}}}]]"
+
  ! Features:
! Hardy to:
+
  {{!}} ✓
| ☃
+
  {{!}} {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
| {{{Min temp}}}
+
}}{{#if: {{{Min Temp Num|}}} |<nowiki/>
|- class="hiddenStructure{{#arraymap:{{{flower_season|}}}|,|x|[[Flower season::x]]}}"
+
  {{!}}-
! Bloom:
+
  ! Minimum Temp:
| ❀
+
  {{!}}
| {{{flower_season}}}
+
  {{!}} [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]
|- class="hiddenStructure{{#arraymap:{{{flowers|}}}|,|x|[[Flowers::x]]}}"
+
}}{{#if: {{{min_zone|}}} |<nowiki/>
! Flower features:
+
  {{!}}-
| ❀
+
  ! USDA Zones:
| {{{flowers}}}
+
  {{!}}
|- class="hiddenStructure[[Min zone::{{{min_zone|}}}]]"
+
  {{!}} [[Min zone::{{{min_zone|}}}]] {{#if: {{{max_zone|}}} | to [[Max zone::{{{max_zone|}}}]] }}
! USDA Zones:
+
}}{{#if: {{{sunset_zones|}}} |<nowiki/>
|
+
  {{!}}-
| {{{min_zone}}}
+
  ! Sunset Zones:
|- class="hiddenStructure[[Sunset zones::{{{sunset_zones|}}}]]"
+
  {{!}}
! Sunset Zones:
+
  {{!}} [[Sunset zones::{{{sunset_zones|}}}]]
|
+
}}{{#if: {{{flowers|}}} |<nowiki/>
| {{{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="hiddenStructure[[Family::{{{familia|}}}]]" | <small> [[{{{familia}}}]] > </small>
+
|{{#if: {{{familia|}}} |<nowiki/>
| class="hiddenStructure[[Genus::{{{genus|}}}]]" | <small> [[{{{genus}}}]] </small>
+
<small> [[{{{familia|}}}]] > </small>
| class="hiddenStructure[[Species::{{{species|}}}]]" | <small> {{{species}}} </small>
+
}}
| class="hiddenStructure[[Subspecies::{{{subspecies|}}}]]" | <small> {{{subspecies}}} </small>
+
|{{#if: {{{genus|}}} |<nowiki/>
| class="hiddenStructure[[Cultivar::{{{cultivar|}}}]]" | <small> var. {{{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.