When you create a MOS placeholder you can use the MOS placeholder language to define the placeholder Slug, Description, and Object Group using date and or story information. The MOS placeholder language replaces the codes that you enter in MOS placeholder settings with information from the current date and or the story that contains the MOS placeholder.
MOS placeholder language codes begin with a % (percent). Codes are single uppercase characters. A : (colon) separates a code from the options set for the code.
To define MOS placeholder settings using the MOS placeholder language
1.Create a new MOS placeholder or edit an existing MOS placeholder.
The Create MOS Placeholder or Edit MOS Placeholder dialog box opens.
2.Edit the MOS placeholder Slug, Description, or Object Group setting.
When you enter MOS placeholder language codes to define a MOS placeholder setting, the field below the setting interprets the entered codes and displays a preview of the setting value.
3.Use the following codes to define setting values from the current date:
Code |
Option |
Description |
---|---|---|
%Y |
|
Year of the current date. |
:2 |
Two-digit year. For example: 17. |
|
:4 |
Four-digit year (default). For example: 2017. |
|
R |
Precede the digit option to use the year in which a running order starts. For example: %Y:R2 would set 18 for a running order that starts on April 26, 2019. |
|
%M |
|
Month of the current date. |
:0 |
Month name. For example: April. |
|
:1 |
One-digit month. For example: 1 - 12. |
|
:2 |
Two-digit month (default). For example: 01 - 12. |
|
:3 |
Month abbreviation. For example: Apr. |
|
R |
Precede the digit option to use the month in which a running order starts. For example: %M:R2 would set 04 for a running order that starts on April 26, 2019. |
|
%D |
|
Day of the current date. |
:1 |
One-digit day. For example: 1 - 31. |
|
:2 |
Two-digit day. For example (default): 01 - 31. |
|
R |
Precede the digit option to use the day in which a running order starts. For example: %D:R2 would set 26 for a running order that starts on April 26, 2019. |
4.Use the following codes to define setting values from the story that contains the MOS placeholder:
Code |
Option |
Description |
---|---|---|
%S |
|
Slug from the story that contains the MOS placeholder. |
%R |
|
Name of the running that contains the story. |
%F |
|
Name of the folder that contains the running order |
|
:0 |
Parent folder name (default). |
|
:1 |
Name of the folder that contains the running order. |
|
:2 - X |
Name of the folder at the set level. |
%G |
|
Name of the object group set for the running order. |