Difference between revisions of "Template:Plantbox"
From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search (removed automatic links for classification, and extra hidden stuff by names, and added latinname variable to be more specific than just name) |
(making names hidden unless they are defined) |
||
Line 1: | Line 1: | ||
{| 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:200px;" | |- style="text-align:center; width:200px;" | ||
− | ! style="background-color: {{{color}}}; text-align: center;" | {{{name}}}{{{latinname}}} | + | ! style="background-color: {{{color}}}; text-align: center;" | <div class="hiddenStructure{{{name|}}}"> {{{name}}}</div> <div class="hiddenStructure{{{latinname|}}}">{{{latinname}}}</div> |
− | | style="background-color: {{{color}}}; text-align: left; width:600px;" colspan=2 | {{{common_names}}} | + | | style="background-color: {{{color}}}; text-align: left; width:600px;" colspan=2 | <div class="hiddenStructure{{{common_names|}}}"> '''{{{common_names}}}'''</div> |
|- class="hiddenStructure{{{image|}}}" | |- class="hiddenStructure{{{image|}}}" | ||
| style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image}}}|{{{image_width|200px}}}|{{{image_caption|}}}]] | | style="cellpadding=0 text-align: center;" rowspan=2| [[Image:{{{image}}}|{{{image_width|200px}}}|{{{image_caption|}}}]] | ||
Line 126: | Line 126: | ||
{{Plantbox | {{Plantbox | ||
| color = IndianRed<br> | | color = IndianRed<br> | ||
− | | name = '' | + | | name = ''latin name''<br> |
| image = Pink_petunias.jpg<br> | | image = Pink_petunias.jpg<br> | ||
| image_width = 240px<br> | | image_width = 240px<br> |
Revision as of 17:08, 21 August 2009
{{{name}}} {{{latinname}}}
|
{{{common_names}}}
| ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[[Image:{{{image}}}|200px|]] |
|
| |||||||||||||||||||||||||||||||||||||||
|
About this template
This template is adopted and significantly changed from an archived Wikipedia version. It makes life easy when transferring info here, while also making it easy to add addition useful gardening information.
Variables and typical classifications:
- common_names = Rose, Apple, etc
- growth_habit = Tree, Vine, Bush, Groundcover, Bulbous
- high = How high does the plant grow (in metric and english)
- wide = How wide does the plant grown (in metric and english)
- lifespan = Annual, Perennial, Biennial
- origin = what country/region is it native to, or is it of garden origin
- exposure = Full sun, Part shade/Part sun, Shade
- features = Naturalizes, fruit, veg, flowers, fragrance, foliage
- poisonous = Yes (if poisonous) or else leave this out
- hardiness = Hardy (ie. survives freezing winters), Frost tender (frost kills it), Tender
- bloom = Late Spring to Fall (Seasons plant blooms - if it is grown for flowers)
- usda_zones = 1-11 (see http://www.usna.usda.gov/Hardzone/ushzmap.html )
- sunset_zones = 1-45 (see http://www.sunset.com/sunset/garden/article/1,20633,845218,00.html )
Copy paste the following and fill out
<div class="hiddenStructurelatin name "> latin name {{{latinname}}}
|
<div class="hiddenStructure "> | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[[Image:Pink_petunias.jpg |240px |Petunias ]] |
|
| |||||||||||||||||||||||||||||||||||||||
|