Template:2010CalSmall: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 209: Line 209:
<noinclude>
<noinclude>
'''Usage:'''
'''Usage:'''
*Month = Calendar Month
*'''Required Parameter''' (Template will not work without it)
*Heading_Color = The color you'd like for the Month and Year headline at the top of the calendar.
**Month = Calendar Month
*ColSpan_Color = The color you'd like for the cells which do not contain a date (i.e. the area before the 1st and last days of the month).
*'''Optional Parameters'''
*Date<i>n</i>_Bgcolor = The color you'd like to use for cell on a specific date on the calendar (where <i>n</i> is date).
**Heading_Color = The color you'd like for the headline at the top of the calendar (Headline is the Month and Year).
*Date<i>n</i>_Fontcolor = The font color you'd like to use for a specific date on the calendar (where <i>n</i> is date).
**ColSpan_Color = The color you'd like for the cells which do not contain a date (i.e. the area before the 1st and last days of the month).
*Date<i>n</i>_Event = The event you'd like displayed when mousing-over a specific date on the calendar (where <i>n</i> is date).
*'''Date Parameters'''
**Date<i>n</i>_Bgcolor = The color you'd like to use for cell on a specific date on the calendar (where <i>n</i> is date).
**Date<i>n</i>_Fontcolor = The font color you'd like to use for a specific date on the calendar (where <i>n</i> is date).
**Date<i>n</i>_Event = The event you'd like displayed when mousing-over a specific date on the calendar (where <i>n</i> is date).


'''Example'''
'''Example'''
Line 220: Line 223:
<pre>{{2010CalSmall
<pre>{{2010CalSmall
|Month=September
|Month=September
|Heading_Color=#660000
|Heading_Color=#330066
|ColSpan_Color=#CCCCCC
|ColSpan_Color=#CCCCCC
|Date6_Bgcolor=#660000
|Date6_Bgcolor=#660000
|Date6_Fontcolor=#FFCC33
|Date6_Fontcolor=#FFCC33
|Date6_Event=Malton Murder Awards MMX}}</pre>
|Date6_Event=Malton Murder Awards MMX
 
|Date22_Bgcolor=#330066
|Date22_Fontcolor=#FFFFFF
|Date22_Event=Group Anniversary}}</pre>


Would produce
Would produce
Line 230: Line 238:
{{2010CalSmall
{{2010CalSmall
|Month=September
|Month=September
|Heading_Color=#660000
|Heading_Color=#330066
|ColSpan_Color=#CCCCCC
|ColSpan_Color=#CCCCCC
|Date6_Bgcolor=#660000
|Date6_Bgcolor=#660000
|Date6_Fontcolor=#FFCC33
|Date6_Fontcolor=#FFCC33
|Date6_Event=Malton Murder Awards MMX}}
|Date6_Event=Malton Murder Awards MMX
 
|Date22_Bgcolor=#330066
|Date22_Fontcolor=#FFFFFF
|Date22_Event=Group Anniversary}}


[[Category:Experimental Templates|{{PAGENAME}}]]
[[Category:Experimental Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 20:04, 17 August 2010


Usage:

  • Required Parameter (Template will not work without it)
    • Month = Calendar Month
  • Optional Parameters
    • Heading_Color = The color you'd like for the headline at the top of the calendar (Headline is the Month and Year).
    • ColSpan_Color = The color you'd like for the cells which do not contain a date (i.e. the area before the 1st and last days of the month).
  • Date Parameters
    • Daten_Bgcolor = The color you'd like to use for cell on a specific date on the calendar (where n is date).
    • Daten_Fontcolor = The font color you'd like to use for a specific date on the calendar (where n is date).
    • Daten_Event = The event you'd like displayed when mousing-over a specific date on the calendar (where n is date).

Example

{{2010CalSmall
|Month=September
|Heading_Color=#330066
|ColSpan_Color=#CCCCCC

|Date6_Bgcolor=#660000
|Date6_Fontcolor=#FFCC33
|Date6_Event=Malton Murder Awards MMX

|Date22_Bgcolor=#330066
|Date22_Fontcolor=#FFFFFF
|Date22_Event=Group Anniversary}}

Would produce


Template:CalendarColSpan
September, 2024
Su M Tu W Th F Sa
1 2 3 4

Template:CalendarOfEventsNext

5 6 7 8 9 10 11

Template:CalendarOfEventsNext

12 13 14 15 16 17 18

Template:CalendarOfEventsNext

19 20 21 22 23 24 25

Template:CalendarOfEventsNext

26 27 28 29 30

Template:CalendarColSpan Template:CalendarOfEventsEnd