Difference between revisions of "Template:Infobox Cultivar"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
Line 2: Line 2:
 
|-
 
|-
 
! style="background-color: palegreen;" | {{{name}}}
 
! style="background-color: palegreen;" | {{{name}}}
|- class{{{image|}}}="hiddenStructure"
+
|-
| [[Image:{{{image}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]
+
{{#if: {{{image|}}}|
|- class{{{species|}}}="hiddenStructure"
+
{{!}} [[Image:{{{image}}} {{!}} {{{image_width|200px}}}|{{{image_caption|}}}]]}}
! style="background-color: palegreen;" | [[Species]]
+
|-
 +
{{#if: {{{species|}}}|
 +
! style="background-color: palegreen;" {{!}} [[Species]]}}
 
|-
 
|-
 
| {{{species|}}}
 
| {{{species|}}}
|- class{{{hybrid|}}}="hiddenStructure"
+
|-
! style="background-color: palegreen;" | [[Hybrid|Hybrid parentage]]
+
{{#if: {{{hybrid|}}}|
 +
! style="background-color: palegreen;" {{!}} [[Hybrid|Hybrid parentage]]}}
 
|-
 
|-
 
| {{{hybrid|}}}
 
| {{{hybrid|}}}
|- class{{{group|}}}="hiddenStructure"
+
|-
! style="background-color: palegreen;" | [[Cultivar|Cultivar group]]
+
{{#if: {{{group|}}}|
 +
! style="background-color: palegreen;" {{!}} [[Cultivar|Cultivar group]]}}
 
|-
 
|-
 
| {{{group|}}}
 
| {{{group|}}}
|- class{{{cultivar|}}}="hiddenStructure"
+
|-
! style="background-color: palegreen;" | [[Cultivar]]
+
{{#if: {{{cultivar|}}}|
 +
! style="background-color: palegreen;" {{!}} [[Cultivar]]}}
 
|-
 
|-
 
| {{{cultivar|}}}
 
| {{{cultivar|}}}
|- class{{{origin|}}}="hiddenStructure"
+
|-
! style="background-color: palegreen;" | Origin
+
{{#if: {{{origin|}}}|
 +
! style="background-color: palegreen;" {{!}} Origin}}
 
|-
 
|-
 
| {{{origin|}}}
 
| {{{origin|}}}
|- class{{{subdivision|}}}="hiddenStructure"
+
|-
! style="background-color: palegreen;" | Cultivar Group members
+
{{#if: {{{subdivision|}}}|
 +
! style="background-color: palegreen;" {{!}} Cultivar Group members}}
 
|-
 
|-
 
| {{{subdivision|}}}
 
| {{{subdivision|}}}

Revision as of 12:47, 28 March 2007

About this template

This template sets up a infobox for a plant cultivar. Although the implementation is complicated, it is relatively simple to use. See Wikipedia:WikiProject Tree of Life/Cultivar infobox for an explanation and examples. Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out.

  1. REDIRECT Template:Intricate template