Module:Sports table: Difference between revisions

Content deleted Content added
fix template styles
move row scope to name since position_col may be absent
Line 323:
table.insert(t,'|- \n') -- New row
if position_col then
table.insert(t,'! scope="row"| style="text-align: center;'..ii_fw..bg_col..'"| '..pos_num..'\n') -- Position number
end
if full_table and group_col then
Line 335:
team_string = team_name..note_string..status_string
end
table.insert(t,'|! scope="row" 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,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)