Template talk:Infobox tournament

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconSports Template‑class
WikiProject iconThis template is within the scope of WikiProject Sports, a collaborative effort to improve the coverage of sport-related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
To-do list:

Here are some tasks awaiting attention:

Tournaments that took only one day.[edit]

How do you deal with a sports tournament that took only one day? Leaving the end-date property open still leaves an ugly endash after the date on which the event took place. I'm asking this because the Capcom Cup proper only takes one day. See Capcom Cup 2015 for example: the infobox currently lists its date as "December 6–" ~Mable (chat) 18:52, 21 September 2016 (UTC)[reply]

User:Maplestrip, for that case, you can use |date= instead. Frietjes (talk) 14:15, 20 October 2016 (UTC)[reply]
Oh, there we go. Thank you! ~Mable (chat) 14:20, 20 October 2016 (UTC)[reply]

Bug in Single sport tournament runner-up[edit]

 | label21  = {{#if:{{{runner-up2|}}}{{{runners-up2|}}}|1st}} {{#if:{{{runner-up1|}}}|runner-up|Runner-up}}

That line results in an incorrect result if runner-up1 is specified, but runner-up2 is not, writing as a result runner-up in lower case, instead of the appropriate Runner-up or 1st runner-up. The second if should specify if (runner-up1 && (runner-up2 || runners-up2)) then runner-up else Runner-up.

For pages displaying the problem, check 2016 League of Legends World Championship or 2015 League of Legends World Championship.

I'm not making the change because I can't seem to find a way to reach those rules edition page without going into the sandbox. And, also, beacuse I haven't checked the documentation about conditional expressions in those templates, so I don't trust myself to do it.

Elideb (talk) 17:18, 30 October 2016 (UTC)[reply]

I've realized that the template can be edited directly as a page, but for some reason, what I see in the Sandbox (pasted above) is different from what I see when editing the template itself:
 | label21  = {{#if:{{{runner-up2|}}}{{{runners-up2|}}}|1st}} {{#if:{{{runner-up1|}}}|runner-up|runners-up}}
Elideb (talk) 17:34, 30 October 2016 (UTC)[reply]
Elideb, should be fixed now. Frietjes (talk) 15:48, 27 November 2016 (UTC)[reply]

Can we have option to call the winner something other than "champion"?[edit]

In the World Chess Championship, a series of preliminary tournaments are held, before a match is held to determine the champion. So it seems weird to me that the winners of these preliminary tournaments such as Chess World Cup 2017 or Candidates Tournament 2018 are each called the "Champion". It is like calling the winner of a semi-final the "Champion". Far more appropriate would simply be "winner". So, would it be possible to have an option to call the winner something other than "Champion", either here or at Template:Infobox sports competition event ? Adpete (talk) 11:07, 4 November 2021 (UTC)[reply]

Anyone? Adpete (talk) 00:33, 6 April 2022 (UTC)[reply]
Agreed. Should probably use a custom infobox, these templates are way too rigid and intransparent. EnTerbury (talk) 14:51, 3 March 2024 (UTC)[reply]