Difference between revisions of "Template:SPlantbox"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
Line 83: Line 83:
 
|<!-- Start included CULTIVATION table -->
 
|<!-- Start included CULTIVATION table -->
 
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
 
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
|- class{{{exposure|}}}="hiddenStructure"
+
<!--  -->
! {{#ask:searchlabel=Exposure|[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0}}:
+
{{#if: {{{exposure|}}} |
|
+
{{!}}-
| {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
+
! {{#ask:[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0|searchlabel=Exposure}}:
|- class{{{water|}}}="hiddenStructure"
+
{{!}}
! {{#ask:searchlabel=Water|[[Category:Plant]]|[[Water::+]]| ?Water| limit=0}}:
+
{{!}} {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
|
+
}}
| {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}
+
<!--  -->
|- class{{{features|}}}="hiddenStructure"
+
{{#if: {{{water|}}} |
 +
{{!}}-
 +
! {{#ask:[[Category:Plant]]|[[Water::+]]| ?Water| limit=0 |searchlabel=Water}}:
 +
{{!}}
 +
{{!}} {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}
 +
}}
 +
<!--  -->
 +
{{#if: {{{features|}}} |
 +
{{!}}-
 
! Features:
 
! Features:
|
+
{{!}}
| {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
+
{{!}} {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
 +
}}
 +
<!--  -->
 
|- class="hiddenStructure"
 
|- class="hiddenStructure"
 
! Hidden fields, interally pass variables to right place
 
! Hidden fields, interally pass variables to right place
 
| [[Min Temp Num::{{{Min Temp Num|}}}| ]]
 
| [[Min Temp Num::{{{Min Temp Num|}}}| ]]
 
| [[Temp Metric::{{{Temp Metric|}}}| ]]
 
| [[Temp Metric::{{{Temp Metric|}}}| ]]
|- class{{{Min Temp Num|}}}="hiddenStructure"
+
<!--  -->
 +
{{#if: {{{Min Temp Num|}}} |
 +
{{!}}-
 
! Minimum Temp:
 
! Minimum Temp:
|
+
{{!}}
| [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]
+
{{!}}- [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]
|- class{{{min_zone|}}}="hiddenStructure"
+
}}
 +
<!--  -->
 +
{{#if: {{{min_zone|}}} |
 +
{{!}}-
 
! USDA Zones:
 
! USDA Zones:
|
+
{{!}}
| [[Min zone::{{{min_zone|}}}]] <span class="hiddenStructure{{{max_zone|}}}"> to [[Max zone::{{{max_zone|}}}]]</span>
+
{{!}} [[Min zone::{{{min_zone|}}}]] <span class="hiddenStructure{{{max_zone|}}}"> to [[Max zone::{{{max_zone|}}}]]</span>
|- class{{{sunset_zones|}}}="hiddenStructure"
+
}}
 +
<!--  -->
 +
{{#if: {{{sunset_zones|}}} |
 +
{{!}}-
 
! Sunset Zones:
 
! Sunset Zones:
|
+
{{!}}
| [[Sunset zones::{{{sunset_zones|}}}]]
+
{{!}} [[Sunset zones::{{{sunset_zones|}}}]]
|- class{{{flowers|}}}="hiddenStructure"
+
}}
 +
<!--  -->
 +
{{#if: {{{flowers|}}} |
 +
{{!}}-
 
! Flower features:
 
! Flower features:
| ❀  
+
{{!}} ❀  
| {{#arraymap:{{{flowers|}}}|,|x|[[Flowers::x]]}}
+
{{!}} {{#arraymap:{{{flowers|}}}|,|x|[[Flowers::x]]}}
 +
}}
 
|} <!-- End included CULTIVATION table -->
 
|} <!-- End included CULTIVATION table -->
 
|-
 
|-

Revision as of 00:44, 24 June 2021

This is the 'SPlantbox' template.

Edit the page to see the template text.