Difference between revisions of "Template:SPlantbox"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
Line 46: Line 46:
 
}}
 
}}
 
<!-- -->
 
<!-- -->
|-class="hiddenStructure"
+
{{#if: {{{Max ht box|}}} |  
!
 
| [[Min height box::{{{Min ht box|}}}]][[Min height metric::{{{Min ht metric|}}}]][[Max height box::{{{Max ht box|}}}]][[Max height metric::{{{Max ht metric|}}}]]
 
| [[Min width box::{{{Min wd box|}}}]][[Min width metric::{{{Min wd metric|}}}]][[Max width box::{{{Max wd box|}}}]][[Max width metric::{{{Max wd metric|}}}]]
 
|-class{{{Max ht box|}}}="hiddenStructure"
 
 
! Height:
 
! Height:
|
+
{{!}}
| <span class="hiddenStructure{{{Min ht box|}}}">[[Min height::{{{Min ht box|}}} {{{Min ht metric|}}}]] to </span> [[Max height::{{{Max ht box|}}} {{{Max ht metric|}}}]]
+
{{!}} {{#if: {{{Max ht box|}}} | [[Min height::{{{Min ht box|}}} {{{Min ht metric|}}}]] to}} [[Max height::{{{Max ht box|}}} {{{Max ht metric|}}}]]
|-class{{{Max wd box|}}}="hiddenStructure"
+
}}
 +
<!-- -->
 +
{{#if: {{{Max wd box|}}} |
 
! Width:
 
! Width:
|
+
{{!}}
| <span class="hiddenStructure{{{Min wd box|}}}">[[Min width::{{{Min wd box|}}} {{{Min wd metric|}}}]] to </span> [[Max width::{{{Max wd box|}}} {{{Max wd metric|}}}]]
+
{{!}} {{#if: {{{Max wd box|}}} | [[Min width::{{{Min wd box|}}} {{{Min wd metric|}}}]] to}} [[Max width::{{{Max wd box|}}} {{{Max wd metric|}}}]]
 +
}}
 
<!--  -->
 
<!--  -->
|- class{{{lifespan|}}}="hiddenStructure"
+
{{#if: {{{lifespan|}}} |
! {{#ask:searchlabel=Lifespan|[[Category:Plant]]|[[Lifespan::+]]| ?Lifespan| limit=0}}:
+
! {{#ask:[[Category:Plant]]|[[Lifespan::+]]| ?Lifespan| limit=0|searchlabel=Lifespan}}:
|
+
{{!}}
| {{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}
+
{{!}} {{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}
 +
}}
 
<!--  -->
 
<!--  -->
|- class{{{origin|}}}="hiddenStructure"
+
{{#if: {{{origin|}}} |
 
! Origin:
 
! Origin:
|
+
{{!}}
| [[Origin::{{{origin|}}}]]
+
{{!}} [[Origin::{{{origin|}}}]]
 +
}}
 
<!--  -->
 
<!--  -->
 
{{#if: {{{poisonous|}}} |  
 
{{#if: {{{poisonous|}}} |  

Revision as of 00:25, 24 June 2021

This is the 'SPlantbox' template.

Edit the page to see the template text.