Please enable JavaScript to view this site.

 

Navigation: Tokens > MiniCalendar Tokens > Modifiers

Chinese Minicalendars Modifiers

Scroll Prev Up Next More

Chinese minicalendar tokens modifiers are used to display minicalendars containing Chinese text and/or dates based on the Chinese lunar and solar calendars, namely:

 

Dates of the Chinese calendar (lunar), horizontally or vertically.

Gregorian dates, using Chinese characters, horizontally or vertically.

In both of the above cases, it is possible to display the minor and major terms of the Chinese solar calendar.

 

The various Chinese minicalendars modifiers are described in the table below.

 

:chl

To display dates of the Chinese lunar calendar horizontally in a minicalendar, add the :chl modifier to the end of a minicalendar token.

 

   

:CHL

To display dates of the Chinese lunar calendar vertically in a minicalendar, add a :CHL modifier to the end of the minicalendar token, and replace each row of @ markers by a double row. The first character will be placed on the top row and the second on the bottom row.

 

   

:chg

:CHG

To display Gregorian dates (western) using Chinese numbers, replace the "l" (for lunar) in the above markers by "g" (for Gregorian). Using the :chg and :CHG tokens, respectively, we get Gregorian dates using Chinese numbers, horizontally or vertically.

 

   

:chls

:CHLS

:chgs

:CHGS

To display the symbol for the minor or major solar terms, add an "s" (for solar) to any of the 4 markers above. For example, the markers :chls and :chgs would yield the following:

 

   

:chlm

To show the lunar month, without the Chinese character for month, on the first of any lunar month.

:chlmm

To show the lunar month, with the Chinese character for month, on the first of any lunar month.

:chlsm

To show the solar term, and the lunar month, without the Chinese character for month, on the first of any lunar month. If a solar term occurs on the first of the month then the solar term is displayed and not the month.

:chlsmm

To show the solar term, and the lunar month, with the Chinese character for month, on the first of any lunar month. If a solar term occurs on the first of the month then the solar term is displayed and not the month.

 

Some important points:

 

The above examples all come from a single-language script. Q++Studio does not consider the displaying of Chinese dates to imply a second language; it's just another way of displaying dates. That is why the month name was displayed in English as were the weekday markers $$.

However, one could easily display the Gregorian month names in Chinese, by setting the second language to Chinese, and replacing the [MMMM] and $$ tokens by [b1MMMM] and $b.

All the structure options of minicalendars are available to you: horizontal and vertical date flow (not to be confused with vertical or horizontal chinese dates), align top or align bottom, highlight current week or current days or holidays, ...

 

See also: combining gregorian and non-gregorian dates in the same minicalendar and chinese dates tokens.

 


Topic 171810, last updated on 19-Apr-2020