Content deleted Content added
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 9:
local team_width = Args['teamwidth'] or '170'
local sort_text = yesno(Args['sortable_table'] or 'no') and 'sortable' or ''
local
local show_touches = yesno(Args['show_touches'] or 'yes')
local show_bouts = yesno(Args['show_bouts'] or 'no')
Line 29:
tt = p_sub.colhead(tt,28,group_head_text) -- Group col
end
tt = p_sub.colhead(tt,team_width,(Args['
if
tt = p_sub.colhead(tt,28,'<abbr title="Matches">M</abbr>') -- Matches played col
end
Line 113:
-- Show maches, touches, bouts, and points
local
local show_touches = yesno(Args['show_touches'] or 'yes')
local show_bouts = yesno(Args['show_bouts'] or 'no')
Line 120:
-- Now that we are done calculating, show actual input values
if tonumber(Args['win_'..team_code_ii] or 0) == nil then
wins = Args['
end
if tonumber(Args['loss_'..team_code_ii] or 0) == nil then
losses = Args['
end
local function numorval(s)
Line 134:
-- Row building
if
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..matches..'\n') -- Played
end
|