Difference between revisions of "Template:SPlantbox"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
 
(162 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}}}</div>
+
 
| style="background-color: {{{color}}}; text-align: left; width:600px;" colspan=2 | <div class="hiddenStructure{{{common_name|}}}">&nbsp;'''{{{common_name}}}'''</div>
+
Edit the page to see the template text.
|- class="hiddenStructure{{{image|}}}"
+
</noinclude><includeonly>
| style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image}}}|{{{image_width|180px}}}|{{{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:
+
 
|
+
 
| {{{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|}}}"
+
|+ Plant Characteristics
! Height:
+
{{#if: {{{habit|}}} |<nowiki/>
|
+
  {{!}}-
| {{{max_height}}}
+
  !{{#ask:
|-class="hiddenStructure{{{max_width|}}}"
+
[[Category:Plant]]
! Width:
+
[[Growth habit::+]]
| ⇔
+
|?Growth_habit|limit=0|searchlabel=Habit}}
| {{{max_width}}}
+
  {{!}}&nbsp;
|- class="hiddenStructure{{{lifespan|}}}"
+
  {{!}}[[Growth habit::{{{habit|}}}]][[Category:{{{habit|}}}]]
! Lifespan:
+
}}
|
+
{{#if: {{{max_height|}}} |<nowiki/>
| {{{lifespan}}}
+
  {{!}}-
|- class="hiddenStructure[[Origin::{{{origin|}}}]]"
+
  ! Height:
! Origin:
+
  {{!}} ⇕
|
+
  {{!}} [[Min height::{{{min_height|}}}]] to [[Max height::{{{max_height|}}}]]
| {{{origin}}}
+
}}{{#if: {{{max_width|}}} |<nowiki/>
|- class="hiddenStructure{{{poisonous|}}}"
+
  {{!}}-
! Poisonous:
+
  ! Width:
|
+
  {{!}} ⇔
| {{{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="hiddenStructure{{{exposure|}}}"
+
{{#if: {{{exposure|}}} |<nowiki/>
! Exposure:
+
  {{!}}-
|
+
  ! {{#ask:[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0|searchlabel=Exposure}}:
| {{{exposure}}}
+
  {{!}}
|- class="hiddenStructure{{{water|}}}"
+
  {{!}} {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
! Water:
+
}}{{#if: {{{water|}}} |<nowiki/>
|
+
  {{!}}-
| {{{water}}}
+
  ! {{#ask:[[Category:Plant]]|[[Water::+]]| ?Water| limit=0 |searchlabel=Water}}:
|- class="hiddenStructure{{{features|}}}"
+
  {{!}}
! Features:
+
  {{!}} {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}
|
+
}}{{#if: {{{features|}}} |<nowiki/>
| {{{features}}}
+
  {{!}}-
|- class="hiddenStructure{{{Min temp|}}}"
+
  ! Features:
! Hardy to:
+
  {{!}}
| ☃  
+
  {{!}} {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
| {{{Min temp}}}
+
}}{{#if: {{{Min Temp Num|}}} |<nowiki/>
|- class="hiddenStructure{{{flower_season|}}}"
+
  {{!}}-
! Bloom:
+
  ! Minimum Temp:
| ❀
+
  {{!}}
| {{{flower_season}}}
+
  {{!}} [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]
|- class="hiddenStructure{{{flowers|}}}"
+
}}{{#if: {{{min_zone|}}} |<nowiki/>
! Flower features:
+
  {{!}}-
| ❀
+
  ! USDA Zones:
| {{{flowers}}}
+
  {{!}}
|- class="hiddenStructure{{{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|}}}]]
|
+
}}{{#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{{{familia|}}}" | <small> [[{{{familia}}}]] > </small>
+
|{{#if: {{{familia|}}} |<nowiki/>
| class="hiddenStructure{{{genus|}}}" | <small> [[{{{genus}}}]] </small>
+
<small> [[{{{familia|}}}]] > </small>
| class="hiddenStructure{{{subgenus|}}}" | <small> {{{subgenus}}} </small>
+
}}
| class="hiddenStructure{{{subspecies|}}}" | <small> {{{subspecies}}} </small>
+
|{{#if: {{{genus|}}} |<nowiki/>
| class="hiddenStructure{{{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.