SummaryEdit
Creates an Elder Scrolls calendar, along with holidays, if desired.
Note: This version relies on everything being manually specified, though it could easily serve as a backing template to a more automatic version that would calculate start dates and the like based on game and month name.
ParametersEdit
Parameter | Scope | Description |
---|---|---|
month | required | The month name to display at the top of the calendar. |
starton | required | Which day of the week is the first. Use the full Elder Scrolls day name with an initial capital (e.g., Sundas, Morndas, Tirdas, etc.). |
days | optional | Number of days in the month. (Defaults to 31.) |
rowheight | optional | The height of each row (week) in the calendar. |
colwidth | optional | The width of each column (day) in the calendar. |
addrow | optional | If set, adds an extra blank row to the end of the calendar for alignment with adjacent calendars. |
Days | ||
Each of the following parameters can be specified for the day of the month by specifying the date number at the end of the parameter. For instance, to set the background color for the 15th to cyan, you would use bgcolor15=cyan . To change background color or style for blank dates, use -1 as the date number (e.g., bgcolor-1=#FBF2D8 ). |
||
bgcolorn | optional | Background color for the specified day of the month. |
textn | optional | The text to display in place of the number for that month. This is most commonly used to hyperlink the number or provide hover text. The caller is responsible for displaying the correct number, if desired. |
stylen | optional | Any additional CSS formatting that should be applied to the cell. |
ExampleEdit
{{Calendar |month=Morning Star |starton=Fredas |days=30 |addrow=1 |bgcolor-1=#F9E9CC |bgcolor1 =#FFDDFF|text1 ={{Hover|New Life Festival, Clavicus Vile's Summoning Day|'''[[Lore:Calendar#New Life Festival|1]]'''}} |bgcolor12=#DDFFDD|text12={{Hover|Ovank'a|'''[[Lore:Calendar#Ovank'a|12]]'''}} }}
Morning Star | ||||||
---|---|---|---|---|---|---|
S | M | T | M | T | F | L |
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |