Module:Sandbox/Frietjes: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 28:
end
local hasnotes = false
local ii = first_team
local res = '{| class="wikitable"\n'
Line 33 ⟶ 35:
res = res .. '|-\n'
res = res .. '| ' .. args['team' .. ii] .. '\n'
reslocal text_result = res .. '| ' .. (args['result'..ii] and args['text_'..args['result'..ii]] or '') .. '\n'
if text_result:match('fbmulticompefn') then
hasnotes = true
end
res = res .. '| ' .. text_result .. '\n'
end
returnres = res .. '|}'
if hasnotes == true then
res = res .. frame:expandTemplate{ title = 'notelist'}
end
-- Generate tracking
if not args['notracking'] then
local getTracking = require('Module:Sports table/argcheck/sandbox').check
local tracking_categories = getTracking(args, frame:getParent().args)
end
return res .. '|}'
end