Modul:Sports table/Badminton team: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k tambah width
kTidak ada ringkasan suntingan
Baris 15:
-- Custom header options
local draw_head_text = Args['draw_header'] or '<abbr title="DrawnUndian">DU</abbr>'
local group_head_text = Args['group_header'] or '<abbr title="GroupGrup">GrpGrup</abbr>'
local team_head_text = Args['team_header'] or 'TeamTim'
local loss_first = Args['loss_before_draw'] or false
-- What to rank the teams by
Baris 41:
if for_against_style=='m' or for_against_style=='match' or for_against_style=='matches' then
fa_letter = 'M'
fa_word_sing = 'MatchMain'
fa_word_plur = 'MatchesMain'
elseif for_against_style=='none' then
hide_for_against = true
else
fa_letter = 'M'
fa_word_sing = 'MatchMain'
fa_word_plur = 'MatchesMain'
end
Baris 101:
if point_for_against_style=='p' or point_for_against_style=='match' or point_for_against_style=='points' then
pfa_letter = 'P'
pfa_word_sing = 'PointPoin'
pfa_word_plur = 'PointsPoin'
elseif point_for_against_style=='none' then
hide_point_for_against = true
else
pfa_letter = 'P'
pfa_word_sing = 'PointPoin'
pfa_word_plur = 'PointsPoin'
end
-- Whether to use goal ratio (goal average) instead
Baris 135:
tt = p_sub.colhead(tt,20,'<abbr title="Played">Main</abbr>') -- Matches played col
if full_table then
tt = p_sub.colhead(tt,20,'<abbr title="WonMenang">M</abbr>') -- Win col
if loss_first then
tt = p_sub.colhead(tt,20,'<abbr title="LostKalah">K</abbr>') -- Loss col
else
tt = p_sub.colhead(tt,20,'<abbr title="LostKalah">K</abbr>') -- Loss col
end
if not hide_for_against then
Baris 170:
tt = p_sub.colhead(tt,20,'<abbr title="'..pfa_word_sing..' percentage">%</abbr>') -- Percentage col
else
tt = p_sub.colhead(tt,20,'<abbr title="Selisih '..pfa_word_sing..' difference">'..pfa_letter..'D</abbr>') -- Difference col
end
end
Baris 179:
tt = p_sub.colhead(tt,20,'<abbr title="Poin">Poin</abbr>') -- Points col
elseif show_perc then
tt = p_sub.colhead(tt,36,'<abbr title="WinPersentase percentagekemenangan">%M</abbr>') -- Win percentage col
end
if full_table then