System Properties for Itinerary Descriptions
System properties that define how itinerary descriptions are generated.
Strings can be used to automatically populate itinerary descriptions with accurate trip information. These strings are used when creating description definitions in system properties for CTM Reports.
| String | Description |
|---|---|
| &t | Total itinerary time |
| &s | Stop name |
| &labbr | Line abbreviation |
| &lname | Line name |
| &dir | Direction |
| &dest | Destination |
| &x | Outputs "<number of transfers> transfers" (without the quotation marks). |
| %d | Number of hours or minutes |
| &srv | Service name |
| &fDate | From date |
| &tDate | To date |
| System Property | Description | Example |
|---|---|---|
| Format - 0 Transfers | Text to display when there are 0 transfers in the itinerary. | Your trip has no transfers and will take 30 minutes. |
| Format - 1 Stay in Seat Transfer | Text to display when there is one stay-in-seat transfer. | Your trip has 1 stay in seat transfer and will take 30 minutes. |
| Format - 1 Transfer | Text to display when there is 1 transfer in the itinerary. |
Your trip has 1 transfer and will take 30 minutes. |
| Format - Arrival | Text to display for arrival descriptions. | Arrive 15:35 from stop Doyle @ Lincoln NB. |
| Format - Departure | Text to display for departure descriptions. | Depart 15:05 from stop Doyle Lincoln NB. |
| Format - Final Arrival | Text to display for final arrival descriptions. |
Arrive 15:35 at final destination stop Vista Clara. |
| Format - Hour | Text to display when describing only 1 hour. |
Your trip will take 1 hour. |
| Format - Hours | Text to display when describing multiple hours. |
Your trip will take 2 hours. |
| Format - Hours & Minutes | String to display hours and minutes. |
%d hour[s] and %d minute[s] |
| Format - Hours and Minutes conjunction | Text to use to indicate a conjunction between the number of hours and minutes. | and |
| Format - Itinerary Summary | Text to display to summarize the itinerary. |
Your trip has &x and will take &t. |
| Format - Minute | Text to display when referencing only one minute. |
1 minute |
| Format - Minutes | Text to display when referencing more than one minute. | %d minutes |
| Format - n Stay in Seat Transfers | Text to display to describe the number of stay-in-seat transfers. | This trip has %d stay in seat transfers. |
| Format - n Transfers | Text to display when there are multiple transfers. |
%d transfers |
| Format - Request Conditions - Arrival | Text to display when there is a condition on a requested arrival. | For &srv service in effect from &fDate to &tDate your requested arrive time was &t. |
| Format - Request Conditions - Departure | Text to display when there is a condition on a requested departure. | For &srv service in effect from &fDate to &tDate your requested depart time was &t. |
| Format - Same Vehicle | Text to display to indicate that the client will stay on the same vehicle. | stay on the same vehicle |
| Format - Transfer | Text to display to describe a transfer. | Transfer &t at stop &s to line &dest. |