Template talk:Infobox cocktail

Initial proposal
I feel it would be extremely helpful if all the mixed drinks, particularly cocktails, featured in this WikiProject could have a standardised introduction featuring basic information such as, in no particular order:
 * Name
 * Primary source of alcohol (where appropriate)
 * Brief list of ingredients and quantities (see this page for a discussion of the format of said quantities)
 * Prefered glassware
 * A picture
 * Whether or not it's an IBA Official Cocktail, perhaps through the inclusion of an IBA logo (with link to IBA)

The most convenient method of arranging this information in a standard way would appear to be in a template. Assuming that others agree that a template would be necessary and/or helpful, the purpose of this page is to create such a template.

Happy-melon 13:29, 13 January 2007 (UTC)

Modified proposal
As Happy-melon guessed, something like this has been on my mental to-do list and the Project's to-do list for quite a while. Not quite the way Happy envisioned, but close. The reason for the difference is to better match Wikipedia's established standards for presenting this type of information. Basically, we need to implement this template as a standard Infobox. Standard does not mean boring or non-customized. It just means that it fits within the standards the rest of Wikipedia as agreed to.

If you aren't familiar with the term infobox, you are probably familiar with the results. Much like the navigation box in the upper right corner of this page, an infobox is a table that displays information about a specific topic in a standardized format. This allows people browsing through the Wikipedia to quickly identify common pages, find useful information, and present facts (like the standard recipe) without necessarily having to write in entirely encyclopedic fashion (one of the biggest challenges we face in dealing with drink recipes and the WP:NOTE guideline that says not to include recipes).

The infobox is fairly simple to implement and looks good, too. It gives a standard look and feel to articles within our Project's scope, and it improves our visibility in a positive way in mainspace. (We can't really mention the WikiProject, but it's obvious that the Project is behind the template and thus the article.)

-- Willscrlt ( Talk|Cntrb ) 02:13, 14 January 2007 (UTC)

First thoughts
Before we consider the cosmetic appearance of the template, we must decide on what information it will contain, as these will have to be included as parameters in the template code. This will be slightly awkward as the number of ingredients varies from drink to drink. I'm not sure how best to work round this: probably the best thing is to place the 'compulsory' parameters (like name, glassware, primary spirit etc) first, and then an unlimited (or large) number of optional parameters at the end for the ingredients. I'm not fantastically well versed with template code so I'm not 100% sure how that'll work, but IIRC it should. Regardless, choice of the information fields which need to be included is by far the most pressing concern. Comments and Suggestions please. Happy-melon 13:29, 13 January 2007 (UTC)
 * Fortunately there are well over 100 of infobox templates (see for examples) from which we can borrow ideas for this. I am more than happy to make the template, but honestly, I'd rather see someone (like Happy-melon) take a stab at it first, and then I can help with any cleanup or removal of quirky things that might come up.
 * Create the template at Template:WPMIXInfobox and any documentation at Template:WPMIXInfobox/doc, and I will help merge the two together. Don't worry about the or tags at first, because that can get a little tricky. Just work on the structure and appearance.
 * I would suggest the following order for sections:
 * First colored section (pale yellow background to contrast standard monobook theme color)
 * Standard IBA name (if there is one) or the most commonly accepted name of the drink (which hopefully matches the article title)
 * A category of IBA Official Cocktail, cocktail, shooter, beer mix, wine mix, fortified wine, non-alcoholic mixed drink, mixed drink (for eggnog and other drinks that tend to be served both ways about equally) - with the category linked to the main "List of..." article for that section (for easy navigation around the articles).
 * A photograph that represents the standard appearance of the drink in its most traditional form. It should be served in the standard drinkware.
 * Second colored section (pale tan background to slightly set-off this section from the other two)
 * Primary alcohol(s) that make up the majority of the drink (this section is omitted in non-alc)
 * A very brief how-to: shaken with ice and strained, on-the-rocks, etc.
 * Standard drinkware used. I would like to see a small template to be created for each type of drinkware that includes a tiny photo, standard volume of the vessel, and the name. That would be a separate set of proposals.
 * Standard cocktail garnishes used with this drink.
 * Yes, place the standards before the actual recipe so that people can see that information in a glance before reading the recipe, even if it is a little redundant. A slight change in color between the sections might help distinguish the parts of the infobox.
 * Third colored section (return to the pale yellow background)
 * The standard ingredients and measurements. If an IBA Official Cocktail recipe exists, then that is always the one used here. This information will be removed from the articles themselves once the infobox is implemented in the article.
 * Concise preparation instructions that describes the order and any caveats. Again, use the IBA instructions if they are available rather than writing our own.
 * Possibly a link to one or two standard drink sites (like drinkboy.com) that to which we can all agree is a good site to send visitors. The film and TV projects do this to IMDB for example. It could seriously cut down on External Link cruft by doing that, but it could also be a bit controversial without clear consensus.
 * The color scheme is entirely optional. I just like seeing something that contrasts a bit so it shows up well, is easy to read, looks good behind most photos, and helps divide the sections subtly without looking like we are trying to divide them.
 * One concern is that the infobox has to remain fairly short vertically. If the infobox is longer than the article, the article will look like a stub, even if there is good information in it. By moving recipe information to the infobox, some of the articles will be reduced in size by up to a half. That indicates the article is weak, and it could result in a fresh round of AFD nominations for articles on which we are working to improve. Just something to be careful of, without really worrying about it too much. -- Willscrlt ( Talk | Cntrb ) 02:42, 14 January 2007 (UTC)
 * I've made a start, copying the code for the generic infobox and hacking it down to size, but it's very heavy going for me and I'm a little short of time at the moment. To be honest, template coding is not my cup of tea.  If somene can knock it at least into enough shape that we know the names of the parameters, they can continue tidying it up while I start the easy (if boring) job of adding it to each cocktail.  That's the sort of thing I can do: one at a time in my free time.  So if we can just get it sufficiently coded to know what parameters can be used, I'll get to work on the implementation, but I'm not sure how much more use I can be on the coding itself.
 * Hey, I appreciate you giving it a shot (shooter?) :-) I hopefully will have enough time to work on it tonight. I'm anxious to also work on the Project Header, which would be a great companion template for you to add as you work through the articles tagging them with the infobox. Naturally, I will help with that task, too. We have a month and a half left in the Cleanup Project, and there are still some AFD-nominated and cocktail-micro-talk articles that need cleanup and rewriting before they get deleted by frustrated individuals. I don't want to take too long on templates, but I think they are important to get roughly right to start with. I'm very thankful for your help Happy-melon. :-) -- Willscrlt ( Talk | Cntrb ) 05:45, 15 January 2007 (UTC)

Demonstration and feeback
Alright. I have just created one of the most sophisticated Infoboxes I have seen in any of the other WikiProjects. I'm sure there are some Infoboxes that were more complex to program, but this has got to be fairly high up there. I definitely owe a big debt of thanks to the developers at The Beatles WikiProject for giving me lots of ideas and some sample code to tweak. This should also help get the Project Header template rolling again. :-)

Please look at the examples I have setup. These are close to the actual infobox I would place on the Whiskey Sour article. Naturally, I would not include "flaming" or the silly notes at the bottom, but it should give you a pretty good feel for what the infobox can do.

One of the really, really neat things (IMO) is that you simply list the type of alcohol (whiskey=yes or cognac=yes), and it figures out all the links for you (is it Cognac, Cognac (drink), or something else?). PLUS it also picks the correct category for the drink. That's right, no need to worry about adding categories manually now (in fact, it's probably better not to) as long as you have identified the correct type of primary alcohol.

These are the attributes (the tags) you can select from for the primary alcohol: beer, brandy, cognac, gin, rum, sake, tequila, vodka, bourbon, canadian (Canadian whisky), irishw (Irish whiskey), scotch, tennessee, whiskey, whisky, champagne, port, sparkling, wine, absinthe, amaretto, cacao (Creme de cacao), cachaça, campari, cider, curaçao, everclear, irishc (Irish Creme), jäger, menthe (Creme de menthe), moonshine, pastis, pisco, pucker, sambuca, schnapps, other. If I left anything out, please let me know.

And what about those oddball alcohols that didn't make the list? You can use the "other" type (other= Example ), and it will link to it and place the drink in the "Less common spirits" category. Or, you could just refer to the article text (other=See the article for details), if it explains it there.

The only glitch I see at the moment is if there are multiple types of alcohol. In that case, both are listed, but there is no space between them, and the words run together. I'm sure it's something I can fix. At any rate, except for a few drinks like a Long Island Iced Tea, most drinks are only going to have one (maybe two) 'primary alcohols by volume. We should restrain ourselves and only list one, unless the top alcohols are equal in volume.

The IBA designation is also fairly automatic, adding the designation at the top, and changing some of the colors to a gold tone. The "ingredients" also change to indicate that it is an official list, not just the standard way of making it.

I split flaming beverages out as a separate attribute, because you can have flaming cocktails and flaming shooters (and probably flaming other things, too). This way you can double-tag the drink at once.

The infobox is also flexible enough that you can leave out all the alcohol-related stuff and use it on garnish and drinkware pages, too. Just use the notes attribute is you need to explain anything. I do plan to eventually make a more specific one for drinkware, but for now, this is a good start in that direction.

I know the font size is a little small. If it's too small, tell me and I can tweak it. There's just a lot of information that I am trying to get across in limited space. As I feared, by moving that information to an infobox, the Whiskey Sour article will be pretty much gutted. I'm not sure to do about that, because it really will look stubbish and might be deleted because it is assumed that there is no information in the article. There are other drinks that might end up in even worse shape.

I guess that's the risk we have to take. It will really help us to assess the quality of our articles. If we look and see a lot of wide open space on the page aside from the infobox, we know we have an article that needs a lot of work.

I still have to write the full documentation and quash any bugs anyone finds.

So, are there any feature requests? Any nits to pick? Any bugs you see (other than those I've mentioned)? Any other comments?

-- Willscrlt ( Talk | Cntrb ) 15:34, 15 January 2007 (UTC)

Responses
That, Willscrlt, is the most impressive single template I've yet seen on Wikipedia. Admittedly I haven't been specifically looking, but the power that this offers is simply phenomenal. I have no requests or suggestions other than the bugs you've already mentioned - it has more features than I could have ever dreamed of. Thank god for national holidays! You've certainly used your time well.... Many thanks, Happy-melon 19:31, 15 January 2007 (UTC)

March of the phantom numbers
Having started deploying your excellent template from the top of the list of cocktails, I have found that this seems to appear at the top of every page:
 * "{{#ifexpr: 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 >= 1 |"

Or variations thereof, with the 1(s) in different places. Any idea what that might mean?? I almost threw up looking at the template code so I haven't the foggiest! However it seems incredibly simple to implement and display, so fantastic work. I've halted my implementation drive at The Blenheim until I work out why it doesn't work for some reason on that one page... almost certainly human error!! Happy-melon 15:54, 16 January 2007 (UTC)
 * Yup. It's fixed now. One silly little "}" was missing, and it caused all that gobbledygook to appear. There are probably hundreds of "}"s in the template, so it took me a while to track it down. You might have noticed certain parts of the template disappearing and reappearing for a while. Sorry about that. I had to make a change to the template because the auto-categorizing feature was causing problems on some places that should not have been tagged as mixed drinks. Now there is an attribute that suppresses auto-categories, which is great in the demos. -- Willscrlt ( Talk | Cntrb ) 16:32, 16 January 2007 (UTC)

Sourcelink
Having (I think) finished adding infoboxes to all the cocktails on the list, I'm now synchronising the list of IBA cocktails here with the list at IBA HQ. To that end, I'm adding sourcelinks (a very clever feature BTW, so many thanks) to the template code. However on many occasions the link spills onto two lines, which end up on top of one another and look very messy (eg Appletini). In other cases, half the link is lost under the bottom of the infobox (eg in Bronx). Not sure what the exact problem is, and not a clue how to fix it, but hopefully something you can fix?? Congratulations again, however, on an excellent job with this infobox. Happy-melon 10:51, 27 February 2007 (UTC)

Multiple cocktails on same page
I'm not sure how best to implement this template on the numerous cocktails which redirect to sections of the amaretto page. I think it will look awkward to have a huge list of infoboxes down the side of that page, so perhaps implementation there will have to wait until their sections are bulked up a bit. Any comments? Happy-melon 18:52, 18 January 2007 (UTC)
 * That was one of which I was already aware that would be a problem. I have two thoughts on it.


 * 1) Include one infobox for the three IBA cocktails, listing all three in one infobox. Use a separate infoboxes for the coffe. Merge Amaretto Sour and Whiskey Sour together into an article on sours (resulting in two infoboxes there, since Whiskey Sour is an IBA), and kill off the Silverlake due to lack of notability.
 * 2) Since it is primarily an article on Amaretto, do not include any WPMIXInfobox templates at all, and continue to use the IBA badge to identify the IBA cocktails.

This will be a problem for a few other articles, too. See the to-do list for at least two other articles that will include multiple drinks on the same page.

I just had another thought: I could create a horizontal infobox to be placed at the top or bottom of a section. It would serve the same purpose, but design it in a way that it takes up as little space as possible so that it fits in-line with the rest of the article and does not "stack up" along the right-hand side of the page. WPMIXInfoboxHoriz would probably be a good name to clearly distinguish it. How does that sound? -- Willscrlt (  Talk &middot; Cntrb  ) 22:39, 18 January 2007 (UTC)
 * I like this idea. For the moment I'll skip these problem cocktails.  I'm using the revision as of 01:01 15th January, so I can see which new additions also need boxing up.  Happy-melon 10:42, 19 January 2007 (UTC)
 * It might actually be a good idea to go by the categories as much or more than the List of cocktails (gasp!), since it is theoretically "current" since it is dynamic. On the other hand, it doesn't designate IBA drinks, and there's no guarantee I ever tagged all the articles on the list with the category tags. I guess the best thing is to stick with the list for now, but then go through the categories for anything that was missed, since the Infobox will add drinks to the correct categories. I wonder if it would be prudent to remove the cocktails/mixed drink categories from the bottom of the pages since they are dynamically created by the infobox? Hmmm. I don't know the Wikipedia policy on that. -- Willscrlt (  Talk &middot; Cntrb  ) 10:57, 19 January 2007 (UTC)
 * That's the plan... eventually!! Right now I'm down to Vesper, so I am getting there... slowly!!  At least my professors can rest assured that they are (indirectly) contributing to the sum total of human knowledge Hehe!!  Happy-melon 20:57, 19 January 2007 (UTC)

Due to some changes in the Beer mix (now Beer cocktail) section, I have tagged several of those with infoboxes. Here is how I have handled a few things (i.e. some changes and new features): Let me know if there are other customizations that you run across that would make your work much, much easier. Especially if you have to "write your own" descriptions for something that is likely to not be a one-time-only sort or situation. -- Willscrlt (  Talk &middot; Cntrb  ) 09:32, 21 January 2007 (UTC)
 * See Cerveza preparada for one article using two infoboxes in the same article.
 * There is a new type of drink (type = layered) for layered shooters.
 * All shooters, layered shooters, and any drink using a shot glass for the primary drinkware gets tagged as a shot/shooter even if it is also flagged as something else (previously it was either/or).
 * Several beer cocktails use two types of glasses: a pint/pub glass and a shot glass. I created (drinkware = pintshot) and (drinkware = pubshot) to handle those. It lists both types of drinkware in the same article (see Boilermaker (cocktail)).

Removal of duplicate info
I noticed that as Happy-melon is installing the Infobox, there is a lot of duplicated information (double recipes which is bound to attract attention due to WP:NOT). Please remove any list of ingredients and preparation instructions that are in the body of the article when you install the infobox. That will reduce some articles to tiny little stubs, but that's okay, because it shows which articles really need work. If such articles are not already tagged as stubs, please add mixed-drink-stub or cocktail-stub as appropriate. (Wow! The Bronx looked horrible after gutting it and moving things to the infobox. It looks a lot better after a some additional research.) -- Willscrlt (  Talk &middot; Cntrb  ) 02:42, 19 January 2007 (UTC)
 * I shall try to do so. Happy-melon 10:42, 19 January 2007 (UTC)
 * Thanks. Believe me when I say I REALLY appreciate all the help you are putting into this. I wasn't criticizing, and you should feel good about how much better the articles are looking already. :-) -- Willscrlt (  Talk &middot; Cntrb  ) 10:57, 19 January 2007 (UTC)
 * Thanks, I appreciate it. Removing the recipes is flagging up just how thin some of the articles are though!!  Lots more work needed I think!  Happy-melon 20:57, 19 January 2007 (UTC)

Standard information
Also, Happy-melon, on the IBA Official Cocktails are you using the recipes inside the articles or fetching the ones from the IBA itself. All IBA cocktails should use the IBA recipes and prep instructions. I ask because Caipirinha had the right ingredients, but the instructions were wrong. (Original and updated). If you like, I can go back and update the information that has already been put in, but if you could use the IBA information for the rest you do, that would be great. -- Willscrlt (  Talk &middot; Cntrb  ) 02:42, 19 January 2007 (UTC)
 * I haven't been using the official recipes, but I shall in future. Thankyou for that link - it can be tricky to work out from the content of the article which is the IBA recipe.  I don't think I've actually boxed up that many IBA official cocktails (Bronx, Caipirinha and Brandy Alexander) so it shouldn't be too difficult to correct this oversight.  I like the "Xcl (Y parts)" format as well.  When I get to an IBA cocktail, I'll try to put it in this format.Happy-melon 10:42, 19 January 2007 (UTC)
 * I was thinking of maybe adding a direct link to the IBA recipe on the IBA page next to our Wikipedia linked title. Confusing or helpful do you think? Especially since we will have the recipe in the article? As to the measurements, that's generally what I have been doing with IBA's. Though originally (well, before you brought it up for discussion) I was using fl oz measurements instead of parts in that spot. The goal is the same, though. Give something general in addition to the metrics.
 * One other thing I thought of is that if the article is really short (especially once the recipe and prep info are removed), if it's not an IBA cocktail, then the prep instructions probably do not need to include the drinkware or garnish since they are already mentioned above in the infobox. It could save a little space, making the infobox smaller, so the article doesn't get dwarfed by the infobox. It's not critical or anything, and probably some people would rather see more information there than less. I guess it's a judgment call as you write it up. -- Willscrlt (  Talk &middot; Cntrb  ) 10:57, 19 January 2007 (UTC)
 * I'm trying to keep the preparation column as minimalistic as possible - I'm trying not to include the actual type of glass, for instance, just saying "stir into chilled glass" rather than "stir into chilled cocktail glass". Incidentally on the subject of glasses, does the zombie glass have a specific purpose.  When the recipe calls for a "tall glass" I'm torn between the zombie and the highball glass.  Usually I go for highball but perhaps zombie might be a better choice, unless it's a special glass for a specific drink or type of drinks.  Any further information on the mysterious Zombie glass??  Happy-melon 20:57, 19 January 2007 (UTC)
 * The only drink I know for certain that uses the Zombie glass is the Zombie cocktail (apparently the reason for the name). Compared to the Highball, it's skinnier and I think a bit taller. I do plan to add the measurements of the various glasses to the Infobox so that it will be obvious as to how much the thing is supposed to hold. When I do, it will automagically update on all the infoboxes once I update the template. I love those templates. :-) -- Willscrlt (  Talk &middot; Cntrb  ) 23:52, 19 January 2007 (UTC)

Vermouth
While looking through and making touchups with some of the cocktails, I've noted that a few of the IBA cocktails put an emphasis on vermouth. The Rose, in particular, is a wine cocktail with vermouth as the main ingredient. However, looking through the template documentation, I noted there isn't an entry for vermouth. Considering it is distinctive against other wines and fortified wines, should not vermouth gain its own entry in the template so that cocktails like the Rose and Negroni may describe themselves more appropriately? —68.10.101.122 (talk) 19:54, 13 June 2008 (UTC)
 * Sounds very reasonable to me. :-) As the template developer, I'm not really sure why it wasn't included. Probably my reasoning was along the lines that vermouth is more of a mixer than a primary alcohol, and only primary alcohols were originally included in the template. I have a more liberal view of things now, so it seems logical to include it. I am actually working on a version 2.0 of this infobox over at Wikibooks to use in the Bartending Guide there. After that is completed, I will port it back over to Wikipedia. In the meantime, I went ahead and added Vermouth to the current template. Thanks for the input! -- Will scrlt  ( Talk ) 05:50, 14 June 2008 (UTC)

Problem with template
Just to make you aware that there's a problem with too many closing braces appearing, for example at Sea breeze. I'd fix it myself if I wasn't so busy!! Verisimilus  T  12:57, 2 June 2007 (UTC)
 * I echo the problem: When the IBA parameter is given a "yes" value, an extra pair of closing curly brackets appear at the end of the link, as in Irish coffee. -- • Kurt Guirnela •  ‡ Talk  09:28, 9 July 2007 (UTC)
 * Thanks for pointing that out. I just noticed it, too. Since I designed the template, I will look into why it's doing that and fix it. It might take me a couple of days, but I'll track it down. :-) --  Will  scrlt ( Talk ) 11:21, 23 May 2008 (UTC)
 * Never mind. It was actually an easy fix, but it wasn't in this template. It was in IBA recipe, which is transcluded into this template. Problem appears to be resolved now. If anyone notices any other problems, please leave me a message on my talk page. Thanks! --  Will  scrlt ( Talk ) 11:37, 23 May 2008 (UTC)

Size
The size of the photo at Rum Swizzle is not large enough. How can I fix that? Badagnani (talk) 22:53, 15 July 2008 (UTC)
 * It was previously hard-coded at 150px. I've increased the default to 200px (as images shouldn't be resized smaller than the default thumbnail size) and added an imagesize attribute which can be used to override it further. Chris Cunningham (not at work) - talk 11:00, 30 January 2009 (UTC)

Broken template
The "coffee" and "irishc" parameters create links to categories that don't exist.

I ended up here while editing an article that used WPMIXInfobox, which redirects to this template. That article, though, uses parameters "irish cream=yes" and "Kahlua=yes", which this template does not appear to support. It looks like somebody changed the template and forgot to go through and fix articles that reference it. --Srleffler (talk) 16:59, 5 August 2009 (UTC)

"on the rocks"..?
I came across a page for a cocktail that described itself as served "on the rocks" when there were mixers involved, eg. White Russian, Mai Tai.. I came here to find out what label the template has allocated to mean "with ice" but not "on the rocks", so that I could change it, but there was no such category. As far as I'm concerned, "on the rocks" means one or more types of alcohol served on ice, maybe with a garnish, but nothing else in the glass. There should be another category named "with ice" to differentiate between something served on the rocks without mixer, and something served with a mixer with ice. I'm far too casual a user and no where near well-acquainted enough with wikipedia to make these changes. Mmshel (talk) 07:24, 16 August 2011 (UTC)

How lasting is an official IBA cocktail designation? What about 'variations'?
This source from Archive.org in 2011 lists a number of cocktails that are not on the current list, and vice versa. To complicate things, Kir Royal (for example) is listed in its own right on the older lists, and as a variation of Kir on the new one. Same with White Russian/Black Russian. An IP recently recently removed the IBA designation from both of those articles. Since they are still technically listed on the new list, I restored them, but after looking at the above sources, I'm not sure what the tipping point is. At what point should a cocktail no-longer be considered IBA for the purposes of this infobox? What about cocktails, such as the Golden Cadillac, that were listed in the past, but aren't anymore? Grayfell (talk) 03:41, 24 April 2014 (UTC)
 * I get the sense, although I can't confirm, that the IBA list is updated every year leading up to the World Cocktail Championship. I feel that once it has been taken off the official list, the article and infobox should reflect this. Perhaps a section could be created within the individual article indicating that it had previously been on the list, explaining this history. Prymal (talk) 08:17, 1 December 2017 (UTC)

Timing of consumption
I'm keen to add to the infobox the time of day at which the cocktail should be consumed. For example, the IBA provides that the Alexander should be consumed after dinner, and the Americano before dinner. I think that this should be included in the infobox with the heading "Timing:" or some other heading. I've never edited an infobox before, but I'm going to give it a shot. Prymal (talk) 08:13, 1 December 2017 (UTC)
 * Alright, I've done it - hope no one objects. I would actually love a different describing word though.... "Timing" seems ambiguous, but other option I could come up with - "Service time", "Hour" or "Course" (as in "3-course meal") - didn't seem right either. "Served" has of course already been used for how to serve it, rather than when. I've started adding timings to the first five IBA cocktails, alphabetically; I'll wait a couple days to see if there's any objection or suggestion before I finish the rest.Prymal (talk) 09:19, 1 December 2017 (UTC)
 * I wonder if we should remove this now that IBA no longer specifies timing. GA-RT-22 (talk) 21:59, 1 July 2024 (UTC)

Semi-protected edit request on 22 April 2021
Could the "f" in "Old fashioned glass" please be uncapitalized in line with the article title? Thanks, 24.77.42.223 (talk) 05:33, 22 April 2021 (UTC)
 * Red information icon with gradient background.svg Not done: This is the talk page for the infobox template, not for any cocktail in particular. ScottishFinnishRadish (talk) 10:56, 22 April 2021 (UTC)
 * Yes check.svg Done Actually, due to my personal like for an old fashioned while I sit on my deck, I sought out the page and made the edit. It's all set now. ScottishFinnishRadish (talk) 10:58, 22 April 2021 (UTC)
 * I think you misunderstood me, . I was referring to the term's use in this template. 24.77.42.223 (talk) 18:28, 22 April 2021 (UTC)
 * Yes check.svg Done I think I got it this time. Sorry about that. ScottishFinnishRadish (talk) 18:31, 22 April 2021 (UTC)

type=cocktail
The template documentation says for cocktails I should set "type = cocktail". But when I do that, I get type="Mixed drink" in the infobox:. I had to set the type to "cocktail" (unlinked) to get the desired result. What did I do wrong? GA-RT-22 (talk) 17:47, 7 June 2021 (UTC)


 * I fixed the doc for this and a couple others, but I suspect the others need to be fixed too. GA-RT-22 (talk) 18:28, 10 October 2021 (UTC)

Source & sourcelink "If using a different site"
There seems to be a problem when using the source & sourcelink parameters with sites other than IBA and DrinkBoy. The instructions read,
 * Source
 * [...]
 * If using a different site:
 * | source = url
 * sourcelink
 * [...]
 * If using a different site, enter the full URL:
 * | sourcelink = http://www.example.net

The only example I've found is Pimm's cup, with this code:
 * | source     = url
 * | sourcelink = https://www.thespruceeats.com/pimms-no-1-cup-recipe-759329

It adds nothing to the Infobox that I can see. Is there some error in the code causing these values to be ignored?

-- Pemilligan (talk) 19:35, 17 July 2024 (UTC)


 * The code appears to be broken, or at least it's doing nothing useful here. First, sourcelink does nothing unless you have iba=yes. Second, if you do that, it mangles the link so it doesn't work. GA-RT-22 (talk) 23:19, 17 July 2024 (UTC)
 * Thanks. So, as it is working,
 * if iba equals "yes" and sourcelink equals DRINKNAME, it will display † DRINKNAME recipe at International Bartenders Association linking to the recipe at the IBA website (e.g. Americano (cocktail))
 * if iba isn't yes, source equals "drinkboy", and sourcelink equals the item id number from the DrinkBoy website, it will display † DRINKNAME recipe at DrinkBoy linking to the recipe at the DrinkBoy website (e.g. Death in the Afternoon (cocktail))
 * otherwise it does nothing
 * I assume the intent was to have another option:
 * if iba isn't yes, source equals a website name (any text, really), and sourcelink equals an URL, it will display † DRINKNAME recipe at WEBSITE using the URL to link to the recipe at the named website
 * It would be nice to have that functionality, but I can see the complexity of getting it to work. -- Pemilligan (talk) 01:11, 18 July 2024 (UTC)