Template:Infobox beverage: Difference between revisions

From New Prairie Wiki
Jump to navigation Jump to search
No edit summary
Redirected page to Template:Infobox drink
Tag: New redirect
 
Line 1: Line 1:
{{infobox
#REDIRECT [[Template:Infobox drink]]
| bodyclass = hrecipe hproduct
| title  = {{{title|<includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>}}}
| titleclass= fn ingredient
| image1  = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|alt={{{logo_alt|}}}|sizedefault=frameless}}
| caption1= {{{logo_caption|}}}
| image2  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}|sizedefault=frameless}}
| caption2= {{{caption|}}}
| label1  = Type
| data1  = {{{type|}}}
| class1  = category
| label2  = Manufacturer
| data2  = {{{manufacturer|{{{brewery|}}}}}}
| class2  = brand
| label3  = Distributor
| data3  = {{{distributor|}}}
| label4  = {{nowrap|{{{origin_label|Country of origin}}}&nbsp;}}
| data4  = {{{origin|}}}
| label5  = Region of origin
| data5  = {{{region|}}}
| label6  = Introduced
| data6  = {{{introduced|{{{year|}}} }}}
| label7  = Discontinued
| data7  = {{{discontinued|{{{last_year|}}} }}}
| label8  = {{nowrap|[[Alcohol by volume]]&nbsp;}}
| data8  = {{{abv|}}}
| label9  = [[Alcohol proof|Proof (US)]]
| data9  = {{{proof|}}}
| label10 = {{#if:{{{color|}}}|Color|Colour}}
| data10  = {{{colour|{{{color|}}}}}} <!-- use only one of "colour" or "color" depending on US/UK article, not both! -->
| label11 = {{#if:{{{flavor|}}}|Flavor|Flavour}}
| data11  = {{{flavour|{{{flavor|}}}}}} <!-- use only one of "flavour" or "flavor" depending on US/UK article, not both! -->
| label12 = Style
| data12  = {{{style|}}}
| label13 = [[Gravity (alcoholic beverage)|Original gravity]]
| data13  = {{{og|}}}
| label14 = [[Gravity (alcoholic beverage)|Final gravity]]
| data14  = {{{fg|}}}
| label15 = [[International Bitterness Units scale|IBU scale]]
| data15  = {{{ibu|}}}
| label16 = Ingredients
| data16  = {{{ingredients|}}}
| label17 = Variants
| data17  = {{{variants|}}}
| label18 = Related products
| data18  = {{{related|}}}
| label19 = Website
| data19  = {{#if:{{{homepage|{{{website|}}}}}}
            | {{#ifeq:{{{homepage|{{{website|}}}}}} | hide | | {{{homepage|{{{website|}}}}}} }}
            | {{#if:{{wikidata|property|raw|P856}}
              | {{#invoke:WikidataIB |url2 |url={{if empty
                |{{#invoke:WikidataIB|getValueByLang|P856|fwd=ALL|osd=no|maxvals=1}}
                |{{Wdib|P856|fwd=ALL|osd=no|maxvals=1}}
                }} }}
              }}
            }}
| data20 = {{{module|}}}
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with hRecipes]][[Category:Articles with hProducts]]}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox drink with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox drink]] with unknown parameter "_VALUE_"|ignoreblank=y| abv | brewery | caption | color | colour | discontinued | distributor | fg | flavor | flavour | homepage | ibu | image | image_alt | image_size | ingredients | introduced | last_year | logo | logo_alt | logo_caption | logo_size | manufacturer | name | og | origin | origin_label | proof | region | related | style | title | type | variants | website | year | module}}<noinclude>
{{documentation}}
</noinclude>

Latest revision as of 16:41, 30 July 2025