Please enable JavaScript to view this site.


Navigation: Tokens

MiniCalendar Tokens

Scroll Prev Up Next More
minicalendars placed in a single textbox, left, or in a table, right (InDesign only)

minicalendars placed in a single textbox, left, or in a table, right (InDesign only)


MiniCalendar tokens, and the corresponding minicalendar scriptline property, are used to display MiniCalendars.




When using QuarkXPress, all the tokens related to a minicalendar must be located in the same textbox, as shown above left.


Minicalendar token and codes


With reference to the example above left, MiniCalendar are made up of the following tokens and codes.



This is the is the minicalendar marker token.


This token does not display anything; It is used to determine the month and year of the current minicalendar, interpret the various minicalendar codes (such as @, $a or w#), as well as the reference date of any ordinary tokens placed inside the minicalendar.


The base minicalendar token can be augmented by a large number of minicalendar token modifiers which can modify almost all aspects of the minicalendar.

$a and $b

These are are weekday headers, which are replaced by weekdays.

If your script only uses one language, then you can replace $a by $$.


These are are the week numbers.


These represent all the possible minicalendar dates.


Ordinary tokens inside a minicalendar


Other ordinary tokens can be placed in a minicalendar, and they behave as they do outside a minicalendar, except that the date of the DayValue 1 of any ordinary token inside a minicalendar is the 1st day of the month of the minicalendar (unless one uses an embedded tokens based on weekstart minicalendar modifier).


Topic 000143, last updated on 22-May-2023