Module talk:Sports table/WDL
@CRwikiCA: Would it be possible to add an option to change the headers for beach soccer to W, W+, L instead of the default? Looking at the code, it seems as simple as adding an option for |beach=yes, y, true, t, 1
, then when creating the header, adding a simple If..Then..Else
statement. I was about to being working on FIFA Beach Soccer World Cup when I noticed that they have no draws in beach soccer. |draw_TTT=
doesn't need to change, and I know we can easily set |draw_points=2
, but the header is the visual element that would need to change.
I'd do it, but I'm not comfortable enough in Lua to make changes without thinking I'll break it. I know I can simply revert, but I'd still rather not possibly break dozens of articles and templates, no matter how temporary. — Jkudlick tcs 13:31, 19 December 2014 (UTC)
- @Jkudlick: I would prefer to create an option to overwrite the draw column header instead with a custom header, that would reduce the clutter in the Lua-code and be a more versatile solution. I have also toyed with the idea of renaming the football style WDL, to give it a more generalized function (not every sport needs their own style, it should depend on the match result options). Would such a solution work in your eyes? CRwikiCA talk 16:33, 19 December 2014 (UTC)
Pos | Team | Pld | W | W+ | L | GF | GA | GD | Pts |
---|
- That will work perfectly! Thanks! — Jkudlick tcs 19:38, 19 December 2014 (UTC)
- @CRwikiCA: And of course, FIFA has to go and complicate it this year with a 3-2-1-0 point structure (Regulation Win-AET Win-PKSO Win-Loss). All previous World Cups were the standard 3-2-0 point structure used in beach soccer (Regulation Win-AET/PKSO Win-Loss). I was about to change the tables in 2015 FIFA Beach Soccer World Cup when I noticed the change. I'll look at WL OT to see if that could be used. *sigh* — Jkudlick tcs 13:24, 20 December 2014 (UTC)
- That will work perfectly! Thanks! — Jkudlick tcs 19:38, 19 December 2014 (UTC)