Difference between revisions of "Template:Infobox grape variety/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Jonathanischoice
m (link to VIVC page.)
imported>RexxS
(sync from main)
Line 1: Line 1:
{| class="infobox biota" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em"
+
{{Infobox
! colspan=2 class="variety" style="text-align: center; font-size: 125%; background-color: {{#switch:{{lc:{{{color|}}}}}
+
| bodyclass = biota
| Rose  | rose  | rs |RS |pink    = DeepPink
+
| aboveclass = variety
| Rouge | rouge | R  |r  |red      = DarkRed
+
| abovestyle = font-size: 125%; {{#switch:{{lc:{{{colour|{{{color|}}}}}}}}
| Gris  | gris  | G  |g  |gray-red = BlueViolet
+
| Rose  | rose  | rs |RS |pink    = background-color: DeepPink; color: Black;
| Noir  | |noir | n  |N  |black    = Indigo
+
| Rouge | rouge | R  |r  |red      = background-color: DarkRed; color: White;
| Blanc | blanc | b  |B  |white    = LightGoldenRodYellow
+
| Gris  | gris  | G  |g  |gray-red = background-color: BlueViolet; color: Black;
}}; color: {{#switch:{{lc:{{{color|}}}}}
+
| Noir  | |noir | n  |N  |black    = background-color: Indigo; color: Cornsilk;
| Blanc | blanc | b  |B  |white    =  
+
| Blanc | blanc | b  |B  |white    = background-color: LightGoldenRodYellow; color: Black;
| Rose  | rose  | rs |RS |pink    =
 
| Gris  | gris  | G  |g  |gray-red = Black
 
| Rouge | rouge | R  |r  |red      =
 
| Noir  | |noir | n  |N  |black    = Cornsilk
 
}}" | {{{name}}}
 
|-
 
! colspan=2 style="text-align: center" | <span class="vernacular">[[Grape]]</span> (''<span class="genus">Vitis</span>'')
 
|-
 
{{#if:{{{image<includeonly>|</includeonly>}}}|
 
{{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{image<includeonly>|</includeonly>}}}|215px|alt={{{alt|}}}]]
 
{{!}}-
 
{{#if:{{{caption<includeonly>|</includeonly>}}}|
 
{{!}} colspan=2 style="text-align: center" {{!}} {{{caption}}}
 
{{!}}-
 
 
}}
 
}}
}}
+
| above = {{{name}}}
{{#if:{{{color<includeonly>|</includeonly>}}}|
+
 
! Color of berry skin
+
| subheaderstyle = font-weight:bold
{{!}} {{#if: {{{color_alt|}}} | {{{color_alt|}}} | {{{color}}} }}  
+
| subheader = <span class="vernacular">[[Grape]]</span> (''<span class="genus">Vitis</span>'')
{{!}}-
+
 
}}
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{image_size|{{{image_width|}}}}}}|alt={{{alt|}}} }}
{{#if:{{{species<includeonly>|</includeonly>}}}|
+
| caption = {{{caption<includeonly>|</includeonly>}}}
! Species
+
 
{{!}} class="binominal" {{!}} {{{species}}}
+
| label1 = {{#if:{{{colour|}}}{{{colour_alt|}}}|Colour|Color}} of berry skin
}}
+
| data1 = {{#if: {{{color_alt|{{{colour_alt|}}}}}} | {{{color_alt|{{{colour_alt}}}}}} | {{{color<includeonly>|{{{colour|}}}</includeonly>}}} }}  
|-
+
 
{{#if:{{{also_called<includeonly>|</includeonly>}}}|
+
| label2 = Species
! Also called
+
| class2 = binominal
{{!}} {{{also_called}}}
+
| data2 = {{{species<includeonly>|</includeonly>}}}
{{!}}-
+
 
}}
+
| label3 = Also called
{{#if:{{{vivc_number<includeonly>|</includeonly>}}}|
+
| data3 = {{{also_called<includeonly>|{{{also|}}}</includeonly>}}}
! [[Vitis International Variety Catalogue|VIVC]] variety number
+
 
{{!}} [http://www.vivc.de/index.php?r=passport/view&id={{{vivc_number}}} {{{vivc_number}}}]
+
| label4 = Origin
{{!}}-
+
| data4 = {{{origin<includeonly>|</includeonly>}}}
}}
+
 
{{#if:{{{origin<includeonly>|</includeonly>}}}|
+
| label5 = Original pedigree
! Origin
+
| data5 = {{{pedigree0<includeonly>|</includeonly>}}}|
{{!}} {{{origin}}}
+
 
{{!}}-
+
| label6 = Pedigree parent 1
}}
+
| data6 = {{{pedigree1<includeonly>|</includeonly>}}}
{{#if:{{{pedigree0<includeonly>|</includeonly>}}}|
+
 
! Original pedigree
+
| label7 = Pedigree parent 2
{{!}} {{{pedigree0}}}
+
| data7 = {{{pedigree2<includeonly>|</includeonly>}}}
{{!}}-
+
 
}}
+
| label8 = [[list of wine-producing regions|Notable regions]]
{{#if:{{{pedigree1<includeonly>|</includeonly>}}}|
+
| data8 = {{{regions<includeonly>|</includeonly>}}}
! Pedigree parent 1
+
 
{{!}} {{{pedigree1}}}
+
| label9 = Notable wines
{{!}}-
+
| data9 = {{{notable_wines<includeonly>|{{{wines|}}}</includeonly>}}}
}}
+
 
{{#if:{{{pedigree2<includeonly>|</includeonly>}}}|
+
| label10 = Ideal soil
! Pedigree parent 2
+
| data10 = {{{soil<includeonly>|</includeonly>}}}
{{!}} {{{pedigree2}}}
+
 
{{!}}-
+
| label11 = Hazards
}}
+
| data11 = {{{hazards<includeonly>|</includeonly>}}}
{{#if:{{{regions<includeonly>|</includeonly>}}}|
+
 
[[list of wine-producing regions|Notable regions]]
+
| label12 = Breeder
{{!}} {{{regions}}}
+
| data12 = {{{breeder<includeonly>|</includeonly>}}}
{{!}}-
+
 
}}
+
| label13 = Breeding institute
{{#if:{{{notable_wines<includeonly>|</includeonly>}}}|
+
| data13 = {{{institute<includeonly>|</includeonly>}}}
! Notable wines
+
 
{{!}} {{{notable_wines}}}
+
| label14 = Year of crossing
{{!}}-
+
| data14 = {{{crossing_year<includeonly>|</includeonly>}}}
}}
+
 
{{#if:{{{hazards<includeonly>|</includeonly>}}}|
+
| label15 = Year of selection
! Hazards
+
| data15 = {{{selection_year<includeonly>|</includeonly>}}}
{{!}} {{{hazards}}}
+
 
{{!}}-
+
| label16 = Year of protection
}}
+
| data16 = {{{protection_year<includeonly>|</includeonly>}}}
{{#if:{{{breeder<includeonly>|</includeonly>}}}|
+
 
! Breeder
+
| label17 = Formation of seeds
{{!}} {{{breeder}}}
+
| data17 = {{{seeds_formation<includeonly>|</includeonly>}}}
{{!}}-
+
 
}}
+
| label18 = Sex of flowers
{{#if:{{{institute<includeonly>|</includeonly>}}}|
+
| data18 = {{{flowers_sex<includeonly>|</includeonly>}}}
! Breeding institute
+
 
{{!}} {{{institute}}}
+
| label19 = [[Vitis International Variety Catalogue|VIVC]] number
{{!}}-
+
| data19 = {{#if:{{{vivc_number<includeonly>|</includeonly>}}}|{{VIVC|{{{vivc_number}}}}}|}}
}}
+
 
{{#if:{{{crossing_year<includeonly>|</includeonly>}}}|
+
| header20 = {{#if:{{{wine_general|{{{general|}}}}}}{{{wine_cool|{{{cool|}}}}}}{{{wine_medium|{{{medium|}}}}}}{{{wine_hot|{{{hot|}}}}}}{{{wine_age|{{{age|}}}}}}|Wine characteristics}}
! Year of crossing
+
 
{{!}} {{{crossing_year}}}
+
|label21  = General
{{!}}-
+
|data21    = {{{wine_general|{{{general|}}}}}}
}}
+
 
{{#if:{{{selection_year<includeonly>|</includeonly>}}}|
+
|label22  = Cool climate
! Year of selection
+
|data22  = {{{wine_cool|{{{cool|}}}}}}
{{!}} {{{selection_year}}}
+
 
{{!}}-
+
|label23  = Medium climate
}}
+
|data23  = {{{wine_medium|{{{medium|}}}}}}
{{#if:{{{protection_year<includeonly>|</includeonly>}}}|
+
 
! Year of protection
+
|label24  = Hot climate
{{!}} {{{protection_year}}}
+
|data24  = {{{wine_hot|{{{hot|}}}}}}
{{!}}-
+
 
}}
+
|label25  = With age
{{#if:{{{seeds_formation<includeonly>|</includeonly>}}}|
+
|data25  = {{{wine_age|{{{age|}}}}}}
! Formation of seeds
 
{{!}} {{{seeds_formation}}}
 
{{!}}-
 
}}
 
{{#if:{{{flowers_sex<includeonly>|</includeonly>}}}|
 
! Sex of flowers
 
{{!}} {{{flowers_sex}}}
 
{{!}}-
 
}}
 
|}<noinclude>
 
  
{{template sandbox notice}}
+
}}{{main other|[[Category:Articles with 'species' microformats]]
 +
}}<noinclude>
 +
{{documentation}}<!-- place category links on the /doc sub-page, not here -->
 
</noinclude>
 
</noinclude>

Revision as of 16:52, 6 February 2020

{{{name}}}
Grape (Vitis)
[[File:{{{image}}}|frameless]]
{{{caption}}}
Color of berry skin{{{color}}}
Species{{{species}}}
Also called{{{also_called}}}
Origin{{{origin}}}
Original pedigree{{{pedigree0}}}
Pedigree parent 1{{{pedigree1}}}
Pedigree parent 2{{{pedigree2}}}
Notable regions{{{regions}}}
Notable wines{{{notable_wines}}}
Ideal soil{{{soil}}}
Hazards{{{hazards}}}
Breeder{{{breeder}}}
Breeding institute{{{institute}}}
Year of crossing{{{crossing_year}}}
Year of selection{{{selection_year}}}
Year of protection{{{protection_year}}}
Formation of seeds{{{seeds_formation}}}
Sex of flowers{{{flowers_sex}}}
VIVC numberTemplate:VIVC
Template documentation[view] [edit] [history] [purge]

This template can be used to provide comparative, at-a-glance information on grape varieties. See (for example Cabernet Cubin) this link for template details.

Usage

Blank

{{Infobox grape variety
| name            = 
| image           = 
| caption         = 
| alt             = 
| color           = 
| color_alt       = 
| species         = 
| also_called     = 
| origin          = 
| pedigree0       = 
| pedigree1       = 
| pedigree2       = 
| regions         =
| notable_wines   =
| soil            = 
| hazards         = 
| breeder         = 
| institute       = 
| crossing_year   = 
| selection_year  = 
| protection_year = 
| seeds_formation = 
| flowers_sex     = 
| vivc_number     =
}}

With comments

{{Infobox grape variety
| name            = <!-- Name of grape variety                -->
| image           = <!-- Image of grape bunch                 -->
| caption         = <!-- Caption of image                     -->
| alt             = <!-- Alternative text describing the image -->
| color           = <!-- Color of berry skin (general type): 
                           Blanc(B, white), 
                           Rose(RS, pink), 
                           Rouge(RG, red), 
                           Gris (G, gray-red), 
                           Noir (N, black)                    -->
| color_alt       = <!-- Actual color of the berry            -->
| species         = <!-- Binomial name of species             -->
| also_called     = <!-- Other names for variety              -->
| origin          = <!-- Country/region of origin, ex:Germany -->
| pedigree0       = <!-- Original pedigree, ex: Blaufraenkisch & Dornfelder -->
| pedigree1       = <!-- Pedigree parent 1, ex: Blaufraenkisch-->
| pedigree2       = <!-- Pedigree parent 2, ex: Dornfelder    -->
| regions         =
| notable_wines   =
| soil            = 
| hazards         = <!-- Viticultural hazards                 -->
| breeder         = <!-- Breeder, by ex: Hill, Bernd          -->
| institute       = <!-- Breeding institute                   -->
| crossing_year   = <!-- Year of crossing, by ex: 1971        -->
| selection_year  = <!-- Year of selection                    -->
| protection_year = <!-- Year of protection                   -->
| seeds_formation = <!-- Formation of seeds, by ex: Complete  -->
| flowers_sex     = <!-- Sex of flowers, by ex: Hermaphrodite -->
| vivc_number     = <!-- The VIVC variety number; leave out to fetch from Wikidata -->
}}
{{Infobox grape variety
| name            = Acolon
| image           = Acolon.jpg
| caption         = Acolon grapes
| color           = Noir
| species         = Vitis vinifera; SUBSP. VINIFERA LINNÉ
| also_called     = <!-- Other names for variety              -->
| origin          = [[Germany]]
| pedigree0       = [[Blaufraenkisch]] & [[Dornfelder]]
| pedigree1       = [[Blaufraenkisch]]
| pedigree2       = [[Dornfelder]]
| regions         = [[Württemberg]], Germany
| notable_wines   =
| soil            = 
| hazards         = <!-- Viticultural hazards                 -->
| breeder         = Hill, Bernd
| institute       = Staatliche Lehr- und Versuchsanstalt für Wein- und Obstbau Referat Rebenzüchtung und Rebenveredlung
| crossing_year   = 1971
| selection_year  = <!-- Year of selection                    -->
| protection_year = <!-- Year of protection                   -->
| seeds_formation = Complete
| flowers_sex     = Hermaphrodite 
| vivc_number     = 17123
}}

Remarks

1. If several names (synonyms) of one grapevine cultivar are known, it is necessary to define a prime name:

  • as prime name the name of the cultivar in its (probable) country of origin is considered;
  • if the origin of the cultivar is uncertain the name under which the cultivar is the most widespread is chosen as prime name;
  • all further names are registered as synonyms.
Example: Pinot noir: synonyms are, for instance, Spätburgunder blau, Auvernat etc.

2. The prime name of a grapevine cultivar is always accompanied by the berry color, using:

  • Blanc (B) = white
  • Rose (RS) = pink
  • Rouge (RG) = red
  • Gris (G) = gray-red
  • Noir (N) = bluish-black
Example: Pinot noir N

3. If the berry color is described in the article by a color name not listed, such "Black" but not "Noir", specifying both the "color" (in this case, "Noir") and "color_alt" (in this case, "Black") will result in an appropriate colored title bar, but display the "color_alt" value in the infobox.

4. If a prime name is composed out of name of the cultivar plus descriptor, e. g. ripening time, berry color, they are arranged in the following order:

prime name - descriptor - berry color
Example: Pinot precoce noir N

5. The following rules are applied if the prime name of a cultivar consists of the breeders name or location and breeding number:

The breeders name or location has to be written in full form and is mentioned in the first place.
Example: Kober 5 BB N, Geilweilerhof 1- 23-13 B

6. The prime name is indicated without genera if the species is part of the prime name.

Example: Rupestris du Lot, not: V. rupestris du Lot

7. All language-specific symbols (accent, cedilla, tilde, dieresis) of prime names are omitted.

8. Prime names of cultivars given in Cyrillic letters are transliterated by using rules of Chemical Abstracts.

Example: Magaracha rannii N

9. Tetraploid cultivars are additionally marked (4N)

Example: Chasselas blanc B (4N)

10. If a cultivar is the descendant of different species it is registered as Interspecific crossing in the field Vitis species.

Example:
Seibel 1 N is a cross of Jaeger 70 x Cinsaut and therefore registered as Interspecific crossing in the field Vitis species

11. If left blank, the VIVC variety number at Wikidata will automatically be used, if available.

  • To use a different number, include the VIVC variety number as a field, using the online VIVC passport data search. This database also contains information useful for the other fields.
  • Update Wikidata as needed.

Wine grape varieties

  • wine_general: general wine characteristics for this grape
  • wine_cool: characteristics of wines made from this grape when grown in a cool climate
  • wine_medium: characteristics of wines made from this grape when grown in a medium climate
  • wine_hot: characteristics of wines made from this grape when grown in a hot climate
  • wine_age: characteristics of wines made from this grape with age

Microformats

Template:UF-species

External links

As reference, you can consult the Vitis International Variety Catalogue, where you can search the database:

Template Data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox grape variety

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

no description

Unknownoptional
Imageimage

no description

Unknownoptional