Infobox Cider
JonTillman (talk | contribs) m (trying to track down weird formatting) |
JonTillman (talk | contribs) m (added doc) |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
<title source="cider_name"> | <title source="cider_name"> | ||
</title> | </title> | ||
<image source="cider_label"> | <image source="cider_label" name="cider-label"> | ||
<default>Sidra Natural Riestra label.png</default> | |||
<alt source="cider_label-alt"> | <alt source="cider_label-alt"> | ||
<default>{{PAGENAME}}-label</default> | <default>{{PAGENAME}}-label</default> | ||
| Line 13: | Line 13: | ||
<format>[[ {{{cider_llagar}}} ]]</format> | <format>[[ {{{cider_llagar}}} ]]</format> | ||
</data> | </data> | ||
<data source="cider_type"> | |||
<label>Type:</label> | |||
<default>Sidra Natural</default> | |||
<format>[[{{{cider_type}}}]]</format> | |||
</data> | |||
<data source="cider_dop"> | |||
<label>[[DOP Sidra d’Asturies|DOP]]:</label> | |||
<default>No</default> | |||
<format>{{{cider_dop}}}</format> | |||
</data> | |||
<data source="cider_format"> | <data source="cider_format"> | ||
<label>Format:</label> | <label>Format:</label> | ||
| Line 77: | Line 87: | ||
</group> | </group> | ||
</infobox> | </infobox> | ||
[[Category:{{{cider_llagar}}}]] | [[Category:{{{cider_llagar}}}]][[Category:{{{cider_type}}}]]{{#vardefine:color|{{{cider_color}}}}}{{#vardefine:SRM|{{{cider_srm}}}}}{{#vardefine:sensation|{{{cider_sensation}}}}}{{#vardefine:pegue|{{{cider_pegue}}}}}{{#vardefine:clarity|{{{cider_clarity}}}}}{{#vardefine:espalme|{{{cider_espalme}}}}}{{#vardefine:body|{{{cider_body}}}}}{{#vardefine:finish|{{{cider_finish}}}}}{{#vardefine:balance|{{{cider_balance}}}}}{{#vardefine:alcohol|{{{cider_alcohol}}}}}{{#vardefine:apple|{{{cider_apple}}}}}{{#vardefine:acetic|{{{cider_acetic}}}}}{{#vardefine:astringent|{{{cider_astringent}}}}} | ||
{{# | <noinclude> | ||
This is an infobox template for displaying information about a cider profiled on the Eating Asturias website. It (optionally) sets page variables for use in [[Template:Cider Evaluation]]. | |||
==Usage== | |||
<syntaxhighlight lang="html+handlebars"> | |||
{{Infobox Cider | |||
| cider_name = | |||
| cider_label = | |||
| cider_label-alt = | |||
| cider_llagar = | |||
| cider_type = | |||
| cider_dop = | |||
| cider_format = | |||
| cider_abv = | |||
| cider_rating_style = | |||
| cider_rating_excitement = | |||
| cider_rating_freshness = | |||
| cider_rating_sweetness = | |||
| cider_rating_intensity = | |||
| cider_images = <gallery> | |||
bottle.jpg | Bottle | |||
glass.jpg | Glass | |||
cork.jpg | Cork | |||
</gallery> | |||
| cider_untappd = https://untappd.com/b/cerveza-d-equi-no-zumio/4807195 | |||
| cider_ratebeer = https://www.ratebeer.com/beer/d-equi-no-zumio/1012353/ | |||
| cider_color = | |||
| cider_srm = | |||
| cider_clarity = | |||
| cider_espalme = | |||
| cider_pegue = | |||
| cider_body = | |||
| cider_sensation = | |||
| cider_finish = | |||
| cider_balance = | |||
| cider_alcohol = | |||
| cider_apple = | |||
| cider_acetic = | |||
| cider_astringent = | |||
}} | }} | ||
{{ | </syntaxhighlight> | ||
{{ | |||
{{ | {{Cider Evaluation/doc}} | ||
{{ | |||
{ | <templatedata> | ||
{ | { | ||
{ | "params": { | ||
{ | "cider_llagar": { | ||
{ | "aliases": [ | ||
"llagar" | |||
], | |||
"label": "Llagar", | |||
"description": "The llagar that makes this cider. Both a category and a page should exist with matching names before creating ciders.", | |||
"example": "Riestra", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"cider_abv": { | |||
"aliases": [ | |||
"ABV" | |||
], | |||
"label": "ABV", | |||
"description": "The alcohol by volume content of the cider.", | |||
"example": "6", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"cider_rating_style": { | |||
"aliases": [ | |||
"style" | |||
], | |||
"label": "Style Rating", | |||
"description": "How closely does this cider adhere to the style standard? Rate on a scale of 1 to 5.", | |||
"example": "3", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"default": "3", | |||
"required": true | |||
}, | |||
"cider_rating_excitement": { | |||
"aliases": [ | |||
"excitement" | |||
], | |||
"label": "Excitement Rating", | |||
"description": "How much fun is it to drink this cider? Rate on a scale of 1 to 5.", | |||
"example": "3", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"default": "3", | |||
"required": true | |||
}, | |||
"cider_rating_freshness": { | |||
"aliases": [ | |||
"freshness" | |||
], | |||
"label": "Freshness Rating", | |||
"description": "How fresh is this cider? Rate on a scale of 1 to 5.", | |||
"example": "3", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"default": "3", | |||
"required": true | |||
}, | |||
"cider_rating_sweetness": { | |||
"aliases": [ | |||
"sweetness" | |||
], | |||
"label": "Sweetness Rating", | |||
"description": "How sweet is this cider? Rate on a scale of 1 to 5.", | |||
"example": "3", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"default": "3", | |||
"required": true | |||
}, | |||
"cider_rating_intensity": { | |||
"aliases": [ | |||
"intensity" | |||
], | |||
"label": "Intensity Rating", | |||
"description": "How intense is this cider? Rate between 1 and 5.", | |||
"example": "3", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"default": "3", | |||
"required": true | |||
}, | |||
"cider_untappd": { | |||
"aliases": [ | |||
"untappd" | |||
], | |||
"label": "Untappd Link", | |||
"description": "A fully formed URL for the entry for this cider on unTappd", | |||
"example": "https://untappd.com/b/riestra-sidra-natural/396875", | |||
"type": "url", | |||
"suggested": true | |||
}, | |||
"cider_ratebeer": { | |||
"aliases": [ | |||
"ratebeer" | |||
], | |||
"label": "Ratebeer Link", | |||
"description": "A fully formed URL to the entry for this cider on RateBeer", | |||
"example": "https://www.ratebeer.com/beer/riestra-sidra-natural/115521/", | |||
"type": "url", | |||
"suggested": true | |||
}, | |||
"cider_name": { | |||
"aliases": [ | |||
"name" | |||
], | |||
"label": "Name", | |||
"description": "The name of the cider. Should match the PAGENAME exactly.", | |||
"example": "Sidra Natural Riestra", | |||
"type": "string", | |||
"default": "{{PAGENAME}}", | |||
"autovalue": "{{PAGENAME}}", | |||
"required": true | |||
}, | |||
"cider_label": { | |||
"aliases": [ | |||
"label" | |||
], | |||
"label": "Label", | |||
"description": "An image of the label of the cider", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"cider_label_alt": { | |||
"label": "Label alt text", | |||
"description": "HTML alt text for the label image", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"cider_clarity": { | |||
"aliases": [ | |||
"clarity" | |||
], | |||
"label": "Clarity", | |||
"description": "4 Brilliant\n3 Bright\n2 Hazy\n1 Cloudy", | |||
"example": "2", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4" | |||
], | |||
"required": true | |||
}, | |||
"cider_format": { | |||
"aliases": [ | |||
"format" | |||
], | |||
"label": "Format", | |||
"description": "The format the cider is sold in.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"70 cl Bottle" | |||
], | |||
"default": "70 cl Bottle", | |||
"required": true | |||
}, | |||
"cider_images": { | |||
"aliases": [ | |||
"images" | |||
], | |||
"label": "Images", | |||
"description": "At least two images of the cider: One of the unopened bottle and one of the cider in a glass. An additional image of a cork is suggested.", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"cider_color": { | |||
"label": "Color", | |||
"description": "The visual word value that best describes the color of the cider.", | |||
"example": "Very Light", | |||
"suggestedvalues": [ | |||
"Very Light", | |||
"Pale Straw", | |||
"Straw", | |||
"Pale Yellow", | |||
"Yellow", | |||
"Pale Gold", | |||
"Gold" | |||
], | |||
"required": true, | |||
"type": "string" | |||
}, | |||
"cider_espalme": { | |||
"aliases": [ | |||
"espalme" | |||
], | |||
"label": "Espalme/Carbonation", | |||
"description": "After the cider is poured into the glass, look to the action of the carbonation", | |||
"example": "1 - Plasmáu: no detectable carbon dioxide", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"required": true | |||
}, | |||
"cider_pegue": { | |||
"aliases": [ | |||
"pegue" | |||
], | |||
"label": "Pegue", | |||
"description": "Often referred to in American cider tasting as “tears” or “legs” in wine tasting. Here we are looking for a thin film that adheres to the glass after it is drunk. ", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"cider_body": { | |||
"aliases": [ | |||
"body" | |||
], | |||
"label": "Body", | |||
"description": "This is a much-discussed aspect of sidra natural in Asturias, and forms an integral part of this cider evaluation standard. The body balance necessary to be both a satisfying drink and to “behave well in the glass” is a delicate balancing act. ", | |||
"example": "Light", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Light", | |||
"Medium", | |||
"Full" | |||
], | |||
"default": "Medium", | |||
"required": true | |||
}, | |||
"cider_sensation": { | |||
"aliases": [ | |||
"mouthfeel" | |||
], | |||
"label": "Mouth Feel", | |||
"description": "It refers to textures that touch the tongue, roof of the mouth, teeth, throat, and to some extent, the aftertaste sensations. ", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"cider_finish": { | |||
"aliases": [ | |||
"finish" | |||
], | |||
"label": "Finish", | |||
"description": "How long does the cider aftertaste linger in your mouth?", | |||
"example": "Short (0-15 seconds)", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Short (0-15 seconds)", | |||
"Medium (15-30 seconds)", | |||
"Long (over 30 seconds)" | |||
], | |||
"required": true | |||
}, | |||
"cider_balance": { | |||
"aliases": [ | |||
"balance" | |||
], | |||
"label": "Balance", | |||
"description": "Describe the overall balance and form of the cider. Rate from 1 to 5.", | |||
"example": "3", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"default": "3", | |||
"required": true | |||
}, | |||
"cider_alcohol": { | |||
"aliases": [ | |||
"alcohol" | |||
], | |||
"label": "Alcohol", | |||
"description": " How noticeable is the alcohol in the cider? How alcohol-forward is it? IS it boozy?", | |||
"example": "3", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"required": true | |||
}, | |||
"cider_apple": { | |||
"aliases": [ | |||
"apple" | |||
], | |||
"label": "Apple Flavors", | |||
"description": " What kind of apple flavors are in the cider, from excessively green (verdin) to overripe", | |||
"example": "3", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"required": true | |||
}, | |||
"cider_acidic": { | |||
"aliases": [ | |||
"acetic", | |||
"cider_acetic" | |||
], | |||
"label": "Acetic Flavors", | |||
"description": " How acetic is the cider?", | |||
"example": "1", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"required": true | |||
}, | |||
"cider_astringent": { | |||
"aliases": [ | |||
"tannic" | |||
], | |||
"label": "Astringency", | |||
"description": "How sweet or dry is the cider?", | |||
"example": "3", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5" | |||
], | |||
"required": true | |||
}, | |||
"cider_srm": { | |||
"aliases": [ | |||
"srm" | |||
], | |||
"label": "SRM", | |||
"description": "A number from 1 to 50 denoting the color class of the cider.", | |||
"example": "4", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5", | |||
"6", | |||
"7" | |||
], | |||
"default": "3", | |||
"required": true | |||
}, | |||
"cider_type": { | |||
"label": "Type", | |||
"description": "What type of Asturian cider is this?", | |||
"example": "Sidra Natural", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Sidra Natural", | |||
"Sidra Espumosa" | |||
], | |||
"default": "Sidra Natural", | |||
"required": true | |||
}, | |||
"cider_dop": { | |||
"aliases": [ | |||
"dop" | |||
], | |||
"label": "DOP", | |||
"description": "Is this cider regulated by the DOP?", | |||
"example": "Yes", | |||
"type": "boolean", | |||
"default": "No", | |||
"required": true | |||
} | |||
}, | |||
"description": "This is a template to display a sidebar with basic information on a sidra natural. It contains additional variables to be used in [[Template:Cider Evaluation]]", | |||
"paramOrder": [ | |||
"cider_name", | |||
"cider_label", | |||
"cider_label_alt", | |||
"cider_llagar", | |||
"cider_type", | |||
"cider_dop", | |||
"cider_format", | |||
"cider_abv", | |||
"cider_rating_style", | |||
"cider_rating_excitement", | |||
"cider_rating_freshness", | |||
"cider_rating_sweetness", | |||
"cider_rating_intensity", | |||
"cider_images", | |||
"cider_untappd", | |||
"cider_ratebeer", | |||
"cider_color", | |||
"cider_srm", | |||
"cider_clarity", | |||
"cider_espalme", | |||
"cider_pegue", | |||
"cider_body", | |||
"cider_sensation", | |||
"cider_finish", | |||
"cider_balance", | |||
"cider_alcohol", | |||
"cider_apple", | |||
"cider_acidic", | |||
"cider_astringent" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata></noinclude> | |||
Latest revision as of 13:46, 17 June 2023
[[Category:{{{cider_llagar}}}]][[Category:{{{cider_type}}}]]
This is an infobox template for displaying information about a cider profiled on the Eating Asturias website. It (optionally) sets page variables for use in Template:Cider Evaluation.
Usage
Template:Cider Evaluation requires that certain variables be set (either via Template:Infobox Cider or manually in your page) before it will work.
Variable Mapping
This is a guide to the string variables used in the template and how they map to the number variables provided by Template:Infobox Cider:
Appearance Variables
These variables control the first section of the inclusion template
Color
This is provided as a raw string. No mapping takes place.
SRM
This is provided as a raw string. No mapping takes place.
Clarity
| Numeral | String |
|---|---|
| 1 | Cloudy |
| 2 | Hazy |
| 3 | Bright |
| 4 | Brilliant |
Espalme
| Numeral | String |
|---|---|
| 1 | Plasmáu: no detectable carbon dioxide |
| 2 | Desvanecíu: very little carbon dioxide, dissipating too quickly |
| 3 | Panizal: lively carbon dioxide, well balanced |
| 4 | Volador: highly carbonated; but not to the point of flying corks |
| 5 | Axiblatau: an excess of carbon dioxide, over carbonated |
Pegue
This is provided as a raw string. No mapping takes place.
Mouthfeel Variables
Body
| Numeral | String |
|---|---|
| 1 | Light |
| 2 | Medium |
| 3 | Full |
Sensation
This is provided as a raw string. No mapping takes place.
Finish
| Numeral | String |
|---|---|
| 1 | Short (0-15 Seconds) |
| 2 | Medium (15-30 Seconds) |
| 3 | Long (30+ Seconds) |
Balance
| Numeral | String |
|---|---|
| 1 | Floxu: insipid |
| 2 | Tiernu: low alcohol and flat, from not being fermented long enough. "too young" |
| 3 | Finu: a cider that is "clean", "clear", and "balanced" - The ideal cider flavor profile |
| 4 | Fechu: A full bodied cider with high alcohol content and a strong flavor |
| 5 | Mui Fechu: overly strong and becoming vinegary. "gone off" |
Flavor & Aroma Variables
Alcohol
| Numeral | String |
|---|---|
| 1 | non-alcoholic or none detected |
| 2 | Blandu: Faintly alcoholic |
| 3 | Alma: Balanced alcohol |
| 4 | Strong alcohol taste and aroma |
| 5 | Encabazáu: "fortified" Has additional alcohol added to cover defects |
Apple
| Numeral | String |
|---|---|
| 1 | Verdín: excessive flavors of unripe apples |
| 2 | Apple forward |
| 3 | Balanced apple flavors |
| 4 | Sweet apples (table apples) |
| 5 | Overly ripe / wine like apple flavor |
Acetic
| Numeral | String |
|---|---|
| 1 | Fema: low or undetectable amounts of acetic acid |
| 2 | Pleasant balanced acetic qualities |
| 3 | Machu: A very full bodied cider with much more acetic notes and very little sweetness. |
| 4 | Pa la fábrica: noticeably off, and best for making vinegar |
| 5 | Resquemor: this is already vinegar. Attacks the tongue |
Astringent
| Numeral | String |
|---|---|
| 1 | de Restallu: Strong, astringent, mouth-puckering cider. |
| 2 | Agrín: Strong, dry, cider. |
| 3 | Secante: refreshingly dry and stimulating to the palate. |
| 4 | Fema: more sweet than tart, with little acidity or astringency, without any strong notes. |
| 5 | Dulcín: unwanted levels of sweetness due to incomplete fermentation. |
This is a template to display a sidebar with basic information on a sidra natural. It contains additional variables to be used in [[Template:Cider Evaluation]]
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | cider_name name | The name of the cider. Should match the PAGENAME exactly.
| String | required |
| Label | cider_label label | An image of the label of the cider | File | required |
| Label alt text | cider_label_alt | HTML alt text for the label image | String | required |
| Llagar | cider_llagar llagar | The llagar that makes this cider. Both a category and a page should exist with matching names before creating ciders.
| Page name | required |
| Type | cider_type | What type of Asturian cider is this?
| String | required |
| DOP | cider_dop dop | Is this cider regulated by the DOP?
| Boolean | required |
| Format | cider_format format | The format the cider is sold in.
| String | required |
| ABV | cider_abv ABV | The alcohol by volume content of the cider.
| Number | suggested |
| Style Rating | cider_rating_style style | How closely does this cider adhere to the style standard? Rate on a scale of 1 to 5.
| Number | required |
| Excitement Rating | cider_rating_excitement excitement | How much fun is it to drink this cider? Rate on a scale of 1 to 5.
| Number | required |
| Freshness Rating | cider_rating_freshness freshness | How fresh is this cider? Rate on a scale of 1 to 5.
| Number | required |
| Sweetness Rating | cider_rating_sweetness sweetness | How sweet is this cider? Rate on a scale of 1 to 5.
| Number | required |
| Intensity Rating | cider_rating_intensity intensity | How intense is this cider? Rate between 1 and 5.
| Number | required |
| Images | cider_images images | At least two images of the cider: One of the unopened bottle and one of the cider in a glass. An additional image of a cork is suggested. | File | suggested |
| Untappd Link | cider_untappd untappd | A fully formed URL for the entry for this cider on unTappd
| URL | suggested |
| Ratebeer Link | cider_ratebeer ratebeer | A fully formed URL to the entry for this cider on RateBeer
| URL | suggested |
| Color | cider_color | The visual word value that best describes the color of the cider.
| String | required |
| SRM | cider_srm srm | A number from 1 to 50 denoting the color class of the cider.
| Number | required |
| Clarity | cider_clarity clarity | 4 Brilliant 3 Bright 2 Hazy 1 Cloudy
| Number | required |
| Espalme/Carbonation | cider_espalme espalme | After the cider is poured into the glass, look to the action of the carbonation
| Number | required |
| Pegue | cider_pegue pegue | Often referred to in American cider tasting as “tears” or “legs” in wine tasting. Here we are looking for a thin film that adheres to the glass after it is drunk. | String | required |
| Body | cider_body body | This is a much-discussed aspect of sidra natural in Asturias, and forms an integral part of this cider evaluation standard. The body balance necessary to be both a satisfying drink and to “behave well in the glass” is a delicate balancing act.
| String | required |
| Mouth Feel | cider_sensation mouthfeel | It refers to textures that touch the tongue, roof of the mouth, teeth, throat, and to some extent, the aftertaste sensations. | String | required |
| Finish | cider_finish finish | How long does the cider aftertaste linger in your mouth?
| String | required |
| Balance | cider_balance balance | Describe the overall balance and form of the cider. Rate from 1 to 5.
| Number | required |
| Alcohol | cider_alcohol alcohol | How noticeable is the alcohol in the cider? How alcohol-forward is it? IS it boozy?
| Number | required |
| Apple Flavors | cider_apple apple | What kind of apple flavors are in the cider, from excessively green (verdin) to overripe
| Number | required |
| Acetic Flavors | cider_acidic acetic cider_acetic | How acetic is the cider?
| Number | required |
| Astringency | cider_astringent tannic | How sweet or dry is the cider?
| Number | required |