Template:Calendar

From Protospace Wiki
Revision as of 14:44, 31 March 2019 by Cjs (talk | contribs) (removed superfluous default event)
Jump to navigation Jump to search


This template will create a blank calendar. The calendar can be added to a page by typing {{subst:calendar}} where you want it to appear. The page should then be saved, and when you edit the page again the calendar will be there. The numbers will need to be added manually. The markup for each row of the calendar will initially look like this:

|- style="height:100px; vertical-align:top;"
|
|
|
|
|
|
|

For example, if the the first day of the month was a Tuesday, the first row should be edited to look like this:

|- style="height:100px; vertical-align:top;"
|              <!-- This is Sunday -->
|              <!-- Monday -->
| '''1'''      <!-- This is Tuesday, so the cells should be numbered starting here. -->
| '''2'''
| '''3'''
| '''4'''
| '''5'''

The three apostrophes on either side of the numbers will make them bold, which helps them to stand out from the events listed on the calendar. The calendar has six rows by default, the last one should be removed manually if it is not needed.