Template:Special events month
From Guild Wars Wiki
Jump to navigationJump to search
This template generates a single month for {{Special events year calendar}}. You can see an example of it in use on that page.
Usage[edit]
{{Special events month | month = Name of the month (eg, January) | background = Background color / image / gradient / etc (eg, #CAFAEA;) | style = Styling to apply to the entire table. replaces default styling. (width, height, etc) | 1e = Page to link for the 1st day of the month (eg, [[Halloween]]) ... (etc) | 31e = Page to link for the 31st day of the month (eg, [[Halloween]]) | 1s = Styling for the 1st day of the month (eg background-color: #FFDDA9;) ... (etc) | 31s = Styling for the 31st day of the month (eg background-color: #FFDDA9;) }}
Examples[edit]
{{Special events month | month = January | background = #708090 | 1e = Wintersday | 1s = background-color: #FFDDA9; | 2e = Wintersday | 2s = background-color: #FFDDA9; | 31e = Canthan New Year | 31s = background-color: #FFDDA9; }}
produces
Mon | Tue | Wed | Thu | Fri | Sat | Sun |
---|---|---|---|---|---|---|
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 | 31 |
{{Special events month | month = January | background = #CCFFEE | style = width:500px; border-left: 3px solid red; | 1e = Wintersday | 1s = background-color: #FFDDA9; | 2e = Wintersday | 2s = background-color: #FFDDA9; | 31e = Canthan New Year | 31s = background-color: #FFDDA9; }}
produces
Mon | Tue | Wed | Thu | Fri | Sat | Sun |
---|---|---|---|---|---|---|
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 | 31 |