Home
Random
Log in
Settings
About the Deadlock Wiki
Search
Editing
Template
:
Translate/doc
Give feedback
Warning:
You are not logged in. Once you make an edit, a temporary account will be created for you.
Learn more
.
Log in
or
create an account
to continue receiving notifications after this account expires, and to access other features.
Anti-spam check. Do
not
fill this in!
= Overview = Navigate to [[Data:Dictionary]] to add or update keys, or create a new key if one does not already exist. For additional context about where a key is used, see [[Data:Dictionary/sources]]. == Tooltip notes == * '''{{tl|NeedsTranslationTooltip}}''' {{NeedsTranslationTooltip}} - displayed when the key is not translated. * '''{{tl|MissingValveTranslationTooltip}}''' {{MissingValveTranslationTooltip}} (manual) - displayed in cases where an official translation is expected but unavailable. == Usage == Use this template to translate reusable text strings and interface text that appear in templates, such as {{tl|Update layout}}. Page-specific content should be translated on the corresponding language subpage. If a translation is unavailable, the template falls back to the english translation and displays the missing translation tooltip. An optional parameter allows the language to be overridden. See also: [[Module:Dictionary]]. === Examples === <code><nowiki>{{Translate|Patch notes}}</nowiki></code> Output: {{Translate|Patch notes}} <code><nowiki>{{Translate|Patch notes|lang_code=ru}}</nowiki></code> Output: {{Translate|Patch notes|lang_code=ru}} <templatedata> { "description": " ", "params": { "1": { "label": "Dictionary key", "description": "The key that corresponds to the text to be translated.", "type": "string", "required": true, "example": "Patch notes" }, "lang_code": { "label": "Language code", "description": "Optional language code to override the language. See Data:LangCodes.json.", "example": "es, cs, pt-br", "type": "string" } }, "paramOrder": [ "1", "lang_code" ], "format": "inline" }</templatedata> <includeonly>[[Category:Language templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
Summary:
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Pages included on this page:
Template:MissingValveTranslationTooltip
(
edit
)
Template:NeedsTranslationTooltip
(
edit
)
Template:Tl
(
edit
)
Template:Tooltip
(
edit
)
Template:Translate
(
edit
)
Module:Dictionary
(
edit
)
Data:Dictionary
(
edit
)
Data:LangCodes.json
(
view source
) (⧼restriction-level-bot+⧽)