Content deleted Content added
ordering of hth tiebreak |
Reorder extra col, so it can be used as an extra tiebreak, even when showing TPR |
||
Line 97:
if show_sb then
tt = p_sub.colhead(tt,28, '<abbr title="Sonneborn–Berger score">[[Sonneborn-Berger score|SB]]</abbr>')
end▼
if show_tpr then▼
tt = p_sub.colhead(tt,28, '<abbr title="Tournament performance rating">[[Glossary of chess#performance rating|TPR]]</abbr>')▼
end
if extra_col then
tt = p_sub.colhead(tt,28,extra_head_text)
▲ end
▲ if show_tpr then
▲ tt = p_sub.colhead(tt,28, '<abbr title="Tournament performance rating">[[Glossary of chess#performance rating|TPR]]</abbr>')
end
if full_table then
Line 229:
if show_sb then
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..sb_score..'\n') -- Sonneborn-Berger
end▼
if show_tpr then▼
local tprii = Args['tpr_'..team_code_ii] or ''▼
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..tprii..'\n') -- Performance rating▼
end
if extra_col then
local extraii = Args['extra_'..team_code_ii] or ''
table.insert(t,'| style="'..ii_fw..bg_col..'" |'..extraii..'\n') -- Extra
▲ end
▲ if show_tpr then
▲ local tprii = Args['tpr_'..team_code_ii] or ''
▲ table.insert(t,'| style="'..ii_fw..bg_col..'" |'..tprii..'\n') -- Performance rating
end
|