Template:MissingValveTranslationTooltip: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
initial
 
Sur (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<sup class="noprint fact">{{tooltip|[''vt'']|Valve's Translation does not yet include this text.}}</sup><noinclude>{{Documentation}}
<sup class="noprint fact">{{tooltip|[''vt'']|{{#invoke:Dictionary|translate|MissingValveTranslationTooltip}}}}</sup><noinclude>{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 22:18, 12 October 2024

[vt]

Template documentation [view] [edit] [history] [purge]

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