Difference between revisions of "Template:Testsplantbox"
From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the 'SPlantbox' template. | This is the 'SPlantbox' template. | ||
− | + | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | |||
<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"> | <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"> | ||
− | + | <tr style="text-align:center; width:180px;"><th style="background-color: IndianRed; text-align: center;"> {{{genus|}}} {{#if: {{{species|}}} | {{{species|}}} }} {{#if: {{{subspecies|}}} | subsp. {{{subspecies|}}} }} {{#if: {{{cultivar|}}} | var. {{{cultivar|}}} }} | |
− | <tr style="text-align:center; width:180px;"> | ||
− | |||
− | <th style="background-color: IndianRed; text-align: center;"> {{{genus|}}} | ||
− | {{#if: {{{species|}}} | {{{species|}}} }} | ||
− | {{#if: {{{subspecies|}}} | subsp. {{{subspecies|}}} }} | ||
− | {{#if: {{{cultivar|}}} | var. {{{cultivar|}}} }} | ||
</th> | </th> | ||
<td style="background-color: IndianRed; text-align: left; width:600px;" colspan=2 > | <td style="background-color: IndianRed; text-align: left; width:600px;" colspan=2 > | ||
{{#if: {{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}} | ''' {{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}}''' }} </td> | {{#if: {{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}} | ''' {{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}}''' }} </td> | ||
</tr> | </tr> | ||
− | + | <tr><td style="cellpadding=0 text-align: center;" rowspan=2>{{#if: {{{image|}}}|[[Image:{{{image|}}}|{{{image_width|}}}px|{{{image_caption|}}}]] }}</td> | |
− | + | <td> | |
− | [[Image:{{{image|}}}|{{{image_width|}}}px|{{{image_caption|}}}]]</td> | ||
− | |||
− | |||
<!-- Start included PLANT CHARACTERISTICS table --> | <!-- Start included PLANT CHARACTERISTICS table --> | ||
<table style="margin:0 auto; text-align:left; background:none;" cellpadding="2"> | <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> | {{#if: {{{habit|}}} | <tr><th>{{#ask:searchlabel=Habit|[[Category:Plant]]|[[Growth habit::+]]| ?Growth_habit| limit=0}}:</th> | ||
− | <td></td><td>[[Growth habit::{{{habit|}}}]][[Category:{{{habit|}}}]]</td></tr> }} | + | <td></td><td>[[Growth habit::{{{habit|}}}]][[Category:{{{habit|}}}]]</td></tr> |
− | + | }}{{#if: {{{min_height|}}} | <tr><th>Height:</th><td>⇕</td><td>[[Min height::{{{min_height|}}}]] to [[Max height::{{{max_height|}}}]]</td></tr> | |
− | {{#if: {{{min_height|}}} | <tr><th>Height:</th><td>⇕</td><td> | + | }}{{#if: {{{min_width|}}} | <tr><th>Width:</th><td>⇔</td><td>[[Min width::{{{min_width|}}}]] to [[Max width::{{{max_width|}}}]]</td></tr> |
− | [[Min height::{{{min_height|}}}]] to [[Max height::{{{max_height|}}}]]</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> |
− | + | }}{{#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> | |
− | {{#if: {{{min_width|}}} | <tr><th>Width:</th><td>⇔</td><td> | + | }}{{#if: {{{lifespan|}}} | <tr><th> |
− | [[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> }} | ||
− | |||
− | {{#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> }} | ||
− | |||
− | {{#if: {{{lifespan|}}} | <tr><th> | ||
{{#ask:searchlabel=Lifespan|[[Category:Plant]]|[[Lifespan::+]]| ?Lifespan| limit=0}}:</th> | {{#ask:searchlabel=Lifespan|[[Category:Plant]]|[[Lifespan::+]]| ?Lifespan| limit=0}}:</th> | ||
<td>⌛</td> | <td>⌛</td> | ||
<td>{{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}</td> | <td>{{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}</td> | ||
− | </tr> }} | + | </tr> |
− | + | }}{{#if: {{{origin|}}} | <tr><th>Origin:</th><td>✈</td><td>[[Origin::{{{origin|}}}]]</td></tr> | |
− | {{#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> |
− | + | }}{{#if: {{{flower_season|}}} | <tr><th>Bloom:</th><td>❀</td><td>{{#arraymap:{{{flower_season|}}}|,|x|[[Flower season::x]]}}</td></tr> | |
− | {{#if: {{{poisonous|}}} | <tr><th>Poisonous:</th><td>☠</td><td>[[Poisonous::{{{poisonous|}}}]]</td></tr> }} | + | }} |
− | |||
− | {{#if: {{{flower_season|}}} | <tr><th>Bloom:</th><td>❀</td><td>{{#arraymap:{{{flower_season|}}}|,|x|[[Flower season::x]]}}</td></tr> }} | ||
− | |||
</table> <!-- End included PLANT CHARACTERISTICS table --> | </table> <!-- End included PLANT CHARACTERISTICS table --> | ||
− | </td | + | </td> |
− | + | <td> | |
− | |||
<!-- Start included CULTIVATION table --> | <!-- Start included CULTIVATION table --> | ||
<table style="margin:0 auto; text-align:left; background:none;" cellpadding="2"> | <table style="margin:0 auto; text-align:left; background:none;" cellpadding="2"> | ||
− | |||
{{#if: {{{exposure|}}} | <tr><th>{{#ask:searchlabel=Exposure|[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0}}:</th><td>☼</td><td> | {{#if: {{{exposure|}}} | <tr><th>{{#ask:searchlabel=Exposure|[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0}}:</th><td>☼</td><td> | ||
− | {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}</td></tr> }} | + | {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}</td></tr> |
− | + | }}{{#if: {{{water|}}} | <tr><th>{{#ask:searchlabel=Water|[[Category:Plant]]|[[Water::+]]| ?Water| limit=0}}:</th><td>◍</td><td> | |
− | {{#if: {{{water|}}} | <tr><th>{{#ask:searchlabel=Water|[[Category:Plant]]|[[Water::+]]| ?Water| limit=0}}:</th><td>◍</td><td> | + | {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}</td></tr> |
− | {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}</td></tr> }} | + | }}{{#if: {{{features|}}} | <tr><th>Features:</th><td>✓</td><td> |
− | + | {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}</td></tr> | |
− | {{#if: {{{features|}}} | <tr><th>Features:</th><td>✓</td><td> | + | }}{{#if: {{{Min Temp Num|}}} | <tr><th>Minimum Temp:</th><td>☃</td><td> |
− | {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}</td></tr> | + | [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]</td></tr> |
− | + | }}{{#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> | |
− | + | }}{{#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> | |
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | {{#if: {{{Min Temp Num|}}} | <tr><th>Minimum Temp:</th><td>☃</td><td> | ||
− | [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]</td></tr> }} | ||
− | |||
− | {{#if: {{{min_zone|}}} | <tr><th>USDA Zones:</th><td> | ||
− | [[Min zone::{{{min_zone|}}}]] | ||
− | {{#if: {{{max_zone|}}} | to [[Max zone::{{{max_zone|}}}]] }} </td></tr> }} | ||
− | |||
− | {{#if: {{{sunset_zones|}}} | ||
− | [[Sunset zones::{{{sunset_zones|}}}]]</td></tr> }} | ||
− | |||
− | {{#if: {{{flowers|}}} | <tr><th>Flower features:</th><td>❀</td><td> | ||
{{#arraymap:{{{flowers|}}}|,|x|[[Flowers::x]]}}</td></tr> }} | {{#arraymap:{{{flowers|}}}|,|x|[[Flowers::x]]}}</td></tr> }} | ||
− | |||
</table> <!-- End included CULTIVATION table --> | </table> <!-- End included CULTIVATION table --> | ||
</td></tr> | </td></tr> | ||
− | |||
<tr> | <tr> | ||
<td colspan=2 > | <td colspan=2 > | ||
<!-- Start included CLASSIFICATION table --> | <!-- Start included CLASSIFICATION table --> | ||
<table style="margin:0 auto; text-align:left; background:none;" cellpadding="2"> | <table style="margin:0 auto; text-align:left; background:none;" cellpadding="2"> | ||
− | + | <tr> | |
− | {{#if: {{{familia|}}} | | + | {{#if: {{{familia|}}} | <td><small> [[{{{familia|}}}]] > </small></td> |
− | {{#if: {{{genus|}}} | + | }}{{#if: {{{genus|}}} | <td><small> [[{{{genus|}}}]] </small></td> |
− | {{#if: {{{species|}}} | + | }}{{#if: {{{species|}}} | <td><small> {{{species|}}} </small></td> |
− | {{#if: {{{subspecies|}}} | + | }}{{#if: {{{subspecies|}}} | <td><small> {{{subspecies|}}} </small></td> |
− | {{#if: {{{cultivar|}}} | + | }}{{#if: {{{cultivar|}}} | <td><small> var. {{{cultivar|}}} </small></td> |
− | {{#if: {{{taxo_author|}}} | + | }}{{#if: {{{taxo_author|}}} | <td><small>, {{{taxo_author|}}} </small></td> }} |
+ | </tr> | ||
</table> <!-- End included CLASSIFICATION table --> | </table> <!-- End included CLASSIFICATION table --> | ||
− | |||
− | |||
{{#if: {{{jumpin|}}} | | {{#if: {{{jumpin|}}} | | ||
<br>{{#arraymap:{{{jumpin|}}}|,|x|[[Jump in::x]]}} }} | <br>{{#arraymap:{{{jumpin|}}}|,|x|[[Jump in::x]]}} }} |
Latest revision as of 21:46, 21 January 2012
This is the 'SPlantbox' template.
Edit the page to see the template text.