Jump to content

Template:Translate passage: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
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 [[Wikipedia: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 [[Wikipedia:Translation|add a translation]].</small>
| 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 '''[[Wikipedia:Pages needing translation into English#{{PAGENAME}}|this article's entry]]''' on [[Wikipedia:Pages needing translation into English|Pages needing translation into English]] for discussion.
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

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 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