Editing Template:NeedsTranslationTooltip/doc

Jump to navigation Jump to search
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.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
See [[Template:Translate]] for documentation and further information to help translate marked text.
See [[Template:Translate]] for documentation and further information to help translate marked text.


Optional first parameter is translation-key to localize and display. Defaults to 'NeedsTranslationTooltip' which displays "{{#invoke:Dictionary|translate|NeedsTranslationTooltip}}".
Has no parameters.


In most circumstances, use no parameter.
<code><nowiki>Patch notes{{NeedsTranslationTooltip}}</nowiki></code>
<code><nowiki>Patch notes{{NeedsTranslationTooltip}}</nowiki></code>


Line 11: Line 10:


Patch notes{{NeedsTranslationTooltip}}
Patch notes{{NeedsTranslationTooltip}}
One special circumstance for needing to use another key is in an ability article. Notes for the ability come from /<ability name>/Notes, so if 'Notes' is not yet translated, the page can't exist, and it instead transcludes the english notes. In this case, the 'NotesNeedsTranslation' key is passed, which displays "{{#invoke:Dictionary|translate|NotesNeedsTranslation}}".
This is accomplished with
<code><nowiki>{{NeedsTranslationTooltip|NotesNeedsTranslation}}</nowiki></code>
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