Module:Current events calendar/sandbox: Difference between revisions

Content deleted Content added
Tweaks to make it easier to see the diffs between this and the live version.
Unicode character choice changed. CSS simplified.
Line 107:
:css('background-color', '#cedff2')
:tag('th')
:css{['text-align'] = 'center', ['padding-top'] = '1px', ['padding-bottom'] = '3px'}
:wikitext(makeWikilink('Portal:Current events/' .. dateStuff.previousMonthAndYear, ''))
:done()
:tag('th')
:attr('colspan', '5')
:css{['text-align'] = 'center', padding = '1px 4px', ['font-weight'] = 'bold'}
:wikitext(makeWikilink('Portal:Current events/' .. monthAndYear, monthAndYear))
:done()
:tag('th')
:css{['text-align'] = 'center', ['padding-top'] = '1px', ['padding-bottom'] = '3px'}
:wikitext(makeWikilink('Portal:Current events/' .. dateStuff.nextMonthAndYear, ''))
 
-- Day of week headings