Template talk:WDL

Category note
I think it should be noted that if the sum of the wins, draws and losses is incorrect, appears. -  Dudesleeper  talk  22:27, 31 October 2010 (UTC)

Adding numbers from a column
Is there a way to automatically add every number from a column? Strawberry on Vanilla (talk) 13:04, 24 July 2011 (UTC)

Add Pts%
I've attempted a similar template: Template:WDLpts that has additional its column and pts% column, so we can see the percentage of points taken out of the total available, which I find much more insightful. However, the template I made isn't perfect, and it'd probably be better to just implement maybe optional columns into this one. If anyone can do it, it'd be greatly appreciated! --Adam (talk) 07:36, 31 August 2011 (UTC)

Deletion discussion
There is an ongoing deletion discussion that is directly relevant to this template. Please comment this template's error category at Categories for discussion/Log/2013 September 24. Thanks, Ego White Tray (talk) 02:46, 25 September 2013 (UTC)

Minus sign
I have made changes to Module:WDL/sandbox to get the correct minus sign (same as done at Module:Sports table/WDL). I thought I should take it here before implementing. It is working where I have tested it. Qed237&#160;(talk) 17:29, 2 August 2015 (UTC)


 * I ping you most recent editors (and creator of the module). Qed237&#160;(talk)</i> 17:31, 2 August 2015 (UTC)
 * I cleaned up the code a bit. It looks good now. Jackmcbarn (talk) 17:48, 2 August 2015 (UTC)
 * Okay, great. Not sure how that works but as long as it does I am happy. Do we need consensus to edit the module? <i style="font-family:Sans-serif"><b style="color:blue">Qed</b><b style="color:red">237</b>&#160;<b style="color:green">(talk)</b></i> 22:57, 2 August 2015 (UTC)
 * Nope, go for it. Jackmcbarn (talk) 23:17, 2 August 2015 (UTC)

Quique Flores
I was just looking at the Quique Flores article and it seems this template has a bit of an issue distinguishing between positive and negative numbers. A few times, it's displaying a negative goal difference when it should be positive and vice-versa. Any ideas? – PeeJay 20:12, 7 August 2015 (UTC)
 * Thanks for noticing. Should be fixed now. If any pages still look broken, WP:PURGE them. Jackmcbarn (talk) 00:27, 8 August 2015 (UTC)

Total games
Wouldn't it be possible to generate the total number of games played as the arithmetic sum of the numbers of wins, draws and losses? Seems like we're adding an extra parameter to the template for no reason... – PeeJay 10:17, 7 October 2017 (UTC)
 * if you leave the total blank, it is auto generated (may not be mentioned in the documentation). however, if the numbers don't add up, the page appears in Category:WDL error (checksum). Frietjes (talk) 15:49, 7 October 2017 (UTC)
 * Isn't the total the first parameter? Seems a bit weird to leave the first one blank, that's all. – PeeJay 22:26, 7 October 2017 (UTC)
 * , yes, but changing the syntax would require changing all the articles, or making a new template. Frietjes (talk) 14:54, 8 October 2017 (UTC)
 * Oh yeah, I understand that, I just think it's a shame it wasn't realised that the total column could be filled in using an arithmetic operation when the template was first put together. – PeeJay 08:44, 9 October 2017 (UTC)

Win %
The current winning percentage for this template is calculated by dividing the total wins by the total games played. However, isn't it standard to factor in half of the draws into winning percentage? I believe the full credit should be:

(wins + (draws/2))/total games played = winning percentage

In "Module:WDL," it think it would look something like this: – — Preceding unsigned comment added by Adamng87 (talk • contribs) 20:02, 6 May 2024 (UTC)
 * Can you provide any examples of sources that treat draws as half a win for the purposes of calculating win percentages? Most sources I have come across do not do that. – PeeJay 22:24, 6 May 2024 (UTC)
 * Wikipedia's own page on winning percentage states that "a draw counts as a 1/2 win." There is a carve out for association football managers, but there is no citation given. It just links to the association football page, which has no reference to calculating winning percentage. – Adamng87(talk) 15:10, 8 May 2024 (UTC)
 * Wikipedia cannot act as a source for itself. I have no doubt that in some circumstances draws are treated as half-wins, but that is a very American thing. Perhaps we should find a way of incorporating both calculations into this template (assuming that's not already been done). – PeeJay 13:40, 10 May 2024 (UTC)