Module:RFX report: Difference between revisions

Content deleted Content added
use Module:Rfx, clean up my spaghetti code, add a new header, and add a message to display when there are no current RfXes
use style variable for status, ending time and time left fields
Line 79:
status = 'Pending closure...'
end
status = mw.ustring.format( '\n| %s %s', style, status )
else
status = '\n| style="background: #f8cdc6;" | Error getting status'
Line 88:
local time
if endTime and timeLeft then
time = mw.ustring.format( '\n| %s %s\n| %s %s', style, endTime, style, timeLeft )
else
time = '\n| colspan="2" style="background: #f8cdc6;" | Error parsing end time'