Please enable JavaScript to view this site.

 

Navigation: Tokens > MiniCalendar Tokens

MiniCalendar Marker Token

Scroll Prev Up Next More

 

MiniCalendar Marker Tokens mark their textbox as a minicalendar textbox with minicalendar-specific codes and are of the form:

 

[DayValue mc+XX Modifiers]

or

[DayValue mcXXX Modifiers]

 

Note that:

 

The MiniCalendar Marker Token must be placed before any of the minicalendar-specific codes.

The spaces placed in the above examples are there to make the structure easier to see, but there should be no spaces in minicalendar marker tokens.

There is no LanguageTag because each token or marker that will follow defines its own language tag (allowing for the use of many languages in the same minicalendar

DayValue corresponds to the usual DayValue used in all tokens.

Modifiers is one, or more, or none, minicalendar token modifiers which, when included in the minicalendar marker token modifies some aspects of the minicalendar (for example, the tab character insertion modifier causes every tilde (~) in the minicalendar to be replaced by a tab character).

XX and XXX determine the month displayed by the minicalendar, either as a relative number of months offset or as an absolute month number (more details in the next section).

 

Any ordinary token placed in a minicalendar textbox, after the MiniCalendar Marker Token, will have the date of DayValue 1 shifted to the 1st day of the month of the minicalendar (unless one uses one of the minicalendar token modifiers which changes this behavior).

 

Absolute and relative minicalendars

 

The markers mc+XX and mcXXX correspond to the 2 forms that a minicalendar marker token can take: relative and absolute.

 

type

range of values

description

relative

mc+XX

[mc-99] ... [mc+99]

In the case of -XX, it corresponds to XX month before the month of the DayValue of the minicalendar token.

 

In the case of +XX, it corresponds to XX month after the month of the DayValue of the minicalendar token.

 

For example, [4mc+00], represents the current month based on the date of DayValue 4, and [1mc+01] represents next month based on the date of DayValue 1.

absolute

mcXXX

[mc001] ... [mc012]

Refers to the months of January to December for the year of the date of the DayValue of the minicalendar token.

 

For example, [1mc001] represents the month of January based on the date of DayValue 1.

 

As minicalendar marker tokens are always replaced by a blank in the output file, it is usual to set their font size to a small point size, usually 4 or 5 points, so they do not clutter the GridTemplate.

 

See also: minicalendar tokens and minicalendars property settings.