Template:SPlantbox: Difference between revisions

From Gardenology
Jump to navigation Jump to search
Jude (talk | contribs)
No edit summary
No edit summary
 
(56 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the 'SPlantbox' template.
This is the 'SPlantbox' template.
It should be called in the following format:
 
<pre>
{{test
|botanic_name=
|common_name=
|min_height=
|max_height=
|min_width=
|max_width=
|origin=
|poisonous=
|lifespan=
|exposure=
|water=
|features=
|flower_season=
|flowers=
|min_temp=
|min_zone=
|max_zone=
|sunset_zones=
|image=
|image_width=
|image_caption=
|familia=
|genus=
|species=
|subspecies=
|cultivar=
}}
</pre>
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"
{| 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="text-align:center; width:180px;"
! style="background-color: IndianRed; text-align: center;" | <div class{{{botanic_name|}}}="hiddenStructure"> [[Botanic name::{{{botanic_name|}}}]]</div>
! 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 | <div class{{{common_name|}}}="hiddenStructure">&nbsp;'''{{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}}'''</div>
| 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"
|- class{{{image|}}}="hiddenStructure"
| style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image|}}}|[[Photo width::{{{image_width|}}}]]|{{{image_caption|}}}]]
| style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image|}}}|{{{image_width|}}}px|{{{image_caption|}}}]]
|<!-- Start included PLANT CHARACTERISTICS table -->
|<!-- Start included PLANT CHARACTERISTICS table -->
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
|-class{{{habit|}}}="hiddenStructure"
|-class{{{habit|}}}="hiddenStructure"
! Habit:
! {{#ask:searchlabel=Habit|[[Category:Plant]]|[[Growth habit::+]]| ?Growth_habit| limit=0}}:
|  
|  
| [[Growth habit::{{{habit|}}}]]
| [[Growth habit::{{{habit|}}}]][[Category:{{{habit|}}}]]
|-class{{{max_height|}}}="hiddenStructure"
|-class{{{max_height|}}}="hiddenStructure"
! Height:
! Height:
Line 54: Line 24:
| ⇔
| ⇔
| <span class="hiddenStructure{{{min_width|}}}">[[Min width::{{{min_width|}}}]] to </span> [[Max width::{{{max_width|}}}]]
| <span class="hiddenStructure{{{min_width|}}}">[[Min width::{{{min_width|}}}]] to </span> [[Max width::{{{max_width|}}}]]
|-class="hiddenStructure"
!
| [[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:
| ⇕
| <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"
|- class{{{lifespan|}}}="hiddenStructure"
! Lifespan:
! {{#ask:searchlabel=Lifespan|[[Category:Plant]]|[[Lifespan::+]]| ?Lifespan| limit=0}}:
| ⌛
| ⌛
| {{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}
| {{#arraymap:{{{lifespan|}}}|,|x|[[Lifespan::x]]}}
Line 74: Line 58:
{| 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"
|- class{{{exposure|}}}="hiddenStructure"
! Exposure:
! {{#ask:searchlabel=Exposure|[[Category:Plant]]|[[Exposure::+]]| ?Exposure| limit=0}}:
| ☼
| ☼
| {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
| {{#arraymap:{{{exposure|}}}|,|y|[[Exposure::y]]}}
|- class{{{water|}}}="hiddenStructure"
|- class{{{water|}}}="hiddenStructure"
! Water:
! {{#ask:searchlabel=Water|[[Category:Plant]]|[[Water::+]]| ?Water| limit=0}}:
| ◍
| ◍
| {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}
| {{#arraymap:{{{water|}}}|,|x|[[Water::x]]}}
Line 85: Line 69:
| ✓
| ✓
| {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
| {{#arraymap:{{{features|}}}|,|x|[[Features::x]]}}
|- class{{{Min temp|}}}="hiddenStructure"
|- class="hiddenStructure"
<--TEMPERATURE CODES START HERE -->
! Hidden fields, interally pass variables to right place
<!--Min temp-->
| [[Min Temp Num::{{{Min Temp Num|}}}| ]]
| [[Min Temp Num::{{{Min Temp Num|}}}| ]]
|-
<!--Temp metric-->
| [[Temp Metric::{{{Temp Metric|}}}| ]]
| [[Temp Metric::{{{Temp Metric|}}}| ]]
|-
|- class{{{Min Temp Num|}}}="hiddenStructure"
! Temp (min):
! Minimum Temp:
| ☃
| ☃
| [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]
| [[Temp degree::{{{Min Temp Num|}}}{{{Temp Metric|}}}]]
|-
<!--TEMP CODES END HERE-->
! Hardy to:
| ☃
| [[Min temperature::{{{Min temp|}}}]]
|- class{{{min_zone|}}}="hiddenStructure"
|- class{{{min_zone|}}}="hiddenStructure"
! USDA Zones:
! USDA Zones:
Line 117: Line 93:
| colspan=2 | <!-- Start included CLASSIFICATION table -->
| colspan=2 | <!-- Start included CLASSIFICATION table -->
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
| class{{{familia}}}="hiddenStructure" | <small> [[Family::{{{familia|}}}]] > </small>
| class="hiddenStructure{{{familia|}}}" | <small> [[{{{familia|}}}]] > </small>
| class{{{genus|}}}="hiddenStructure" | <small> [[Genus::{{{genus|}}}]] </small>
| class="hiddenStructure{{{genus|}}}" | <small> [[{{{genus|}}}]] </small>
| class{{{species|}}}="hiddenStructure" | <small> [[Species::{{{species|}}}]] </small>
| class="hiddenStructure{{{species|}}}" | <small> {{{species|}}} </small>
| class{{{subspecies|}}}="hiddenStructure" | <small> [[Subspecies::{{{subspecies|}}}]] </small>
| class="hiddenStructure{{{subspecies|}}}" | <small> {{{subspecies|}}} </small>
| class{{{cultivar|}}}="hiddenStructure" | <small> var. [[Cultivar::{{{cultivar|}}}]] </small>
| class="hiddenStructure{{{cultivar|}}}" | <small> var. {{{cultivar|}}} </small>
| class="hiddenStructure{{{taxo_author|}}}" | <small>, {{{taxo_author|}}} </small>
|} <!-- End included CLASSIFICATION table -->
|} <!-- End included CLASSIFICATION table -->
<span class="hiddenStructure{{{jumpin|}}}"><br>{{#arraymap:{{{jumpin|}}}|,|x|[[Jump in::x]]}}</span>
|}
|}
[[genus::{{{genus|}}}| ]]
[[familia::{{{familia|}}}| ]]
[[Category:Plant]]
[[Category:Plant]]
<br clear=all>
<br clear=all>
</includeonly>
</includeonly>

Latest revision as of 05:15, 24 July 2013

This is the 'SPlantbox' template.

Edit the page to see the template text.