View source for Module:Sports table/CricketRR
MyWikiBiz, Author Your Legacy — Sunday April 13, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- Style for cricket tables
local pp = { }
local function args_points(Args)
local pts = {}
-- Do not change these defaults without first checking which tables use them
pts.win = tonumber(Args['winpoints']) or 2
pts.tie = tonumber(Args['tiepoints']) or 1
pts.nr = tonumber(Args['nrpoints']) or 1
pts.loss = tonumber(Args['losspoints']) or 0
pts.bonus = tonumber(Args['bonuspoints']) or 1
return pts
end
local function abbr_header(txt, abbr, show_header_pts, pts)
if show_header_pts then
txt = txt .. ' – ' .. pts .. (pts == 1 and ' point' or ' points')
end
000
1:0
Templates used on this page:
Return to Module:Sports table/CricketRR.