Content deleted Content added
ranking style |
MusikBot II (talk | contribs) m Protected "Module:Sports table/Wrestling": High-risk template or module: 251 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)) |
||
(One intermediate revision by one other user not shown) | |||
Line 23:
local show_win = yesno(Args['show_win'] or 'yes')
local show_loss = yesno(Args['show_loss'] or 'yes')
local show_tp = yesno(Args['show_tp'] or 'yes')
local show_round = yesno(Args['show_round'] or 'no')
Line 53 ⟶ 54:
end
tt = p_sub.colhead(tt,28,'<abbr title="Classification points">CP</abbr>') -- Classification points col
if show_tp then
end
if full_table then
tt.count = tt.count+1
Line 92 ⟶ 95:
local show_win = yesno(Args['show_win'] or 'yes')
local show_loss = yesno(Args['show_loss'] or 'yes')
local show_tp = yesno(Args['show_tp'] or 'yes')
local show_round = yesno(Args['show_round'] or 'no')
local digits = Args['digitpad']
Line 156 ⟶ 160:
table.insert(t,'| style="'..ii_fw..cp_fw..bg_col..'" | '..num_align(cp,digits)..cp_string..'\n')
end
if
if tp<0 then
table.insert(t,'| style="'..ii_fw..bg_col..'" | −'..num_align(-tp,digits)..'\n')
table.insert(t,'| style="'..ii_fw..bg_col..'" | '..num_align(tp,digits)..'\n')
end
end
return {t=t, notes_exist=notes_exist, hth_id_list=hth_id_list}
|