warframe

In WARFRAME, some localized messages use string interpolation in order to embed variable values in the game's UI text.

Syntax

WARFRAME uses the variable name in all caps surrounded by vertical bar characters (|) in order to embed them in localized messages. For example, internally, the EN localized message for the Armor stat description is stored as:

Reduces damage to Health by |AMOUNT|%.

Shields are not affected by Armor

where |AMOUNT| is the calculated Damage Reduction percentage gained from Armor.

Examples

According to Public Export's contents,

Other known usage of string interpolation include:

Known variables:

Trivia

Media

Patch History

Update 35.0 (2023-12-13)

  • Fixed unintended "|CONDITION|" appearing in Cascadia Empowered’s and Rising Agony Decree’s description.

Update 34.0 (2023-10-18)

  • Fixed on-hover Stat descriptions in Market dioramas showing "|amount|" instead of the % value for Armor reduction.

Hotfix 25.4.1 (2019-07-24)

  • Fixed issue with Proton Snap showing "|TIME|" instead of duration value in non-English localizations.

Update 25.3 (2019-07-06)

  • Fixed pressing X on controller while in the Relic station displaying the message "Refine |Name| to Intact?".

References

See Also

External Links