টেমপ্লেট:Infobox grape variety: সংশোধিত সংস্করণের মধ্যে পার্থক্য

বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
Maky (আলোচনা | অবদান)
adding support for "color_alt" so a different skin color can be listed, but built-in colors can still be used and dictate bar color
Plastikspork (আলোচনা | অবদান)
Infobox
১ নং লাইন:
{{Infobox
{| class="infobox biota" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em"
| bodyclass = biota
! colspan=2 class="variety" style="text-align: center; font-size: 125%; background-color: {{#switch:{{lc:{{{color|}}}}}
| aboveclass = variety
| abovestyle = font-size: 125%; background-color: {{#switch:{{lc:{{{color|}}}}}
| Rose | rose | rs |RS |pink = DeepPink
| Rouge | rouge | R |r |red = DarkRed
১২ ⟶ ১৪ নং লাইন:
| 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>}}}|
| subheaderstyle = font-weight:bold
! Color of berry skin
| subheader = <span class="vernacular">[[Grape]]</span> (''<span class="genus">Vitis</span>'')
{{!}} {{#if: {{{color_alt|}}} | {{{color_alt|}}} | {{{color}}} }}
 
{{!}}-
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{image_size|}}}|alt={{{alt|}}} }}
}}
| caption = {{#if:{{{speciescaption<includeonly>|</includeonly>}}}|
 
! Species
 
{{!}} class="binominal" {{!}} {{{species}}}
| label1 = Color of berry skin
}}
| data1 = {{#if: {{{color_alt|}}} | {{{color_alt}}} | {{{color<includeonly>|</includeonly>}}} }}
|-
 
{{#if:{{{also_called<includeonly>|</includeonly>}}}|
 
! Also called
| label2 = Species
{{!}} {{{also_called}}}
| class2 = binominal
{{!}}-
| data2 = {{{species<includeonly>|</includeonly>}}}
}}
 
{{#if:{{{origin<includeonly>|</includeonly>}}}|
| label3 = Also called
! Origin
| data3 = {{{also_called<includeonly>|</includeonly>}}}
{{!}} {{{origin}}}
 
{{!}}-
| label4 = Origin
}}
| data4 = {{#if:{{{pedigree0origin<includeonly>|</includeonly>}}}|
 
! Original pedigree
| label5 = Original pedigree
{{!}} {{{pedigree0}}}
| data5 = {{{pedigree0<includeonly>|</includeonly>}}}|
{{!}}-
 
}}
| label6 = Pedigree parent 1
{{#if:{{{pedigree1<includeonly>|</includeonly>}}}|
| data6 = {{{pedigree1<includeonly>|</includeonly>}}}
! Pedigree parent 1
 
{{!}} {{{pedigree1}}}
| label7 = Pedigree parent 2
{{!}}-
| data7 = {{{pedigree2<includeonly>|</includeonly>}}}
}}
 
{{#if:{{{pedigree2<includeonly>|</includeonly>}}}|
| label8 = [[list of wine-producing regions|Notable regions]]
! Pedigree parent 2
| data8 = {{{regions<includeonly>|</includeonly>}}}
{{!}} {{{pedigree2}}}
 
{{!}}-
| label9 = Notable wines
}}
| data9 = {{#if:{{{regionsnotable_wines<includeonly>|</includeonly>}}}|
 
! [[list of wine-producing regions|Notable regions]]
| label10 = Hazards
{{!}} {{{regions}}}
| data10 = {{{hazards<includeonly>|</includeonly>}}}
{{!}}-
 
}}
| label11 = Breeder
{{#if:{{{notable_wines<includeonly>|</includeonly>}}}|
| data11 = {{{breeder<includeonly>|</includeonly>}}}
! Notable wines
 
{{!}} {{{notable_wines}}}
| label12 = Breeding institute
{{!}}-
| data12 = {{{institute<includeonly>|</includeonly>}}}
}}
 
{{#if:{{{hazards<includeonly>|</includeonly>}}}|
| label13 = Year of crossing
! Hazards
| data13 = {{{crossing_year<includeonly>|</includeonly>}}}|
{{!}} {{{hazards}}}
 
{{!}}-
| label14 = Year of selection
}}
| data14 = {{#if:{{{breederselection_year<includeonly>|</includeonly>}}}|
 
! Breeder
| label15 = Year of protection
{{!}} {{{breeder}}}
| data15 = {{{protection_year<includeonly>|</includeonly>}}}|
{{!}}-
 
}}
| label16 = Formation of seeds
{{#if:{{{institute<includeonly>|</includeonly>}}}|
| data16 = {{{seeds_formation<includeonly>|</includeonly>}}}|
! Breeding institute
 
{{!}} {{{institute}}}
| label17 = Sex of flowers
{{!}}-
| data17 = {{{flowers_sex<includeonly>|</includeonly>}}}|
}}
 
{{#if:{{{crossing_year<includeonly>|</includeonly>}}}|
}}{{main other|[[Category:Articles with 'species' microformats]]
! Year of crossing
}}<noinclude>
{{!}} {{{crossing_year}}}
{{documentation}}<!-- place category links on the /doc sub-page, not here -->
{{!}}-
</noinclude>
}}
{{#if:{{{selection_year<includeonly>|</includeonly>}}}|
! Year of selection
{{!}} {{{selection_year}}}
{{!}}-
}}
{{#if:{{{protection_year<includeonly>|</includeonly>}}}|
! Year of protection
{{!}} {{{protection_year}}}
{{!}}-
}}
{{#if:{{{seeds_formation<includeonly>|</includeonly>}}}|
! Formation of seeds
{{!}} {{{seeds_formation}}}
{{!}}-
}}
{{#if:{{{flowers_sex<includeonly>|</includeonly>}}}|
! Sex of flowers
{{!}} {{{flowers_sex}}}
{{!}}-
}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with 'species' microformats]]}}</includeonly><noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>