Modul:Sports series: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
opsi penentuan pemenang dengan peraturan gol tandang
tim pemenang otomatis cetak tebal
Baris 219:
-- Process the font size parameter
local size
if args.sizefont_size then
-- Remove trailing '%' if present and convert to number
size = tonumber((args.sizefont_size:gsub('%s*%%$', '')))
if size then
size = math.max(size, 85) -- Ensure size is at least 85
Baris 267:
local teamWidth = (tonumber(args['team_width']) and args['team_width'] .. 'px') or '250px'
local scoreWidth = (tonumber(args['score_width']) and args['score_width'] .. 'px') or '80px'
local boldWinner = not (args.bold_winner and== 'n' or (args.bold_winner == 'yno' or args.bold_winner == 'yes0' or args.bold_winner == '1false' or args.bold_winner == 'truenull')
local colorWinner = args.color_winner and (args.color_winner == 'y' or args.color_winner == 'yes' or args.color_winner == '1' or args.color_winner == 'true')
local matchesStyle = args.matches_style