Diferencia entre revisiones de «Módulo:Sports table»
Contenido eliminado Contenido añadido
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,
if match_table then
-- Add empty column header
Línea 146 ⟶ 151:
-- Add rest of header
t_return = p_matches.header(t_return,
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,
t = t_return.t
notes_exist = t_return.notes_exist
Línea 439 ⟶ 444:
-- Add rest of match row
t = p_matches.row(t,
end
|