Module:Sports table/WDL OT: Difference between revisions

Content deleted Content added
optional head_text parameters
abbreviations should match the text. Changed abbreviations to match the text, but it can also go the other way. "TBR" is not an abbreviation for tiebreaker. This should be handled similar to other one letter words.
Line 20:
local group_head_text = Args['group_header'] or '<abbr title="Group">Grp</abbr>'
local win_head_text = Args['win_header'] or '<abbr title="Won">W</abbr>'
local OTwin_head_text = Args['OTwin_header'] or '<abbr title="Won in overtime">OTWWIO</abbr>'
local OTloss_head_text = Args['OTloss_header'] or '<abbr title="Lost in overtime">OTLLIO</abbr>'
local PKwin_head_text = Args['PKwin_header'] or '<abbr title="Won on penalty kicks">PKWWOPK</abbr>'
local PKloss_head_text = Args['PKloss_header'] or '<abbr title="Lost on penalty kicks">PKLLOPK</abbr>'
local loss_head_text = Args['loss_header'] or '<abbr title="Lost">L</abbr>'
local bonus_head_text = Args['bonus_header'] or '<abbr title="Bonus points">BP</abbr>'
local tiebr_head_text = Args['tiebr_header'] or '<abbr title="Tiebreaker">TBRT</abbr>'
-- What to rank the teams by