Module talk:Sports table/Archive 1: Difference between revisions

Content deleted Content added
No edit summary
SporkBot (talk | contribs)
m Remove template per TFD outcome
 
(9 intermediate revisions by 3 users not shown)
Line 20:
For '''''res_col_header= ''''' can you also have '''Comments''' as per [[2014–15 Ukrainian First League#League table|2014–15 Ukrainian First League]] ? [[User:Brudder Andrusha|Brudder Andrusha]] ([[User talk:Brudder Andrusha|talk]]) 05:28, 7 November 2014 (UTC)
:{{ping|Brudder Andrusha}} Yes, see reply at [[WT:FOOTY]]:
{{#invoke:Sports table|main|style=footballWDL
 
|team1=FDT
|result1=new
Line 33 ⟶ 32:
}}
It can be customized that way, although you might want to indicate the new status with footnotes instead:
{{#invoke:Sports table|main|style=footballWDL
 
|team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE
|result1=WC
Line 47 ⟶ 45:
|name_BBB=Team 2
|name_CCC=Team 3
|name_DDD=Team 4
|name_EEE={{fb|GIB}}
 
Line 59 ⟶ 58:
:{{ping|Jkudlick}}This would be possible, do you want me to implement it for the group A to see whether my idea works? I think having values yes, y, true, t and 1 (independent of case) would catch all options, or should there be more options? <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 15:21, 7 November 2014 (UTC)
::{{ping|CRwikiCA}}Those options should be enough. If you want to test it on Group A, I have no problem with that. -- [[User:Jkudlick|Jkudlick]] ([[User talk:Jkudlick|talk]]) 15:37, 7 November 2014 (UTC)
{{ping|Jkudlick}} Done:<pre>
{{2015 FIFA Women's World Cup Group A table}}
{{2015 FIFA Women's World Cup Group A table|only_pld_pts=yes}}</pre>
I kept the same parameter name to keep it easier to follow if people end up reading the Lua code. <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 17:29, 7 November 2014 (UTC)
*You rock! -- [[User:Jkudlick|Jkudlick]] ([[User talk:Jkudlick|talk]]) 17:33, 7 November 2014 (UTC)
Line 76 ⟶ 75:
:{{ping|Asturkian}} That is the idea, when it has been rolled out to the football project and everything is working well (no errors) the plan is to spread the module to other sports as well. For example the table is currently called with {{para|style|football}} but also {{para|style|WL OT}} works (mainly as test) which is for tables without draw and has overtime wins (OTW) and overtime loss (OTL) instead (those names can be changed to i.e. shootout). The columns are decided in submodules (for example [[Module:Sports table/football]] or [[Module:Sports table/WL OT]]). I can give you example of thos kind of table.
:For {{para|style|football}} we get
:{{#invoke:Sports table|main|style=footballWDL
 
|team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE
 
Line 89 ⟶ 87:
|name_BBB=Team 2
|name_CCC=Team 3
|name_DDD=DDD
|name_EEE=Team 4
}}
Line 106 ⟶ 105:
|name_BBB=Team 2
|name_CCC=Team 3
|name_DDD=DDD
|name_EEE=Team 4
}}
Line 251:
Hi, people. Could it be possible to keep the option of showing any team without creating a new template for the table? E.g., in [[2014–15 Segunda División B]] I changed the tables for the new modules, but the <code>showteam</code> option is not available for these, for adding in the team season articles there are of three teams of the league. If possible, I don't want to create templates for the tables. [[User:Asturkian|Asturkian]] ([[User talk:Asturkian|talk]]) 11:45, 29 January 2015 (UTC)
:{{ping|Asturkian}} You can still use the {{para|showteam}} in those cases outside of the template, e.g.:
{{#invoke:Sports table|main|style=footballWDL
|update=25 January 2015
|source=[http://www.futbolme.com/temporada.php?id=5 Futbolme.com]
Line 329:
::Versatility is why the module was created, right? I like your option to be able to create custom headers. — [[User:Jkudlick|Jkudlick]] <sup>[[User_talk:Jkudlick|t]]</sup><small>[[Special:Contributions/Jkudlick|c]]</small><sub>[[User:Jkudlick/sandbox|s]]</sub> 16:52, 19 December 2014 (UTC)
:::{{ping|Jkudlick}}I added the option {{para|draw_header}} to adjust this, example:
{{#invoke:Sports table|main|style=footballWDL
|draw_header=<abbr title="Won after extra time or penalties">W+</abbr>}}
::::That will work perfectly! Thanks! — [[User:Jkudlick|Jkudlick]] <sup>[[User_talk:Jkudlick|t]]</sup><small>[[Special:Contributions/Jkudlick|c]]</small><sub>[[User:Jkudlick/sandbox|s]]</sub> 19:38, 19 December 2014 (UTC)
Line 461:
 
|only_pld_pts=no |show_matches=no
|template_name=Sports table
|update=future |start_date=
 
Line 513 ⟶ 512:
 
At the start of the season the table would look like this.
<pre>
 
{{Fb cl header }}
{{Fb cl2 team |p=1 |t=[[FC Pyunik|Pyunik]]|w=1|d=0 |l=0 |gf=4|ga=0}}
Line 526 ⟶ 525:
{{Fb cl2 team |p=8 |t=[[FC Shirak|Shirak]]|w=0 |d=0 |l=1|gf=0|ga=4}}
{{Fb cl footer |season_over=no |s=[http://www.ffa.am/en/competitions/armeniapremierleague/2010/ffa.am]}}
</pre>
 
 
 
Later in the season, it might look something like this.
<pre>
 
{{Fb cl header }}
{{Fb cl2 team |p=1 |t=[[FC Pyunik|Pyunik]]|w=20|d=0 |l=0 |gf=100|ga=0|bc=#D0F0C0|champion=y}}
Line 544 ⟶ 543:
{{Fb cl2 team |p=8 |t=[[FC Shirak|Shirak]]|w=0 |d=0 |l=20|gf=0|ga=100}}
{{Fb cl footer |season_over=no |s=[http://www.ffa.am/en/competitions/armeniapremierleague/2010/ffa.am] |nt=<sup>1</sup>Winners of [[2011 Armenian Cup]].}}
</pre>
 
 
 
Line 574 ⟶ 573:
{{od}}I did change {{tl|2014–15 Eredivisie table}} to use the wildcard letters instead. That should clarify what is going on. <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 16:21, 9 April 2015 (UTC)
 
{{ping|Qed237}}, I'm fine with the use of wildcard letters (X, Y, Z) for teams that have qualified for playoffs and yet may also be promoted as champions. Cheers. [[User:Delusion23|'''<fontspan colorstyle="color:green;">Del</font><bigspan><sub><fontspan colorstyle="color:black; font-size:larger;">♉</fontspan></sub></big><fontspan colorstyle="color:green;">sion</fontspan>'''<fontspan colorstyle="color:black;">'''23'''</fontspan>]] [[User talk:Delusion23|<fontspan colorstyle="color:green;">(talk)</fontspan>]] 16:50, 10 April 2015 (UTC)
 
{{ping|Qed237}} There needs to be some indicator that a club has at least qualified for the playoffs. It doesn't matter at all what that indicator is, or if that club can still qualify for something better, but ignoring the fact that a club is certain to make the playoffs is poor. [[User:Bretonbanquet|Bretonbanquet]] ([[User talk:Bretonbanquet|talk]]) 17:02, 10 April 2015 (UTC)
Line 581 ⟶ 580:
:::That's why we have 'TQ'. In any case, I'd say it was very obvious if promotion hadn't been secured due to the lack of a 'P'. [[User:Bretonbanquet|Bretonbanquet]] ([[User talk:Bretonbanquet|talk]]) 17:29, 10 April 2015 (UTC)
 
On a similar note, could there be preference to have these letters show up before the team names? like '''x–'''AAA? Another option is using asterisks or other symbols such as daggers †? –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 11:40, 24 April 2015 (UTC)
:{{ping|Howard the Duck}} This option exists, call {{para|status_pos|before}} in the module call as seen in {{tl|2014–15 NHL Central Division standings}}. <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 14:07, 24 April 2015 (UTC)
::The alternative is to use the standard footnote structure that can be used after the team name (the symbols are letters then). <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 14:13, 24 April 2015 (UTC)
:::Yes eventually the alternative footnote structure would have to be used in the end in this regard. How about asterisks and daggers? –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 15:05, 24 April 2015 (UTC)
::::Because numbering etc is all done automatically for footnotes one of the sets of [[WP:EXPLNOTE]] would have to be used in the current existing footnote structure (lower-alpha is currently used). The current TTT '''(X)''' might be used to incorporate none letter symbols as well for selected styles, but it would need to be tested to see how that would hold up. Is there a particular reason you would want to use these symbols? <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 15:55, 24 April 2015 (UTC)
:::::The dagger (†) is used prominently in US NCAA basketball standing tables. See [[2014–15 Big East Conference men's basketball season]] and its sister articles. It's been in use for such a long time. I dunno where asterisks are used to denote something else other than footnotes, though. If this would ever get to have universal use it would have to be flexible enough to be accepted by every sports WikiProject. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 16:20, 24 April 2015 (UTC)
::::::Those standings are a bit of an oddity anyway, because it uses a smaller font (for whatever reason?), and the style of the table is completely different (no lines, etc). I see other US college sports use a similar format. It beats me why the most important content of the page is reduced in size (it also seems to violate [[MOS:ACCESS]]). I would, however, think that the editors who edit those articles have a strong opinion about keeping that format. Outside of the US college sport tables anomaly, do other tables use the dagger? <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 18:58, 24 April 2015 (UTC)
:::::::AFAIK there aren't any other leagues that use daggers. Other American leagues use x, y and z. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 09:46, 25 April 2015 (UTC)
::::::::I think converting American college tables would take some extensive discussions, because the format is so different. So I don't know whether it is worth it to include that at this point. <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 14:57, 27 April 2015 (UTC)
:::::::::Yes but it could be a project somewhere down the road. The tables are quite different, but could be done on this format. It's basically two "simple" tables together: one for conference opponents and one for all opponents. Basketball uses PCT but football ones don't (just straight up wins and losses). College basketball usually includes all teams in the conference playoffs, where the winner gets the "dagger"; in this case the playoff qualification colors aren't needed since everyone gets in, unless you're going to denote byes. College football usually makes the team at the top of the table the conference champion, unless it is divided into divisions where the two division winners play off for the conference championship. We could use the playoff qualification colors (or letters) as well. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 15:09, 27 April 2015 (UTC)
::::::::::It's not hard technically, the issue will probably to find consensus with the editors of those articles, because they might not be willing to make such wholesale changes. If they are, then it would be easy to move forward. <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 16:01, 27 April 2015 (UTC)
:::::::::::While I'll probably wait for their tables to look like everybody else's it's always handy to have these features working just in case... –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 17:40, 27 April 2015 (UTC)
{{od}} Having a dual W-L style (conference and overall) is feasible. I would base that on the current WL style then (so maybe without the dagger for now, if footnotes/status letters work). <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 19:02, 27 April 2015 (UTC)
 
== Tiebreaker column/s ==
 
Is this in the pipeline? I've noticed that tiebreaks are denoted by footnotes but this could be unwieldy if the process is particularly complex one. I'd also particularly like to limit footnotes to point deductions, withdrawals and other rare events. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 13:19, 25 April 2015 (UTC)
 
:I'm agree with you. Footnotes are for rare events. When in an article there is a results table and also the rules for tiebreaking in a footnote, I don't see the need to add a footnote explaining the tiebreak. [[User:Asturkian|Asturkian]] ([[User talk:Asturkian|talk]]) 13:24, 25 April 2015 (UTC)
Line 604 ⟶ 603:
 
:::I particularly liked the system used on La Liga season pages before. There, the first tiebreaker was head-to-head points and not GD so they used a separate column for tiebreakers. There are some instances were you'd need multiple columns, or cram everything into one tiebreaker column. I was going to cite a tournament where the tie was broken on the final criterion: overall goal average but I can't find it.
:::Honestly I'm on the fence on "tiebreaker columns" as tiebreakers are not usually denoted this way. Either they're totally left out, or is at the bottom of the table (but not via footnotes). What I like about them is that they're pretty straightforward and you wouldn't have to scroll up and down unlike footnotes/notes. Plus the fact I'd reserve footnotes on something more important. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 15:23, 27 April 2015 (UTC)
::::When consensus was formed to implement these tables for football articles, the vote was to use footnotes to indicate how ties were broken if necessary instead of having a separate (mostly empty) column. ([[Wikipedia_talk:WikiProject_Football/Archive_91#Footnotes|Archived discussion with unanimous support]]). <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 16:05, 27 April 2015 (UTC)
:::::Well, [[WP:CCC]], but that's football. There are supposedly many other sports that would be using this module, so I dunno how a discussion solely by football enthusiasts would be binding to rugby or hockey followers. Either way, it's a good bet that these templates were, for a lack of a better word, imposed on these articles (just as what we've been doing nowadays), and people just kinda liked it, were indifferent, or those who didn't, supporters would just point out the discussion with uninamous support that most people hadn't heard about until now.... so no more chance for a change because the same people would come out and say "UNANIMOUS SUPPORT BRO, JUST DEAL WITH IT."
:::::(Don't think that itself was wrong; there was no chance every football Wikipedian enthusiast would've heard of a discussion happening somewhere, and that a, for lack of a better word again, clique would do whatever it takes to impose what they've agreed upon because no one likes another round of discussion that could amend or undo, no matter how little the chances are, the changes. I did the same thing for basketball articles for the old standings template with a separate "tiebreaker column", and no one that I knew started a discussion to change it. This is unlike to say, what happened at [[Talk:2015 AFC Asian Cup#Remove superfluous info]].) –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 17:48, 27 April 2015 (UTC)
::::::I don't have a problem adding the option to add a switchable tiebreaker column (off by default) to some of the styles. It is up to individual table editors or wikiprojects to determine in which cases (if any) those should be used. <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 19:07, 27 April 2015 (UTC)
 
Line 687 ⟶ 686:
{{#invoke:Sports table|main|style=WL
|status_pos=after
|team1=AAA|name_AAA=AAA
|status_AAA=L
|status_text_L=Lorem ipsum
Line 702 ⟶ 701:
:I'm not sure what others may say, but I would think first place should be green1. [[User:Equineducklings|Equineducklings]] ([[User talk:Equineducklings|talk]]) 03:36, 26 May 2015 (UTC)
::If it would be coloured, it should be green1. Whether it should be coloured is a matter of personal preference, I have no strong opinion about it. <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 14:41, 26 May 2015 (UTC)
:::Some people had used gold, silver and bronze bgcolor, but those are ugly and I personally hate it, that's I why I asked to use the {{gold1}} {{silver2}} {{bronze3}} icons to replace the numbered list. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 15:21, 26 May 2015 (UTC)
 
== Champion but no Promotion/Qualification ==
Line 710 ⟶ 709:
 
== Advice on tables if last placed teams get to some kind of knockout round ==
If the last placed team gets to play after the group stage (not necessarily for the championship, or the consolation or classification round), that means all teams automatically qualify for that round, necessitating the use of "T" for all teams that aren't in last place, which gets a "Q". Is this correct? What happens if the team can no longer qualify for the championship, and can only (or had) qualify to the consolation round and having "QE" is all kinds of awkward? See for example, [[Basketball at the 2015 Southeast Asian Games – Men's tournament]]. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 22:54, 11 June 2015 (UTC)
:{{ping|Howard the Duck}} I would not use T at all (what tournament have they qualified for?), and then use A for those in knockout stage and Q for the others when they qualified for the row they are on. For certain scenarios like "Team can not reach knockout stage, but may qualify for 5th-place match or 7th-place match" the extra letters X, Y and Z can be used. <i style="font-family:Sans-serif">[[User:Qed237|<b style="color:blue">Qed</b><b style="color:red">237</b>]]&#160;[[User talk:Qed237|<b style="color:green">(talk)</b>]]</i> 00:36, 12 June 2015 (UTC)
::As for your 1st question, they qualified for what ever playoff the last-placed team qualifies? All teams in Group A had qualified for the 7th place match, and all Group B teams qualified to the 8th place match. For group A, "Team can not reach knockout stage, but may qualify for 7th-place match" doesn't make sense since all teams qualified for this stage. This is also the case for the [[2015 FIBA Asia Championship for Women]], where there are six teams in Level I, then the top 4 progress to the semifinals, and the bottom 2 play in the promotion/relegation round: All teams qualify to the promotion/relegation round by virtue of being there.
::As for your suggestion it's feasible except for the instance I cited above. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 01:07, 12 June 2015 (UTC)
:::Okay so lets take this step-by-step.
:::*T (Tournament qualified but round not decided) – Should be used when there are qualification for tournament and when round has not yet been decided, for example in league tables when team has qualified for Champions League, but may start in group stage or playoff round. There is no sense in using it when all teams qualify for something.
Line 720 ⟶ 719:
:::*X,Y,Z (extra letters) – These extra letters can be set manually to explain further scenarios for example "team can not be relegated", "team can not advance to knockout stage" or whatever you want
:::Does this clear something up? <i style="font-family:Sans-serif">[[User:Qed237|<b style="color:blue">Qed</b><b style="color:red">237</b>]]&#160;[[User talk:Qed237|<b style="color:green">(talk)</b>]]</i> 09:12, 12 June 2015 (UTC)
::::"There is no sense in using it when all teams qualify for something." Yeah, this is my question. When all teams qualify for something, it's "T", no question. I know how the other letters work, so thanks, I guess? –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 12:51, 12 June 2015 (UTC)
 
*<s>{{ping|Qed237}}, you reverted my changes of (A) to (Q). This is SOP, semifinalists get a (Q). This was what was done in the [[2015 AFC Asian Cup]] and [[2015 Africa Cup of Nations]] page. I'm of the impression that (A) is used for things such as promotion/relegation playoffs in leagues. What's up with that? –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 14:04, 12 June 2015 (UTC)</s>
**Apparently, (A) is used, which is weird. (Q) is the most logical as the team "qualified to the semifinals". That's what even the description says. (A) "advances to further round" is unnecessarily ambiguous. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 14:16, 12 June 2015 (UTC)
::::{{ping|Howard the Duck}} A is when you advance to next round and Q is when you qualify for something, like in [[2014–15 UEFA Champions League]] teams that advanced to knockout got A and the third-placed teams that qualified for Europa League got Q. In qualification stage you get A when moving to next round and a Q when you qualified for main tournament. <i style="font-family:Sans-serif">[[User:Qed237|<b style="color:blue">Qed</b><b style="color:red">237</b>]]&#160;[[User talk:Qed237|<b style="color:green">(talk)</b>]]</i> 15:38, 12 June 2015 (UTC)
:::::Further guidance on the use of (A) and (Q). In the ongoing World Cup qualification, (Q) goes to the teams that qualify outright, and (A) goes to the team that plays in the playoffs. Is that correct? –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 21:06, 13 June 2015 (UTC)
::::::Yes that is true, if a team qualifies for main tournament ([[2018 FIFA World Cup]]) use Q, if they qualify for next round/playoffs use A. <i style="font-family:Sans-serif">[[User:Qed237|<b style="color:blue">Qed</b><b style="color:red">237</b>]]&#160;[[User talk:Qed237|<b style="color:green">(talk)</b>]]</i> 00:13, 14 June 2015 (UTC)
 
Line 743 ⟶ 742:
*Eventual addition of more columns ("Home", "Road", "Conf", "Div", etc.)
:*This a pipeline further down the road, but seeing US league use these columns, they should be added eventually if this would be universally used.
–'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 11:27, 24 April 2015 (UTC)
:All these changes are possible technically, I would like to add the default value when no games are played in the mix. Currently this displays an em dash (—), is this fine or should it be something else? <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 14:11, 24 April 2015 (UTC)
::Default value in what column? For GB, the #1 team is traditionally denoted with an emdash. For wins, losses PF, PA and PD, it's always zero. PCT's trickier because other people have edit warred on me because [[division by zero]] isn't zero but they insist it to be zero (I wanted it to be left blank; I could live with an emdash too). –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 15:02, 24 April 2015 (UTC)
:::I referred to the PCT column here, the others seem okay as standard. If there are no objections to your suggestions, I will start implementing them starting with the least controversial ones. {{ping|Asturkian}} has implemented the percentage style tables on some articles and might have an opinion about these points. <span style="border:1px solid maroon; padding:0 2px">[[User:CRwikiCA|<span style="font-family:'Courier';color:maroon">CRwikiCA</span>]]&nbsp;[[User talk:CRwikiCA|<i style="color:navy">talk</i>]]</span> 15:59, 24 April 2015 (UTC)
:::The question isn’t really whether divide by zero is technically zero, it’s how that stat is usually indicated. —[[User talk:Wiki Wikardo|Wiki Wikardo]] 12:44, 5 June 2015 (UTC)
Line 756 ⟶ 755:
:*[[2014–15 NBA season|Wikipedia]]: W-L-PCT-GB-(Home-Road)-Div-GP (Home & road records omitted in conference standings)
:It's universal that W-L-PCT-GB, in that order, are the first 4 columns. There's a disagreement on what comes next: Home-Road (always in that order) or Conf-Div (could be reversed). Conference GB only appears on Y!Sports' division standings, but it becomes the "default" in conference standings. PF (PPG)-PA (OPP PPG)-Diff (PPG and OPP PPG being averages of PA and PD respectively) only shows up in 3rd party websites, and Wikipedia doesn't (shouldn't?) have "Last 10" and "Streaks" (which are pretty much worthless). Wikipedia has the "GP" (Games played) column in the end for conference standings but it should be before "Wins" if ever that'll be included.
:Since a full blown template would likely include, aside from the default 4 columns, Conf, Div, Home and Road records, and that Conf and Div records are actually used as tiebreakers, and that it would be used in "Division" standings where "Div" records are the next tiebreakers after head-to-head, I'd suggest W-L-PCT-GB-Div-Conf-Home-Road. PF and PA are optional columns that would always be there no matter what, so if someone wants that it could easily be added. These are all optional columns so we'd have flexibility on what to include. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 18:00, 29 April 2015 (UTC)
::At least for NFL tables, I don’t think I’ve ever seen {{smallcaps all|DIV}}–{{smallcaps all|CONF}} before {{smallcaps all|HOME}}–{{smallcaps all|AWAY}}, and NBA’s site seems to be in the minority.—[[User talk:Wiki Wikardo|Wiki Wikardo]] 12:44, 5 June 2015 (UTC)
 
Line 764 ⟶ 763:
 
::Yeah I'm indifferent now on "PCT" vs. "Pct". Some countries use "Win%" or some other variation. Perhaps this should be customizable. Same with which comes first between Div-Conf and Home-Away.
::As for home and away records, most tables, such as the [http://www.bbc.com/sport/football/tables BBC]'s don't provide home and away records, although it's true that I had stumbled upon tables with such stats. In U.S. sports home and away records are always given. –'''[[User:Howard the Duck|<fontspan colorstyle="color:#FFA500;">H</fontspan>]][[User talk:Howard the Duck|<fontspan colorstyle="color:#FFA500;">T</fontspan>]][[Special:Contributions/Howard the Duck|<fontspan colorstyle="color:#FFA500;">D</fontspan>]]''' 22:54, 11 June 2015 (UTC)
:::Varying the order of Home–Away and Div–Conf would be more work for whoever has to program it, I’d think, for very little gain (and at the cost of consistency, I might add). Home and Road records seem to be more prominent in sports like American football and basketball, but less common in MLB tables.
:::There’s also a slight distinction in how ''PCT'' is calculated versus ''Win%''—draws count for .5 of a win in American sport, whereas a win percentage is simply the percentage of wins to total games played (and is actually expressed as a percentage). (In [[Australian Football League|AFL]] standings, however, Win% is a measure of points difference.) —[[User talk:Wiki Wikardo|Wiki Wikardo]] 07:44, 14 June 2015 (UTC)
Line 1,804 ⟶ 1,803:
A number of leagues use a percentage system instead of goal difference, where if you beat a team 10–5 you will have a percentage of 200%. The formula for this is <code>100/(points_against)*(points_for)</code> and can be enabled in this module via <code>|use_goal_percentage=yes</code> in the WDL style. You can see this at [[Template:AFL_Ladder/2017]] for a real-world example using the existing module.
 
However, some leagues (such as the [[SANFL]]) that use percentages use an absolute percentage system instead, where 100% is the maximum and means you scored 100% of the points in every match you played. The formula for this is <code>100/(points_against+points for)*(points_for)</code>. Would it be possible to have the `|use_goal_percentage=` param also accept "absolute" as input, resulting in the above format? [[User:Sellyme|<fontspan colorstyle="color:#008080;">'''Sellyme'''</fontspan>]]<sup>[[User talk:Sellyme|<fontspan colorstyle="color:#009933;">'''Talk'''</fontspan>]]</sup> 12:46, 16 April 2017 (UTC)
 
== teams tied on all tiebreakers ==
Line 2,058 ⟶ 2,057:
== Problems with Module ==
 
When one taps onto the ''View, Talk, Edit'' links? one doesn't get taken to those areas. Instead the teams get randomly re-ordered in their positions. See example: {{tl|2017–18 NHL Eastern Conference standings}} <br> [[User:GoodDay|GoodDay]] ([[User talk:GoodDay|talk]]) 11:30, 27 March 2018 (UTC)
: [[User:GoodDay|GoodDay]], I started a [[Wikipedia:Village_pump_(technical)#Sortable_link_disables_navbar_links?|thread at VPT]] since this appears to be a larger issue. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 15:45, 27 March 2018 (UTC)
: [[User:GoodDay|GoodDay]], probably fixed now at the expense of the tooltips for the v-t-e links. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 17:27, 27 March 2018 (UTC)
Line 2,080 ⟶ 2,079:
:I agree. Even sports like Darts could benefit from that so that tables like [[2018_Premier_League_Darts#Table|this one]] can be generated through this module.[[User:Tvx1|T]][[User Talk:Tvx1|v]][[Special:Contributions/Tvx1|x]]1 22:27, 22 February 2018 (UTC)
:: [[User:Piranha249|Piranha249]] and {{U|Tvx1}} can you provide a simple example showing the desired output? this module can use sport-specific submodules, so we could probably design one for a particular sport. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 18:01, 13 March 2018 (UTC)
::: {{U|Frietjes}}, I posted here [[Module_talk:Sports_table/Archive_1#Absolute_percentage_parameter|about a year ago]] with a request that could make the template extensible for a few more sports. Figured I'd bring that up again while the topic was active since it seems like no-one saw the original post. You can find the desired output for that suggestion at [[2017 SANFL season#Ladder]]. [[User:Sellyme|<fontspan colorstyle="color:#008080;">'''Sellyme'''</fontspan>]]<sup>[[User talk:Sellyme|<fontspan colorstyle="color:#009933;">'''Talk'''</fontspan>]]</sup> 19:22, 13 March 2018 (UTC)
:::: {{U|Sellyme}}, see [[User:Frietjes/sanfl]]. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 21:40, 14 March 2018 (UTC)
::::: This seems to work perfectly, I've just updated the 2017 season template with it and nothing is on fire. Thanks for the update! [[User:Sellyme|<fontspan colorstyle="color:#008080;">'''Sellyme'''</fontspan>]]<sup>[[User talk:Sellyme|<fontspan colorstyle="color:#009933;">'''Talk'''</fontspan>]]</sup> 23:18, 14 March 2018 (UTC)
::: {{U|Frietjes}}, I linked to an example in my previous comment.[[User:Tvx1|T]][[User Talk:Tvx1|v]][[Special:Contributions/Tvx1|x]]1 19:51, 13 March 2018 (UTC)
:::: {{U|Tvx1}}, yes, but what is the mathematical relationship between the columns? obviously Pld = W + D + L, and it looks like +/- = LF - LA? what about the rest? [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 20:48, 13 March 2018 (UTC)
Line 2,096 ⟶ 2,095:
{{#invoke:Sports table|main|style=WDL
|update = complete
|showteam={{{team|}}}
|template_name=
|showteam={{{team}}}
|matches_text=game(s)
|title=[[National Football Conference|NFC]]
Line 2,108 ⟶ 2,106:
|split4=yes
|split6=yes
|name_PHI=PHI
|name_MIN=MIN
|name_LAR=LAR
|name_NO =NO
|name_CAR=CAR
|name_ATL=ATL
|name_DET=DET
|name_SEA=SEA
 
|team1=PHI |team2=MIN |team3=LAR |team4=NO |team5=CAR |team6=ATL |team7=DET |team8=SEA
Line 2,706 ⟶ 2,712:
:::About the possibility of compiling the "played" and "points" columns, <del>it's a more complex thing and I still have to trace back that example, so for the moment let's put it apart</del> I've found again the examples, you can find them in the sandbox just below the first ones.
:::Thanks again! --[[User:Sannita|Sannita]] - <small>''[[User talk:Sannita|not just another it.wiki sysop]]''</small> 11:06, 21 July 2019 (UTC)
 
== Baseball/Softball ==
 
Hi, I wanted to use the module for baseball/softball pages, there is a small problem here, it seems our options are sets/games/goals/points/frames/matches, but in those sports it's about '''runs'''. is this possible to add that to the options ? [[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 22:17, 13 August 2019 (UTC)
: any answer ? [[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 10:01, 18 August 2019 (UTC)
::It looks like it should be simple enough in the WDL module, by adding the below condition:
::{{syntaxhighlight|lang=lua|code= if for_against_style==}}
::{{syntaxhighlight|lang=lua|code= elseif for_against_style=='r' or for_against_style=='run' or for_against_style=='runs' then
fa_letter = 'R'
fa_word_sing = 'Run'
fa_word_plur = 'Runs'}}
::I can't do this myself as I'm not a template editor, but it is possible to add an edit request for this. Is it the WDL version that you want to use? [[User:Spike &#39;em|Spike &#39;em]] ([[User talk:Spike &#39;em|talk]]) 10:40, 19 August 2019 (UTC)
::: Yes exactly. as simple as that. I thought that already existed for ''sets''' but I was wrong, in some sports (like beach handball) it's about winning sets. I know it's possible to use the "volleyball format" but having that option for sets is even better. [[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 10:45, 19 August 2019 (UTC)
::::I've added this code to {{ml|Sports table/WDL/sandbox}}, so can you try this (by doing <code>{{#invoke:Sports table|main|style=WDL/sandbox|for_against_style=R/run/runs|...</code> and if that works then I'll make an edit request. As an example
{{#invoke:Sports table|main|style=WDL/sandbox
|showteam={{{showteam|no}}} |only_pld_pts={{{only_pld_pts|no}}} |show_matches={{{show_matches|no}}}|for_against_style=R
|team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE
|win_FDT=5 |loss_FDT=0 |gf_FDT=10 |ga_FDT=0
|win_BBB=3 |draw_BBB=1 |loss_BBB=1 |gf_BBB= 3 |ga_BBB=2
|win_CCC=3 |loss_CCC=2 |gf_CCC= 3 |ga_CCC=3
|win_DDD=1 |draw_DDD=1 |loss_DDD=3 |gf_DDD= 1 |ga_DDD=4
|win_EEE=0 |loss_EEE=5 |gf_EEE= 0 |ga_EEE=6
|name_FDT=[[FIFA World Cup Dream Team]]
|name_BBB=Team 2
|name_CCC=Team 3
|name_DDD=DDD
|name_EEE={{fb|GIB}}
}}
::::[[User:Spike &#39;em|Spike &#39;em]] ([[User talk:Spike &#39;em|talk]]) 11:45, 19 August 2019 (UTC)
::::: Thanks, that worked well. even though I had to try it with <code>{{#invoke:Sports table|main|style=WL/sandbox</code> because there is no "draw" in those sports. the outcome was the same though. I really appreciate your answer. and while you are doing this, is that possible fix some codes for "sets" this is probably just a mistake
::{{syntaxhighlight|lang=lua|code= elseif for_against_style=='m' or for_against_style=='set' or for_against_style=='matches' then
fa_letter = 'M'
fa_word_sing = 'Match'
fa_word_plur = 'Matches'}}
::::: I assume someone wanted to create different codes for sets and matches but mixed them together by mistake. I think there should be separate codes for sets like this:
::{{syntaxhighlight|lang=lua|code= elseif for_against_style=='s' or for_against_style=='set' or for_against_style=='sets' then
fa_letter = 'S'
fa_word_sing = 'Set'
fa_word_plur = 'Sets'}} [[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 12:13, 19 August 2019 (UTC)
::::::I had noticed that and was in the process of changing that in the sandbox version (so please try again)! The WL module just calls the WDL one with one of the necessary parameters set, so any change to the live version will do the same. I'll go ahead and make the edit request and see if anyone answers that. [[User:Spike &#39;em|Spike &#39;em]] ([[User talk:Spike &#39;em|talk]]) 12:22, 19 August 2019 (UTC)
 
== Template-protected edit request on 19 August 2019 ==
 
{{edit template-protected|Module:Sports table/WDL|answered=yes}}
As per discussion above, and as tested in WDL/sandbox, in the code block starting:
{{syntaxhighlight|lang=lua|code=for_against_style = string.lower(for_against_style)
if for_against_style=='g' or for_against_style=='goal' or for_against_style=='goals' then}}
 
change the following (which originated [https://en.wikipedia.org/w/index.php?title=Module:Sports_table/WL&diff=next&oldid=835250345 here]) from
{{syntaxhighlight|lang=lua|code=elseif for_against_style=='m' or for_against_style=='set' or for_against_style=='matches' then}}
to
{{syntaxhighlight|lang=lua|code=elseif for_against_style=='m' or for_against_style=='match' or for_against_style=='matches' then}}
and add 2 new options for sets and runs:
{{syntaxhighlight|lang=lua|code=elseif for_against_style=='s' or for_against_style=='set' or for_against_style=='sets' then
fa_letter = 'S'
fa_word_sing = 'Set'
fa_word_plur = 'Sets'
elseif for_against_style=='r' or for_against_style=='run' or for_against_style=='runs' then
fa_letter = 'R'
fa_word_sing = 'Run'
fa_word_plur = 'Runs'
}}
before
{{syntaxhighlight|lang=lua|code= elseif for_against_style=='none' then}} [[User:Spike &#39;em|Spike &#39;em]] ([[User talk:Spike &#39;em|talk]]) 12:38, 19 August 2019 (UTC)
: probably done. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 13:16, 19 August 2019 (UTC)
::Thank you, looks good in the test I setup. [[User:Spike &#39;em|Spike &#39;em]] ([[User talk:Spike &#39;em|talk]]) 13:33, 19 August 2019 (UTC)
 
== Additional column with bonus points ==
 
Hi, I'm thinking of using <code>Module:Sports table</code> in articles related to motorcycle speedway. But in many leagues there is a additional bonus points column. I like the <code>WDL</code> style table, but it must have extra bonus column. Please tell me what should I do. I need to create a new WDL based module with extra column? Or it's more complex problem and some changes in <code>Module:Sports table</code> are needed? [[User:Klima|Klima]] ([[User talk:Klima|talk]]) 11:28, 2 October 2019 (UTC)
:If you use WDL, you can use {{para|show_bonus_points|yes}} in the module setup to display a bonus points column and {{para|adjust_points_AAA|0}} and {{para|adjust_points_BBB|1}} to assign bonuses to the individual teams in the data. [[User:Spike &#39;em|Spike &#39;em]] ([[User talk:Spike &#39;em|talk]]) 11:59, 2 October 2019 (UTC)
:e.g.
{{#invoke:Sports table|main|style=WDL
|show_bonus_points=yes|for_against_style=P
|team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE
|win_FDT=5 |loss_FDT=0 |gf_FDT=10 |ga_FDT=0
|win_BBB=3 |draw_BBB=1 |loss_BBB=1 |gf_BBB= 3 |ga_BBB=2|adjust_points_BBB=-1
|win_CCC=3 |loss_CCC=2 |gf_CCC= 3 |ga_CCC=3
|win_DDD=1 |draw_DDD=1 |loss_DDD=3 |gf_DDD= 1 |ga_DDD=4
|win_EEE=0 |loss_EEE=5 |gf_EEE= 0 |ga_EEE=6|adjust_points_EEE=3
|name_FDT=Team A
|name_BBB=Team 2
|name_CCC=Team 3
|name_DDD=DDD
|name_EEE=The E's
}} [[User:Spike &#39;em|Spike &#39;em]] ([[User talk:Spike &#39;em|talk]]) 12:05, 2 October 2019 (UTC)
::Thanks a lot. I study module documentation, but missed {{para|show_bonus_points}} parameter. [[User:Klima|Klima]] ([[User talk:Klima|talk]]) 16:44, 6 October 2019 (UTC)
 
== Input arg check ==
 
I added an initial attempt at input argument parameter checking to find typos or other unintended output. this is definitely a work in progress, but at the moment, it should be only generating false positives, and only using hidden tracking categories (and notes in preview). please let me know if you see any serious problems. I will be working on making the tracking more meaningful and accurate of the next several days. the base category for the tracking is [[:Category:Sports table tracking]] with subcategories for various issues. I would definitely note worry about the "ignored parameters" category right now, since some of those are parameters which may be implemented in the future. I will try to document each category as soon as the categories fill up. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 16:48, 22 October 2019 (UTC)
 
== Team list ==
 
Basic usage of WDL module for listing 20 team positions is like:
 
|team1=ARS |team2=AVL |team3=BOU|team4=BHA |team5=BUR |team6=CHE |team7=CRY |team8=EVE|team9=LEI|team10=LIV |team11=MCI |team12=MUN |team13=NEW |team14=NOR |team15=SHU |team16=SOU |team17=TOT |team18=WAT |team19=WHU |team20=WOL
 
Updating team positions after a single match is played is awkward: See [https://en.wikipedia.org/w/index.php?title=Template:2019%E2%80%9320_Premier_League_table&diff=next&oldid=909752199]
 
|team1=<span style='background:cyan'>LIV</span> |team2=<span style='background:cyan'>ARS</span> |team3=<span style='background:cyan'>AVL</span> |team4=<span style='background:cyan'>BOU</span> |team5=<span style='background:cyan'>BHA</span> |team6=<span style='background:cyan'>BUR</span> |team7=<span style='background:cyan'>CHE</span> |team8=<span style='background:cyan'>CRY</span> |team9=<span style='background:cyan'>EVE</span> |team10=<span style='background:cyan'>LEI</span> |team11=<span style='background:cyan'>MCI</span> |team12=<span style='background:cyan'>MUN</span> |team13=<span style='background:cyan'>NEW</span> |team14=<span style='background:cyan'>SHU</span> |team15=<span style='background:cyan'>SOU</span> |team16=<span style='background:cyan'>TOT</span> |team17=<span style='background:cyan'>WAT</span> |team18=<span style='background:cyan'>WHU</span> |team19=<span style='background:cyan'>WOL</span> |team20=<span style='background:cyan'>NOR</span>
 
Wouldn't it be possible to allow a parameter team_list? like:
 
|team_list==ARS,AVL,BOU,BHA,BUR,CHE,CRY,EVE,LEI,LIV,MCI,MUN,NEW,NOR,SHU,SOU,TOT,WAT,WHU,WOL
 
That would make changes easier to handle:
 
|team_list==<span style='background:cyan'>LIV,</span>ARS,AVL,BOU,BHA,BUR,CHE,CRY,EVE,LEI,MCI,MUN,NEW,SHU,SOU,TOT,WAT,WHU,WOL<span style='background:cyan'>,NOR</span>
 
Cheers,--[[User:Tykyheg|Tykyheg]] ([[User talk:Tykyheg|talk]]) 07:53, 17 October 2019 (UTC)
:[[User:Tykyheg|Tykyheg]], okay, this should work now, but using {{para|team_order|LIV, ARS, ...}} I have also been thinking we could probably make the team ordering automatic with some keyword, but that would require more work. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 15:03, 20 October 2019 (UTC)
::If the order is based on the points column (as an example), then that can be used to initially sort the data into an array then continue with the rest of the code based on that. --[[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 15:33, 20 October 2019 (UTC)
::: This change in articles edited by experienced editors who have been using this module for years may come with some resistance, I wonder if it should be discussed somewhere where more responses would be expected. I like the automatic ordering idea, but it sounds difficult considering the different tie-breaking rules in each league. [[User:Equineducklings|Equineducklings]] ([[User talk:Equineducklings|talk]]) 15:50, 20 October 2019 (UTC)
::::Could you give an example of a league table you'd think would be hard to implement it for? From the various tables I've seen, there seems to always be a column that the team order is based on. --[[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 15:53, 20 October 2019 (UTC)
::::: if I recall, we had about 7 different orderings in the old {{tl|fb cl footer}} so we could have something like {{para|team_order|Pts/GD/GF}} which would mean 1) points, 2) goal difference, 3) Goals for. of course, the default would be to have the order manually specified. unfortunately, the way that the module currently works, it will require either 2 passes, or some post processing to fix the order after the first pass. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 15:56, 20 October 2019 (UTC)
:::::: I imagine implementation may be more difficult when head-to-head is the tie-breaker, which many leagues use, some as the first tie-breaker. Maybe it's easier than I assume, though. [[User:Equineducklings|Equineducklings]] ([[User talk:Equineducklings|talk]]) 16:01, 20 October 2019 (UTC)
::::::: no, you are correct, making head-to-head work automatically would be difficult, and probably not possible to code for all the cases. the question is if it's worth it to have the option to auto sort for some cases. just because we can't make automatic sorting work for all cases doesn't mean we can't have as an option for some cases. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 16:12, 20 October 2019 (UTC)
:::::::: Like I said, I like the idea, I just wasn't sure how difficult it would be. If it was done automatically and editors have to adjust manual for head-to-head, I'm sure it would work smoothly. Adjustments and notes are already needed to deal with head-to-head anyway. [[User:Equineducklings|Equineducklings]] ([[User talk:Equineducklings|talk]]) 16:54, 20 October 2019 (UTC)
{{od|::::::::}} I do think this would be an extremely useful option to have. I'm also curious if it would be possible to have an entire table built from all the match results? Basically formatting the information as done with [[Module:Sports results]], except the module would then calculate each team's W/D/L/GF/GA from these results. [[User:S.A. Julio|S.A. Julio]] ([[User talk:S.A. Julio#top|talk]]) 18:45, 24 October 2019 (UTC)
:Agree, would make it much easier to have it kind of automatic. With the results or "just" by adding the data. [[User:Kante4|Kante4]] ([[User talk:Kante4|talk]]) 18:30, 25 October 2019 (UTC)
 
== Volleyball ==
 
I want to ask for some changes for '''Module:Sports table/Volleyball'''
: 1) In general in tables for football and other sports, you have that option to sometimes leave it blank or put something like "—" in case all results are not available, this option is not possible with volleyball, the table replaces it with a Zero. I hope this can be the same as other sports, for both Sets and Points.
: 2) If Sl or Spl = 0 and sw/spw has a value (and not zero) the outcome for SR/SPR should be "MAX" and not "—", this is how it works for FIVB tables.
: 3) I'm not sure if this one is possible but it doesn't hurt asking, in past for a period time, SPR has adventage over SR as the first tiebreaker , is it possible to have that option to have those columns of SPW/SPL/SPR before SW/SL/SR ? [[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 14:18, 23 October 2019 (UTC)
: 1) Blank defaults to zero per [[Module_talk:Sports_table/Archive_1#WDL_default|this comment]] from {{U|Hhkohh}} which I don't agree with. However, making it so '-' works shouldn't be a problem (now done). 2) probably done now. 3) for football, we have {{para|loss_before_draw|y}} so we could probably do something similar here, just need to decide on the parameter. how about {{para|setpoints_before_sets|y}}? [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 19:41, 24 October 2019 (UTC)
:: Thanks. 1 and 2 changes look very good. and that's also a good parameter, I just want to ask something more if possible. is it possible to simply remove the SPW/SPL/SPR columns in case most results are not available in details (pages like [[Nine-a-side volleyball at the 1958 Asian Games – Men|this]]) ? [[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 01:21, 25 October 2019 (UTC)
:::[[User:Mohsen1248|Mohsen1248]], okay, this should work now: {{para|setpoints_before_sets|y}} (default no), {{para|show_sets|n}} (default yes), and {{para|show_setpoints|n}} (default yes). [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 18:36, 25 October 2019 (UTC)
:::: Thanks, works perfectly. [[User:Mohsen1248|Mohsen1248]] ([[User talk:Mohsen1248|talk]]) 19:34, 25 October 2019 (UTC)
 
== Qualification notes ==
 
{{ping|Frietjes}} Would it be possible to hide the notes that are displayed [[2019 UEFA Nations League Final#Route to the final|here]]? As the qualification column is not meant to be displayed on this page, the note is "stranded". [[User:S.A. Julio|S.A. Julio]] ([[User talk:S.A. Julio#top|talk]]) 00:08, 31 October 2019 (UTC)
:[[User:S.A. Julio|S.A. Julio]], fixed for that particular case. the code for that aspect is not very robust. for example, it looks like it may do the same thing if that column is entirely empty but not explicitly suppressed with the {{para|only_pld_pts|y}} option. I will work on it more later. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 12:05, 31 October 2019 (UTC)
::Great, thank you! [[User:S.A. Julio|S.A. Julio]] ([[User talk:S.A. Julio#top|talk]]) 16:12, 31 October 2019 (UTC)