Template:Testsplantbox: Difference between revisions

From Gardenology.org - Plant Encyclopedia and Gardening wiki
Jump to navigation Jump to search
Jht (talk | contribs)
Jht (talk | contribs)
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 4: Line 4:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</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"
<table 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;"
<tr style="text-align:center; width:180px;"><th style="background-color: IndianRed; text-align: center;"&nbsp;{{{genus|}}} {{#if: {{{species|}}} | {{{species|}}} }} {{#if: {{{subspecies|}}} | subsp. {{{subspecies|}}} }} {{#if: {{{cultivar|}}} | var. {{{cultivar|}}} }}
! 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>
</th>
| 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>
<td style="background-color: IndianRed; text-align: left; width:600px;" colspan=2 >
|- class{{{image|}}}="hiddenStructure"
{{#if: {{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}} | '''&nbsp;{{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}}''' }} </td>
| style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image|}}}|{{{image_width|}}}px|{{{image_caption|}}}]]
</tr>
|<!-- Start included PLANT CHARACTERISTICS table -->
<tr><td style="cellpadding=0 text-align: center;" rowspan=2>{{#if: {{{image|}}}|[[Image:{{{image|}}}|{{{image_width|}}}px|{{{image_caption|}}}]] }}</td>
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
<td>
|-class{{{habit|}}}="hiddenStructure"
<!-- Start included PLANT CHARACTERISTICS table -->
! {{#ask:searchlabel=Habit|[[Category:Plant]]|[[Growth habit::+]]| ?Growth_habit| limit=0}}:
<table style="margin:0 auto; text-align:left; background:none;" cellpadding="2">
|
{{#if: {{{habit|}}} | <tr><th>{{#ask:searchlabel=Habit|[[Category:Plant]]|[[Growth habit::+]]| ?Growth_habit| limit=0}}:</th>
| [[Growth habit::{{{habit|}}}]][[Category:{{{habit|}}}]]
<td></td><td>[[Growth habit::{{{habit|}}}]][[Category:{{{habit|}}}]]</td></tr>
|-class{{{max_height|}}}="hiddenStructure"
}}{{#if: {{{min_height|}}} | <tr><th>Height:</th><td>⇕</td><td>[[Min height::{{{min_height|}}}]] to [[Max height::{{{max_height|}}}]]</td></tr>
! Height:
}}{{#if: {{{min_width|}}} | <tr><th>Width:</th><td>⇔</td><td>[[Min width::{{{min_width|}}}]] to [[Max width::{{{max_width|}}}]]</td></tr>
| ⇕
}}{{#if: {{{Min ht box|}}} | <tr><th>Height:</th><td>⇕</td><td>[[Min height::{{{Min ht box|}}} {{{Min ht metric|}}}]] to [[Max height::{{{Max ht box|}}} {{{Max ht metric|}}}]] </td></tr>
| <span class="hiddenStructure{{{min_height|}}}">[[Min height::{{{min_height|}}}]] to </span> [[Max height::{{{max_height|}}}]]
}}{{#if: {{{Min wd box|}}} | <tr><th>Width:</th><td>⇔</td><td>[[Min width::{{{Min wd box|}}} {{{Min wd metric|}}}]] to [[Max width::{{{Max wd box|}}} {{{Max wd metric|}}}]]</td></tr>
|-class{{{max_width|}}}="hiddenStructure"
}}{{#if: {{{lifespan|}}} | <tr><th>
! Width:
{{#ask:searchlabel=Lifespan|[[Category:Plant]]|[[Lifespan::+]]| ?Lifespan| limit=0}}:</th>
|
<td>⌛</td>
| <span class="hiddenStructure{{{min_width|}}}">[[Min width::{{{min_width|}}}]] to </span> [[Max width::{{{max_width|}}}]]
<td>{{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}</td>
 
</tr>
|-class="hiddenStructure"
}}{{#if: {{{origin|}}} | <tr><th>Origin:</th><td>✈</td><td>[[Origin::{{{origin|}}}]]</td></tr>
!
}}{{#if: {{{poisonous|}}} | <tr><th>Poisonous:</th><td>☠</td><td>[[Poisonous::{{{poisonous|}}}]]</td></tr>
| [[Min height box::{{{Min ht box|}}}]][[Min height metric::{{{Min ht metric|}}}]][[Max height box::{{{Max ht box|}}}]][[Max height metric::{{{Max ht metric|}}}]]
}}{{#if: {{{flower_season|}}} | <tr><th>Bloom:</th><td>❀</td><td>{{#arraymap:{{{flower_season|}}}|,|x|[[Flower season::x]]}}</td></tr>
| [[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"
</table> <!-- End included PLANT CHARACTERISTICS table -->
! Height:
</td>
| ⇕
<td>
| <span class="hiddenStructure{{{Min ht box|}}}">[[Min height::{{{Min ht box|}}} {{{Min ht metric|}}}]] to </span> [[Max height::{{{Max ht box|}}} {{{Max ht metric|}}}]]
<!-- Start included CULTIVATION table -->
|-class{{{Max wd box|}}}="hiddenStructure"
<table style="margin:0 auto; text-align:left; background:none;" cellpadding="2">
! Width:
{{#if: {{{exposure|}}} | <tr><th>{{#ask:searchlabel=Exposure|[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0}}:</th><td>☼</td><td>
| ⇔
{{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}</td></tr>
| <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: {{{water|}}} | <tr><th>{{#ask:searchlabel=Water|[[Category:Plant]]|[[Water::+]]| ?Water| limit=0}}:</th><td>◍</td><td>
 
{{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}</td></tr>
|- class{{{lifespan|}}}="hiddenStructure"
}}{{#if: {{{features|}}} | <tr><th>Features:</th><td>✓</td><td>
! {{#ask:searchlabel=Lifespan|[[Category:Plant]]|[[Lifespan::+]]| ?Lifespan| limit=0}}:
{{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}</td></tr>
| ⌛
}}{{#if: {{{Min Temp Num|}}} | <tr><th>Minimum Temp:</th><td>☃</td><td>
| {{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}
[[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]</td></tr>
|- class{{{origin|}}}="hiddenStructure"
}}{{#if: {{{min_zone|}}}{{{max_zone|}}} |<tr><th>USDA Zones:</th><td></td><td>[[Min zone::{{{min_zone|}}}]] {{#if: {{{max_zone|}}} | to [[Max zone::{{{max_zone|}}}]] }} </td></tr>
! Origin:
}}{{#if: {{{sunset_zones|}}} | <tr><th>Sunset Zones:</th><td></td><td>[[Sunset zones::{{{sunset_zones|}}}]]</td></tr>
| ✈
}}{{#if: {{{flowers|}}} | <tr><th>Flower features:</th><td>❀</td><td>
| [[Origin::{{{origin|}}}]]
{{#arraymap:{{{flowers|}}}|,|x|[[Flowers::x]]}}</td></tr> }}
|- class{{{poisonous|}}}="hiddenStructure"
</table> <!-- End included CULTIVATION table -->
! Poisonous:
</td></tr>
| ☠
<tr>
| [[Poisonous::{{{poisonous|}}}]]
<td colspan=2 >
|- class{{{flower_season|}}}="hiddenStructure"
<!-- Start included CLASSIFICATION table -->
! Bloom:
<table style="margin:0 auto; text-align:left; background:none;" cellpadding="2">
| ❀
<tr>
| {{#arraymap:{{{flower_season|}}}|,|x|[[Flower season::x]]}}
{{#if: {{{familia|}}} | <td><small> [[{{{familia|}}}]] > </small></td>
|} <!-- End included PLANT CHARACTERISTICS table -->
}}{{#if: {{{genus|}}} | <td><small> [[{{{genus|}}}]] </small></td>
|<!-- Start included CULTIVATION table -->
}}{{#if: {{{species|}}} | <td><small> {{{species|}}} </small></td>
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
}}{{#if: {{{subspecies|}}} | <td><small> {{{subspecies|}}} </small></td>
|- class{{{exposure|}}}="hiddenStructure"
}}{{#if: {{{cultivar|}}} | <td><small> var. {{{cultivar|}}} </small></td>
! {{#ask:searchlabel=Exposure|[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0}}:
}}{{#if: {{{taxo_author|}}} | <td><small>, {{{taxo_author|}}} </small></td> }}
| ☼
</tr>
| {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
</table> <!-- End included CLASSIFICATION table -->
|- class{{{water|}}}="hiddenStructure"
{{#if: {{{jumpin|}}} |  
! {{#ask:searchlabel=Water|[[Category:Plant]]|[[Water::+]]| ?Water| limit=0}}:
<br>{{#arraymap:{{{jumpin|}}}|,|x|[[Jump in::x]]}} }}
| ◍
</td></tr>
| {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}
</table>
|- class{{{features|}}}="hiddenStructure"
! Features:
|
| {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
|- class="hiddenStructure"
! Hidden fields, interally pass variables to right place
| [[Min Temp Num::{{{Min Temp Num|}}}| ]]
| [[Temp Metric::{{{Temp Metric|}}}| ]]
|- class{{{Min Temp Num|}}}="hiddenStructure"
! Minimum Temp:
| ☃
| [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]
|- class{{{min_zone|}}}="hiddenStructure"
! USDA Zones:
|
| [[Min zone::{{{min_zone|}}}]] <span class="hiddenStructure{{{max_zone|}}}"> to [[Max zone::{{{max_zone|}}}]]</span>
|- class{{{sunset_zones|}}}="hiddenStructure"
! Sunset Zones:
|
| [[Sunset zones::{{{sunset_zones|}}}]]
|- class{{{flowers|}}}="hiddenStructure"
! Flower features:
| ❀
| {{#arraymap:{{{flowers|}}}|,|x|[[Flowers::x]]}}
|} <!-- End included CULTIVATION table -->
|-
| 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{{{genus|}}}" | <small> [[{{{genus|}}}]] </small>
| class="hiddenStructure{{{species|}}}" | <small> {{{species|}}} </small>
| class="hiddenStructure{{{subspecies|}}}" | <small> {{{subspecies|}}} </small>
| class="hiddenStructure{{{cultivar|}}}" | <small> var. {{{cultivar|}}} </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]]
[[Category:Plant]]
<br clear=all>
<br clear=all>
</includeonly>
</includeonly>

Latest revision as of 21:46, 21 January 2012

This is the 'SPlantbox' template.

Edit the page to see the template text.