Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

List of special tags on main level:


Tags main level:

%SUB_LOCATIONS(subLocationsStructureId)% for each sub location the text of the template belonging to the sub locations structure will be inserted. Within this template more tags can be translated.
%LOCATION_ID% location id of main location
%LOCATION_NAME% location name of main location
%FORECAST_TIME% forecast time of main time series => (system time when main time series has been saved)
%EXPIRY_TIME% forecast time + 30 hours
%CURRENT_TIME% real world time -> moment of translating this tag

...

%AREA_INCLUDED_TITLE% translated to <text type="area_included_title">Catchments likely to be affected include:</text> when PHASE is New or Update

%AREA_REMOVED_SUMMARY%

  • when there are no locations where flooding is no longer expected AND there are no locations for which warnings are current this tag is translated to empty text.
  • when there are no locations where flooding is no longer expected translated to <text type="area_removed_summary"><p>Flood Warnings are current for the following catchments: %s</p></text> where %s is replaced with all locations with warnings current
  • when there are no locations for which warnings are current this tag is translated to: <text type="area_removed_summary"><p>Flooding is no longer expected in the following catchments: %s</p></text>where %s is replaced with all locations for which flooding is no langer expected.

...

  • When there are locations with warnings current and locations for which flooding is no longer expected it will be a combination:
                    <text type="area_removed_summary"><p>Flood Warnings are current for the following catchments: %s</p>
                    <p/>
                    <p>Flooding is no longer expected in the following catchments: %s</p></text>


Tags sub location level

%PARENT_ATTRIBUTE(attributeId)% attribute of main location with attribute id between parentheses
%PRODUCT_LOCATION_ID% Location id of main location
%LOCATION_ID% location id of sub location 
%LOCATION_NAME% name of sub location
%LOCATION_PHASE% watch phase of sub location -> stored in property with key "phase"
%WARNING_PHASE% warning phase of sub location -> depends warning severity and previous warning severity
%WARNING_SEVERITY% severity for sub location based on water level and minor moderate major attribute values
%WATCH_SEVERITY% severity for sub location based on property with key "severity"
%SUBCATCHMENT_HEADLINE% translated to sentence based on severity and phase. Can be overruled in property with key "subcatchmentHeadline"
%CONNECTED_LOCATIONS% for each forecast location connected to the sub location with PHASE new, update or final an element <area aac="%s" phase="%s" description="%s" type="river-site"/> will be added with %s translated to attribute with id "FWL_FOR_ID", phase, forecast location name
%LOCATION_INDEX% the index of the sub location being translated
%FORECAST_TIME% forecast time of main time series => (system time when main time series has been saved)
%EXPIRY_TIME% forecast time + 30 hours
%CURRENT_TIME% real world time -> moment of translating this tag