Difference between revisions of "Template:SPlantbox"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
(eliminating necessity for "px" from image width field)
Line 39: Line 39:
 
| 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 | <div class{{{common_name|}}}="hiddenStructure">&nbsp;'''{{#arraymap:{{{common_name|}}}|,|x|[[Common name::x]]}}'''</div>
 
|- 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"

Revision as of 20:24, 11 October 2009

This is the 'SPlantbox' template. It should be called in the following format:

{{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=
}}

Edit the page to see the template text.