Content deleted Content added
m Typo |
Games → Matches |
||
Line 70:
end
-- Show all stats in table or just
local full_table = not Args['only_pld_pts'] -- True if par doesn't exist, false otherwise
-- Custom position column label or note
Line 91:
table.insert(t,'! scope="col" width=28|'..pos_label..'\n') -- Position col
table.insert(t,'! scope="col" width='..team_width..'|Team'..VTE_text..'\n') -- Team col
table.insert(t,'! scope="col" width=28|<abbr title="Played">Pld</abbr>\n') --
if full_table then
table.insert(t,'! scope="col" width=28|<abbr title="Won">W</abbr>\n') -- Win col
Line 170:
local hth_local = Args['hth_'..team_code_ii] or nil
-- Then calculate some values
local
local gdiff = gfor - gaig
local points = win_points*wins + draw_points*draws + loss_points*losses + s_pts
Line 289:
table.insert(t,'! scope="row" style="text-align: center;'..ii_fw..bg_col..'"| '..pos_num..'\n') -- Position number
table.insert(t,'| style="text-align: left; white-space:nowrap;'..ii_fw..bg_col..'"| '..team_name..note_string..status_string..'\n')-- Team (with possible note)
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..
if full_table then
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..wins..'\n') -- Won
Line 416:
-- Create footer text
if update~='complete' and update~='' then
table.insert(t_footer,'Updated to
end
table.insert(t_footer,'Source: '..source)
|