Text display formatting sequences, Section a — text display formatting sequences, Appendix – Grass Valley Maestro Master Control v.1.7 User Manual

Page 223

Advertising
background image

Maestro — Channel Branding User Guide

219

Appendix

A

Text Display Formatting
Sequences

The following table defines ASCII text formatting escape sequences that are
supported in Maestro Channel Branding. These sequences are for the CG
Text, Text Crawl display templates and data files. Formatting sequences
may be embedded in data text (.dat) files and are executed as part of
display template.

Each Text Display Formatting Sequences consist of the ASCII percentage
(%) character followed by a single format parameter character (for
example, %a).

Note

All time and date values are derived from Maestro frame processor system
clock.

Table 3. Branding Engine Text Display Formatting Sequences

Formatting
Sequence

Description

Example

%a

Day Name - Short

Inserts the Day Name in 3-character format upper/
lower case; for example, Mon.

%A

Day Name - Long

Inserts the Day Name in full length upper/lower case;
for example, Monday.

%d

Day Value - Short

Inserts the current day’s numeric value, no-leading
zeros in range of 1-31.

%D

Day Value - Long

Inserts the formatted 2-digit day numeric value with
leading zeros in the range of 01-31.

%b

Month Name – Short

Inserts the Month Name in 3-character format upper/
lower case. For example, Jan.

%B

Month Name - Long

Inserts the Month Name in full length upper/lower
case. for example, January.

%n

Month Value – Short

Inserts the non-formatted month numeric value, with
no leading zeros in range of 1-12.

%N

Month Value - Long

Inserts the formatted 2-digit month numeric value with
leading zeros in the range of 01-12.

%y

Year Value – Short

Inserts the formatted 2-digit year numeric value with
leading zeros in the range of 00-99.

%Y

Year Value – Long

Inserted formatted 4-digit century numeric value; for
example, 2008.

%h

Hour Value – 12HR

Inserts the formatted numeric hour, no leading zeros
in the range of 1-12.

%H

Hour Value – 24HR

Inserts the formatted 2-digit numeric hour with lead-
ing zeros in the range of 00-24.

Advertising