Module:Sports table/WL OT: Difference between revisions
Jump to navigation
Jump to search
en>Frietjes (rewrite as a wrapper to reduce code duplication) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 23:01, 26 October 2021
Documentation for this module may be created at Module:Sports table/WL OT/doc
-- Style for football tables
local pp = {}
local pmod = require('Module:Sports table/WDL OT')
function pp.header(t,Args,p_sub,pos_label,group_col,VTE_text,full_table,results_header_txt)
Args['show_draw'] = Args['show_draw'] or 'no'
return pmod.header(t,Args,p_sub,pos_label,group_col,VTE_text,full_table,results_header_txt)
end
function pp.row(frame,t,Args,p_sub,notes_exist,hth_id_list,full_table,rand_val,team_list,team_code_ii,ii_start,ii_end,ii_fw,bg_col,N_teams,ii,ii_show)
Args['show_draw'] = Args['show_draw'] or 'no'
return pmod.row(frame,t,Args,p_sub,notes_exist,hth_id_list,full_table,rand_val,team_list,team_code_ii,ii_start,ii_end,ii_fw,bg_col,N_teams,ii,ii_show)
end
function pp.status(Args)
Args['show_draw'] = Args['show_draw'] or 'no'
return pmod.status(Args)
end
return pp