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.
-- Remove trailing '%' if present and convert to number
size = tonumber((args.
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
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
|