Template:Translate/doc

Revision as of 00:45, 9 October 2024 by Sur (talk | contribs) (documentation initial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Example

{{Translate|Patch notes}}

Outputs

Patch notes


{{Translate|Patch notes|ru}}

Outputs

Содержание обновления

Parameters

A template to fetch translations for a given key, optionally overriding the language.

Template parameters

ParameterDescriptionTypeStatus
key_to_translate1

The key that corresponds to the text to be translated.

Example
Patch notes
Stringrequired
lang_override2

Optional two-letter language code to override the language (e.g., 'en', 'es'), if page ends in /<lang_code> it defaults to that lang code.

Default
Example
es
Stringoptional