Module:Sports table: Difference between revisions

Content deleted Content added
Allow for prefixing of status letters
From sandbox, allow for different words than matches
Line 442:
-- Create footer text
-- Date updating
local matches_text = Args['matches_text'] or 'match(es)'
if string.lower(update)=='complete' then
-- Do nothing
elseif update=='' then
-- Empty parameter
table.insert(t_footer,'Updated to match(es)'..matches_text..' played on unknown. ')
elseif string.lower(update)=='future' then
-- Future start date
table.insert(t_footer,'First match(es)'..matches_text..' will be played on '..start_date..'. ')
else
table.insert(t_footer,'Updated to match(es)'..matches_text..' played on '..update..'. ')
end
table.insert(t_footer,'Source: '..source)