Ir al contenido

Módulo:Sports table/WL PK

De Wikipedia, la enciclopedia libre
Este módulo no tiene página de documentación[crear]
-- Estilo para tablas de fútbol
local pp = {}
local pmod = require('Módulo: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 Args['mostrar_empates'] or 'no'
	Args['showOTwin'] = Args['showOTwin'] or Args['mostrar_gpr'] or 'no'
	Args['showOTloss'] = Args['showOTloss'] or Args['mostrar_ppr'] or 'no'
	Args['showPKwin'] = Args['showPKwin'] or Args['mostrar_gdp'] or 'yes'
	Args['showPKloss'] = Args['showPKloss'] or Args['mostrar_pdp'] or 'yes'
	Args['PKwinpoints'] = Args['PKwinpoints'] or Args['puntos_gdp'] or 2
	Args['PKlosspoints'] = Args['PKlosspoints'] or Args['puntos_pdp'] or 1
	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 Args['mostrar_empates'] or 'no'
	Args['showOTwin'] = Args['showOTwin'] or Args['mostrar_gpr'] or 'no'
	Args['showOTloss'] = Args['showOTloss'] or Args['mostrar_ppr'] or 'no'
	Args['showPKwin'] = Args['showPKwin'] or Args['mostrar_gdp'] or 'yes'
	Args['showPKloss'] = Args['showPKloss'] or Args['mostrar_pdp'] or 'yes'
	Args['PKwinpoints'] = Args['PKwinpoints'] or Args['puntos_gdp'] or 2
	Args['PKlosspoints'] = Args['PKlosspoints'] or Args['puntos_pdp'] or 1
	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 Args['mostrar_empates'] or 'no'
	Args['showOTwin'] = Args['showOTwin'] or Args['mostrar_gpr'] or 'no'
	Args['showOTloss'] = Args['showOTloss'] or Args['mostrar_ppr'] or 'no'
	Args['showPKwin'] = Args['showPKwin'] or Args['mostrar_gdp'] or 'yes'
	Args['showPKloss'] = Args['showPKloss'] or Args['mostrar_pdp'] or 'yes'
	Args['PKwinpoints'] = Args['PKwinpoints'] or Args['puntos_gdp'] or 2
	Args['PKlosspoints'] = Args['PKlosspoints'] or Args['puntos_pdp'] or 1
	return pmod.status(Args)
end

return pp