Difference between revisions of "Template:Imbox"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
m (First draft)
m (I give up. Anything using it will just have to be redone. Too many dependencies.)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
<noinclude>
 
This is the 'Imbox' template.
 
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
{| style="background: Beige; position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:left; clear:right; width:800px;" border="1" cellpadding="0"
 
|- style="text-align:center; width:180px;"
 
! style="background-color: IndianRed; text-align: center;" | &nbsp;{{{genus|}}} <span class="hiddenStructure{{{species|}}}">{{{species|}}}</span> <span class="hiddenStructure{{{subspecies|}}}">subsp. {{{subspecies|}}}</span> <span class="hiddenStructure{{{cultivar|}}}">var. {{{cultivar|}}}</span>
 
| style="background-color: IndianRed; text-align: left; width:600px;" colspan=2 | <span class="hiddenStructure{{{common_name|}}}">'''&nbsp;{{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}}'''</span>
 
|- class{{{image|}}}="hiddenStructure"
 
| style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image|}}}|{{{image_width|}}}px|{{{image_caption|}}}]]
 
|<!-- Start included PLANT CHARACTERISTICS table -->
 
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
 
|-class{{{habit|}}}="hiddenStructure"
 
! Width:
 
| ⇔
 
| <span class="hiddenStructure{{{min_width|}}}">[[Min width::{{{min_width|}}}]] to </span> [[Max width::{{{max_width|}}}]]
 
 
! 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|}}}]]
 
|-class{{{Max wd box|}}}="hiddenStructure"
 
! 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|}}}]]
 
 
|- class{{{lifespan|}}}="hiddenStructure"
 
! {{#ask:searchlabel=Lifespan|[[Category:Plant]]|[[Lifespan::+]]| ?Lifespan| limit=0}}:
 
| ⌛
 
| {{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}
 
|- class{{{flower_season|}}}="hiddenStructure"
 
! Bloom:
 
| ❀
 
| {{#arraymap:{{{flower_season|}}}|,|x|[[Flower season::x]]}}
 
|} <!-- End included PLANT CHARACTERISTICS table -->
 
|<!-- Start included CULTIVATION table -->
 
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
 
|- class{{{exposure|}}}="hiddenStructure"
 
! {{#ask:searchlabel=Exposure|[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0}}:
 
| ☼
 
| {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
 
|- class{{{features|}}}="hiddenStructure"
 
! Features:
 
| ✓
 
| {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
 
|- class{{{min_zone|}}}="hiddenStructure"
 
| colspan=2 | <!-- Start included CLASSIFICATION table -->
 
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
 
| class="hiddenStructure{{{familia|}}}" | <small> [[{{{familia|}}}]] > </small>
 
| class="hiddenStructure{{{taxo_author|}}}" | <small>, {{{taxo_author|}}} </small>
 
|} <!-- End included CLASSIFICATION table -->
 
<span class="hiddenStructure{{{jumpin|}}}"><br>{{#arraymap:{{{jumpin|}}}|,|x|[[Jump in::x]]}}</span>
 
|}
 
[[Category:Plant]]
 
<br clear=all>
 
</includeonly>
 

Latest revision as of 22:32, 28 April 2015