Diferencia entre revisiones de «Módulo:Sports table»

Contenido eliminado Contenido añadido
Carpfer9214 (discusión · contribs.)
mSin resumen de edición
Permite traspasar automáticamente los argumentos a través de una plantilla
Línea 25:
local Args = frame.args
local Pargs = frame:getParent().args
if frame == mw.getCurrentFrame() then
origArgs = Pargs
else
origArgs = Args
end
local ii_start, ii_end, N_rows_res = 0
local text_field_result
Línea 139 ⟶ 144:
 
-- Write column headers
t_return = p_style.header(t,ArgsorigArgs,p_sub,pos_label,group_col,VTE_text,full_table,results_header_txt)
if match_table then
-- Add empty column header
Línea 146 ⟶ 151:
-- Add rest of header
t_return = p_matches.header(t_return,ArgsorigArgs,p_sub,N_teams,team_list)
end
t = t_return.tab_text
Línea 315 ⟶ 320:
table.insert(t,'| style="text-align: left; white-space:nowrap;'..ii_fw..bg_col..'"| '..team_string..'\n')-- Team (with possible note)
-- Call to subfunction
t_return = p_style.row(frame,t,ArgsorigArgs,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)
t = t_return.t
notes_exist = t_return.notes_exist
Línea 439 ⟶ 444:
-- Add rest of match row
t = p_matches.row(t,ArgsorigArgs,N_teams,team_list,ii,ii_show)
end