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="
local group_head_text = Args['group_header'] or '<abbr title="
local team_head_text = Args['team_header'] or '
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 = '
fa_word_plur = '
elseif for_against_style=='none' then
hide_for_against = true
else
fa_letter = 'M'
fa_word_sing = '
fa_word_plur = '
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 = '
pfa_word_plur = '
elseif point_for_against_style=='none' then
hide_point_for_against = true
else
pfa_letter = 'P'
pfa_word_sing = '
pfa_word_plur = '
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="
if loss_first then
tt = p_sub.colhead(tt,20,'<abbr title="
else
tt = p_sub.colhead(tt,20,'<abbr title="
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..'
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="
end
if full_table then
|