Template talk:WDL

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Category note[edit]

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

Adding numbers from a column[edit]

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

Add Pts%[edit]

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)[reply]

Deletion discussion[edit]

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

Minus sign[edit]

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 (talk) 17:29, 2 August 2015 (UTC)[reply]

@Jackmcbarn and Frietjes: I ping you most recent editors (and creator of the module). Qed237 (talk) 17:31, 2 August 2015 (UTC)[reply]
@Qed237: I cleaned up the code a bit. It looks good now. Jackmcbarn (talk) 17:48, 2 August 2015 (UTC)[reply]
@Jackmcbarn: Okay, great. Not sure how that works but as long as it does I am happy. Do we need consensus to edit the module? Qed237 (talk) 22:57, 2 August 2015 (UTC)[reply]
@Qed237: Nope, go for it. Jackmcbarn (talk) 23:17, 2 August 2015 (UTC)[reply]

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)[reply]

@PeeJay2K3: Thanks for noticing. Should be fixed now. If any pages still look broken, WP:PURGE them. Jackmcbarn (talk) 00:27, 8 August 2015 (UTC)[reply]

Total games[edit]

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)[reply]

PeeJay2K3 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)[reply]
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)[reply]
PeeJay2K3, yes, but changing the syntax would require changing all the articles, or making a new template. Frietjes (talk) 14:54, 8 October 2017 (UTC)[reply]
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)[reply]