Module:Sports table/Wrestling: Difference between revisions

Content deleted Content added
add optional round
bolding and notes
Line 112:
-- What to rank the teams by
local cp_fw, cp_string, round_fw, round_string = 'font-weight:', bold;'', '', ''
if show_round then
local cp_string = hth_string
local round_fw = 'font-weight: bold;'
local round_string = hth_string
else
local cp_fw = 'font-weight: bold;'
local cp_string = hth_string
end
local show_played = not yesno(Args['hide_played'] or 'no')
Line 136 ⟶ 142:
end
if show_round then
table.insert(t,'| style="'..ii_fw..round_fw_bg_colround_fw .. bg_col..'" |'..round..round_string..'\n') -- Lost
end
-- Add − for negative point totals
if cp<0 then
table.insert(t,'| style="'..ii_fw..cp_fw..bg_col..'" | &minus;'..num_align(-cp,digits)..hth_stringcp_string..'\n')
else
table.insert(t,'| style="'..ii_fw..cp_fw..bg_col..'" | '..num_align(cp,digits)..hth_stringcp_string..'\n')
end
if tp<0 then