Content deleted Content added
No edit summary |
Sports2021 (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 9:
-- Pre stuff
local team_width = Args['teamwidth'] or '190'
local group_width = Args['groupwidth'] or '28'
local score_width = Args['scorewidth'] or '28'
local sort_text = yesno(Args['sortable_table'] or 'no') and ' sortable' or ''
local show_played = not yesno(Args['hide_played'] or 'no')
Line 103 ⟶ 105:
-- Add group header
if full_table and group_col then
tt = p_sub.colhead(tt,
end
tt = p_sub.colhead(tt,team_width,team_head_text..VTE_text) -- Team col
if show_played then
tt = p_sub.colhead(tt,
end
if full_table then
Line 113 ⟶ 115:
for k,v in ipairs(lbls) do
local apre, tpre = v[1], v[2]
tt = p_sub.colhead(tt,
if loss_first then
tt = p_sub.colhead(tt,
if show_tie then
tt = p_sub.colhead(tt,
end
else
if show_tie then
tt = p_sub.colhead(tt,
end
tt = p_sub.colhead(tt,
end
if rounds_won then
tt = p_sub.colhead(tt,
end
if not hide_for_against and not only_fa_totals then
tt = p_sub.colhead(tt,
tt = p_sub.colhead(tt,
end
if show_perc then
|