Template talk:Prizepool

SMW Support
Sad news, I gonna remove the SMW support of the prizepool template. I failed last time implementing a somewhat compatible version, but it makes no sense to me at that point. Reasoning below:


 * Hieracy/consistency problems: Template:Tournament infobox is and should be the top level element of the page. It is currently pulling information from this template, which makes it an outlier.
 * Confusion: It's very hard to intuitively distinguish when the parameters "prizepool" and "total" in the tournament infobox and how they are properly used. (Yes I know, not the best reason)
 * Wrapper support: If there was a wrapper, the SMW properties would have an actual valid reason to exist. The properties are not at all outside of the same page; there is no page that compares prize pools or comparable stats.
 * Low benefit: The whole purpose is to reduce the ease of keeping the final prize pool value up-to-date. Imo the values should only be updated TWICE in total. Once after the tournament is announced (e.g. $200.000+ USD) and the second time after the tournament finished (e.g. §224.322 USD).

Affects:
 * Property:Currencycode
 * Property:Total
 * Property:Currencysign
 * Template:Prizepool
 * Template:Tournament infobox
 * Template:Tournament infobox wrapper

Molldust (talk) 10:45, 28 October 2016 (UTC)


 * Edit: There is no Tournament infobox wrapper yet, shame on me. Molldust (talk) 10:47, 28 October 2016 (UTC)


 * When can we use wrapper. Very very very looking forward. :( --Elite stay (talk) 11:59, 28 October 2016 (UTC)


 * Wish granted. Molldust (talk) 13:51, 28 October 2016 (UTC)

Possible new functions
Does anyone have some feedback on these ideas I had for this template?
 * Retiring the  parameter and introducing a new   parameter to allow combining more than two places
 * Adding an  parameter to automatically convert the prize-money into USD
 * Adding in-depth SMW support to possibly allow automating the Achievement sections on team pages (would probably require new parameters like,   and  )


 * the second one is bad --Elite stay (talk) 11:42, 23 July 2017 (UTC)


 * What is the problem with the second one? Wouldn't it be better to convert the prizepool to dollars, since that makes it easier to compare to other tournaments? Of course that exchange rate would have to be a user specified parameter and not a set one, since they change. --Litzsch (talk) 14:39, 24 July 2017 (UTC)

Qualifying Points
With the new Majors and Minors coming up we need to have a way of displaying the Qualifying Points won by the teams. Should they be added to this template or in a separate one?--Litzsch (talk) 12:36, 1 October 2017 (UTC)


 * Probably something which makes use of Property:Second. I don't know where/how it is defined. Molldust (talk) 20:36, 2 October 2017 (UTC)


 * Property:Second was something I added when trying to automate the Tournaments page but forgot to remove when I didn't manage to do that. It was unused afaik so I removed it now.--Litzsch (talk) 21:29, 2 October 2017 (UTC)


 * Yep, implement it here. Especially the two kinds of splitting (50/30/10/10) and (50/30/15/5) needs to be addressed (Example points for Team Secret over one year):


 * {#ask:[Category:Tournaments] [Year::>2017-08-15] [Year::<2018-08-15] [Place 1::Team Secret]|?Points 1} + {#ask:[Category:Tournaments] [Year::>2017-08-15] [Year::<2018-08-15] [Place 2::Team Secret]|?Points 2} etc etc
 * {#ask:[Category:Tournaments] [Year::>2017-08-15] [Year::<2018-08-15] [Place 1::Team Secret]|?Points} * 50% + ... + {#ask:[Category:Tournaments] [Year::>2017-08-15] [Year::<2018-08-15] [Place 3::Team Secret]|?Points} * 15% or 10% depending on format
 * A lua module could generate a complete table with this query: {#ask:[Category:Tournaments] [Year::>2017-08-15] [Year::<2018-08-15] |?Points|?Tournament format|?Place 1|?Place 2|?Place 3|?Place 4}
 * Of course the third option is the best, but I've found no time so far to work myself into lua modules (and won't in the near future). Molldust (talk) 12:41, 3 October 2017 (UTC)


 * Wouldn't it be easier to include a subobject like this:


 * in the template and then just query for them using something like


 * or even concept pages to get a teams total points?--Litzsch (talk) 14:22, 3 October 2017 (UTC)


 * See here for a proof of concept (with the total prozepool since no points are awarded yet). It does not deal with different currencies so the Toal is different from the actual one but that wouldn't be a problem with the Points.--Litzsch (talk) 15:31, 4 October 2017 (UTC)