Difference between revisions of "Template:SPlantbox"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
(top header no longer hidden (testing))
(a different way to show the header)
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>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
Line 36: Line 6:
 
{| 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;" | [[Botanic name::{{{botanic_name|}}}]]</div>
+
! style="background-color: IndianRed; text-align: center;" | <span class{{{botanic_name|}}}="hiddenStructure"> [[Botanic name::{{{botanic_name|}}}]]</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{{{common_name|}}}="hiddenStructure">&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|}}}|{{{image_width|}}}px|{{{image_caption|}}}]]
 
| style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image|}}}|{{{image_width|}}}px|{{{image_caption|}}}]]

Revision as of 14:51, 12 October 2009

This is the 'SPlantbox' template.

Edit the page to see the template text.