|
|
|
|
3D Impressions Help - Text Tokens |
|
These tokens identify parts of the text that are dynamically generated from some changeable information.
These tokens can be used on any part of the story, such as the title, body or footer.
Below is a description of the tokens available:
Clocks
The computer's current date and/or time can be displayed in a variety of formats.
Token: |
<!CLOCK=format> |
Format: |
The following parameters can be used in combination:
%a | - | Abbreviated weekday name. |
%A | - | Full weekday name. |
%b | - | Abbreviated month name. |
%B | - | Full month name. |
%c | - | Date and time represented for the user's locale. |
%d | - | Day of the current month. |
%H | - | Hour in 24-hour format. |
%I | - | Hour in 12-hour format. |
%j | - | Day number within the current year. (001 – 366) |
%m | - | Month number of the current year. |
%M | - | Minute number of the current hour. |
%p | - | Current locale's A.M./P.M. indicator for 12-hour clock. |
%S | - | Second number of the current minute. |
%U | - | Week number of the current year, Sunday being 1st week day. (00 – 53) |
%w | - | Weekday number, Sunday being zero. (0 – 6) |
%W | - | Week number of the current year, Monday being 1st week day. (00 – 53) |
%x | - | Date represented for the user's locale. |
%X | - | Time representation for the user's locale. |
%y | - | Year number without century. (00 – 99) |
%Y | - | Year number with century. |
%z | - | Time-zone abbreviation. Blank if time-zone is unknown. |
%Z | - | Time-zone name. Blank if time-zone is unknown. |
%% | - | Percent sign |
|
Countdowns
A countdown timer can be displayed to either a target time, date or duration.
Token: |
<!COUNTDOWN=deadline>
<!COUNTDOWN=deadline=format>
<!COUNTDOWN=-duration>
<!COUNTDOWN=-duration=format>
|
Deadline: |
A deadline can be a single event date or a reoccurring one. The frequency of reoccurrence is based on how specific a deadline you specify.
Single Date | | <!COUNTDOWN=YYYY/MM/DD hh:mm:ss> |
Annual Event | | <!COUNTDOWN=MM/DD hh:mm:ss> |
Daily Event | | <!COUNTDOWN=hh:mm:ss> |
|
Duration: |
To specify a countdown duration, the amount of time must be prefixed with the minus character.
The amount of time to count down from can then be specified in:
Seconds only | E.g. | <!COUNTDOWN=-90> |
Minutes & seconds | E.g. | <!COUNTDOWN=-5:00> |
Hours, minutes & seconds | E.g. | <!COUNTDOWN=-1:20:00> |
|
Format: |
The following parameters can be used in combination:
%D | - | Total number of days remaining. |
%H | - | Hours remaining in the current day. |
%M | - | Minutes remaining in the current hour. |
%S | - | Seconds remaining in the current minute. |
%% | - | Percent sign. |
If a format is not specified, then the default format is: "%D:%H:%M:%S".
|
|
|
|
|
|