Module:Sports table/WDL OT: Difference between revisions

Content deleted Content added
update with improvements from Module:Sports table/WDL
No edit summary
Line 20:
local PKwin_head_text = Args['PKwin_header'] or '<abbr title="Won on penalty kicks">PKW</abbr>'
local PKloss_head_text = Args['PKloss_header'] or '<abbr title="Lost on penalty kicks">PKL</abbr>'
 
local show_draw = yesno(Args['show_draw'] or 'yes')
-- Use points instead of goals for/against
local for_against_style = Args['for_against_style'] or 'goals'
Line 45:
if yesno(use_ratio_val) then do_ratio = true end
-- Whether to show the OT win and OT loss and draw columns
local show_OTwin = yesno(Args['showOTwin'] or 'yes')
local show_OTloss = yesno(Args['showOTloss'] or 'yes')
local show_PKwin = yesno(Args['showPKwin'] or 'no')
local show_PKloss = yesno(Args['showPKloss'] or 'no')
local show_draw = yesno(Args['show_draw'] or 'yes')
-- Initialize