Template:Translate passage: Difference between revisions
dark mode fix & add alt param |
m Localise imported template guidance and policy links; preserve index layout and licence information |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
| type = style |
| type = style |
||
| image = [[File:Translation to english arrow.svg|50x40px|class=skin-invert|alt=icon]] |
| image = [[File:Translation to english arrow.svg|50x40px|class=skin-invert|alt=icon]] |
||
| text = '''A passage in this article or section needs to be [[ |
| text = '''A passage in this article or section needs to be [[Project:Template index/Translation|translated]] from {{{1|its current language}}} into English.'''<br /><small>If you are confident enough in your fluency of English and {{{1|this language}}}, please feel free to [[Project:Template index/Translation|add a translation]].</small> |
||
Please see '''[[ |
Please see '''[[{{TALKPAGENAME}}|this article's entry]]''' on [[Project:Editorial guidance|Pages needing translation into English]] for discussion. |
||
{{#ifeq: {{yesno|{{{listed|no}}}}}|yes||{{pnt notice|{{{1|unknown}}}}}}} |
{{#ifeq: {{yesno|{{{listed|no}}}}}|yes||{{pnt notice|{{{1|unknown}}}}}}} |
||
}}<includeonly>{{#ifeq:{{lc:{{{category|}}}}}|no||{{{category|[[Category:Wikipedia articles needing translation]]}}}}}</includeonly><!--{{TranslatePassage}} end--><noinclude> |
}}<includeonly>{{#ifeq:{{lc:{{{category|}}}}}|no||{{{category|[[Category:Wikipedia articles needing translation]]}}}}}</includeonly><!--{{TranslatePassage}} end--><noinclude> |
||
Latest revision as of 10:15, 31 October 2026
A passage in this article or section needs to be translated from its current language into English. If you are confident enough in your fluency of English and this language, please feel free to add a translation. Please see this article's entry on Pages needing translation into English for discussion. If you have just labeled this page as needing translation, please add {{subst:uw-notenglish|1=Template:Translate passage}} ~~~~on the talk page of the author. |
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:Translate passage/doc" to edit its documentation if it is available. (How does this work?) |
| This template should always be substituted – use {{subst:Translate passage}}. |
| Any breaking changes to this template, including moving it or nominating it for deletion, must be communicated in advance to Twinkle's users and maintainers at Wikipedia talk:Twinkle. The standard installation of Twinkle relies on this template. |
This template adds a banner on articles that have passages that require translation, and provides instructions on how to list the article at Wikipedia:Pages needing translation into English.
Usage
This template should be transcluded, not {{subst:}}ed.
Example:
{{subst:Translate passage|ArticleName|language=LanguageName}} ~~~~
This template categorizes pages on which it appears into Category:Wikipedia articles needing translation, unless suppressed with an optional parameter.
After following instructions provided in the template for listing the article at WP:PNT, please change the listed param to "yes".
Parameters
One positional and two named parameters; all are optional:
- 1 - language of the passage needing translation (e.g., 'Spanish', 'French', 'Chinese')
- category – if set to 'no', suppresses categorization of the article (default: 'yes'; categorization is applied)
- listed - if set to 'yes', this displays a briefer version of the banner without instructions for listing at PNT (default: 'no')
See also
- WP:PNTCU (pages needing translation cleanup)
- Wikipedia:Template messages/Cleanup
- Wikipedia:Translation
- {{Needtrans}}
- {{Translation sidebar}}
- {{Not English}}
- {{Not English-inline}}
- {{Cleanup translation}}
- {{Rough translation}}
- {{Proofreader needed}}
- {{Expand language}}
- {{Whose translation}}