Template:MissingValveTranslationTooltip/doc

From Deadlock Wiki
Revision as of 18:52, 12 October 2024 by Sur (talk | contribs) (initial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Added directly after content that valve has not yet translated, including both larger content such as Abrams#Background, and shorter strings such as "Crit Damage Bonus Scale".

This is independent to Template:Translate. There is no support for translating content that Valve is working on translating.

Has no parameters.

Crit Damage Bonus Scale{{MissingValveTranslationTooltip}}

Outputs

Crit Damage Bonus Scale[vt]


Many lua modules append this automatically.
Example where translation exists for english:
{{#invoke:Lang|get_string|StatDesc_CritDamageBonusScale|lang_code_override=en|fallback_str=Crit Damage Bonus Scale}}

Outputs

Crit Bonus Scale

Since it was translated fine, the tooltip was not added.


Example where translation does not exist for spanish:
{{#invoke:Lang|get_string|StatDesc_CritDamageBonusScale|lang_code_override=es|fallback_str=Crit Damage Bonus Scale}}

Outputs

Escala de críticos adicional