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

Content deleted Content added
m Archiving 1 discussion(s) from Module talk:Sports table) (bot
m Archiving 1 discussion(s) from Module talk:Sports table) (bot
Line 1,209:
: I, personally, prefer to use the <code>|hth_TEAM</code> because it puts the note by the point total. but, hth is not the most obvious name for it. we could have a <code>|ptnote_TEAM</code> or something like that to make it more obvious. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 14:42, 20 May 2021 (UTC)
:: We could do that. A <code>|hth_TEAM</code> implies it has 1 or more partner, and it's odd to see it being alone (at least when editing via the source, this doesn't change anything for readers). It also resolves issues if the team that had a point deduction is also tied with another team. [[User:Howard the Duck|Howard the Duck]] ([[User talk:Howard the Duck|talk]]) 15:02, 20 May 2021 (UTC)
 
== Winning percentages are actual percentages instead of decimals ==
 
Can an option be done for leagues that do this? [[User:Howard the Duck|Howard the Duck]] ([[User talk:Howard the Duck|talk]]) 13:30, 24 June 2021 (UTC)
 
:@[[User:Howard the Duck|Howard the Duck]] if it's a table using WDL then add a parameter {{para|pct_style|notratio}} will set the display to % not a decimal ratio. See {{tl|2021 RFL Women's Super League regular season table}} for an example. [[User:Nthep|Nthep]] ([[User talk:Nthep|talk]]) 11:55, 25 June 2021 (UTC)
::This one's using WL. [[User:Howard the Duck|Howard the Duck]] ([[User talk:Howard the Duck|talk]]) 12:39, 25 June 2021 (UTC)
:::Try it anyway. Looking at the code WL utilises the code for WDL but hides draws, so on that basis the {{para|pct_style}} parameter should work. [[User:Nthep|Nthep]] ([[User talk:Nthep|talk]]) 14:08, 25 June 2021 (UTC)
::::Great, it does work. I would've preferred having the percent sign though. As for your example, are the percentages boldfaced/emphasized on league tables on other websites/media? [[User:Howard the Duck|Howard the Duck]] ([[User talk:Howard the Duck|talk]]) 18:36, 25 June 2021 (UTC)
::::I realized there are many ways to present this. Others are in ratios, them round off to the nearest tenths or hundredths. Still others are in decimals and always rounded off to the nearest hundredths, but some have [[leading zero]]es and some do not. I know this can easily be set up by people here but I guess that would be too much customization on something that's ultimately readable by everyone. [[User:Howard the Duck|Howard the Duck]] ([[User talk:Howard the Duck|talk]]) 18:52, 25 June 2021 (UTC)