Difference between revisions of "Template:Varietal"

From Grapevine
Jump to: navigation, search
m (Wine color tweak)
m (Added edge transparency to color)
 
Line 31: Line 31:
 
| '''Characteristics:''' || {{#arraymap:{{{Characteristics|}}}|,|x|[[x]]}}
 
| '''Characteristics:''' || {{#arraymap:{{{Characteristics|}}}|,|x|[[x]]}}
 
|-
 
|-
| '''Wine Color:''' || <span style="display: inline-block; height: 50px; width: 50px; border-radius: 50%; background-image: radial-gradient(circle, {{{Wine Color Dark|}}}, {{{Wine Color Light|}}});"></span>
+
| '''Wine Color:''' || <span style="display: inline-block; height: 50px; width: 50px; border-radius: 50%; background-image: radial-gradient(circle, {{{Wine Color Dark|}}}, {{{Wine Color Light|}}}, transparent);"></span>
 
|}
 
|}
  
 
[[Category:Varietals]]
 
[[Category:Varietals]]
 
</includeonly>
 
</includeonly>

Latest revision as of 00:40, 8 May 2019

This is the "Varietal" template. It should be called in the following format:

{{Varietal
|Image=
|Type=
|Notable Regions=
|Also Called=
|Characteristics=
|Wine Color Dark=
|Wine Color Light=
}}

Edit the page to see the template text. This template defines the table "Varietals". View table.