Jump to content

Template:Rough translation: 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
Line 5: Line 5:
| class = ambox-rough_translation
| class = ambox-rough_translation
| 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]]
| issue = This {{{3|article}}} '''may be a rough [[Wikipedia:translation|translation]] from {{#if:{{#invoke:ISO 639 name|iso_639_code_exists|{{{1|xyzzy}}}}}|{{ISO 639 name|{{{1}}}}}|{{{1|another language}}}}}'''. It may have been generated, in whole or in part, by a computer or by a translator without dual proficiency.
| issue = This {{{3|article}}} '''may be a rough [[Project:Template index/Translation|translation]] from {{#if:{{#invoke:ISO 639 name|iso_639_code_exists|{{{1|xyzzy}}}}}|{{ISO 639 name|{{{1}}}}}|{{{1|another language}}}}}'''. It may have been generated, in whole or in part, by a computer or by a translator without dual proficiency.
| fix = Please help to [{{fullurl:{{FULLPAGENAME}}|action=edit}} enhance the translation]. {{#if: {{{2|{{{1|}}}}}} | The original article is {{#if: {{{2|}}} | under "{{{2}}}" | {{#if: {{Mw lang|fn=is_name|{{{1}}}}} | under "{{#language:{{Mw lang|fn=code_from_name|{{{1}}}}}}}" | {{#if: {{Mw lang|fn=is_code|{{{1}}}}} | under "{{#language:{{{1}}}}}" | available }} }} }} in the ''"languages"'' list. }}
| fix = Please help to [{{fullurl:{{FULLPAGENAME}}|action=edit}} enhance the translation]. {{#if: {{{2|{{{1|}}}}}} | The original article is {{#if: {{{2|}}} | under "{{{2}}}" | {{#if: {{Mw lang|fn=is_name|{{{1}}}}} | under "{{#language:{{Mw lang|fn=code_from_name|{{{1}}}}}}}" | {{#if: {{Mw lang|fn=is_code|{{{1}}}}} | under "{{#language:{{{1}}}}}" | available }} }} }} in the ''"languages"'' list. }}
{{#if:{{NAMESPACE}}||{{#ifeq: {{yesno|{{{listed|no}}}}}|yes|---- 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.|{{pnt notice|{{{1|unknown}}}|cleanup|scope={{{3|}}}}}}}}}
{{#if:{{NAMESPACE}}||{{#ifeq: {{yesno|{{{listed|no}}}}}|yes|---- See '''[[Wikipedia:Pages needing translation into English#{{PAGENAME}}|this article's entry]]''' on [[Project:Editorial guidance|Pages needing translation into English]] for discussion.|{{pnt notice|{{{1|unknown}}}|cleanup|scope={{{3|}}}}}}}}}
| date = {{{date|}}}
| date = {{{date|}}}
| cat = Wikipedia articles needing cleanup after translation
| cat = wiki articles needing cleanup after translation
}}<includeonly>{{#if:{{{1|}}}
}}<includeonly>{{#if:{{{1|}}}
|{{#ifexist:Category:Wikipedia articles needing cleanup after translation from {{{1}}}|[[Category:Wikipedia articles needing cleanup after translation from {{{1}}}]] |{{#ifexist:Category:Wikipedia articles needing cleanup after translation from {{ISO 639 name|{{{1}}}}}|[[Category:Wikipedia articles needing cleanup after translation from {{ISO 639 name|{{{1}}}}}]]|[[Category:Wikipedia articles needing cleanup after translation from {{{1}}}]]}} }}
|{{#ifexist:Category:wiki articles needing cleanup after translation from {{{1}}}|[[Category:Wikipedia articles needing cleanup after translation from {{{1}}}]] |{{#ifexist:Category:wiki articles needing cleanup after translation from {{ISO 639 name|{{{1}}}}}|[[Category:Wikipedia articles needing cleanup after translation from {{ISO 639 name|{{{1}}}}}]]|[[Category:Wikipedia articles needing cleanup after translation from {{{1}}}]]}} }}
|[[Category:Wikipedia articles needing cleanup after translation from unknown language]]
|[[Category:Wikipedia articles needing cleanup after translation from unknown language]]
}}[[Category:All Wikipedia articles needing cleanup after translation]]</includeonly><!--{{Rough translation}} end-->
}}[[Category:All Wikipedia articles needing cleanup after translation]]</includeonly><!--{{Rough translation}} end-->

Revision as of 09:53, 31 October 2026

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Rough translation/doc" to edit its documentation if it is available. (How does this work?)

{{Rough translation}} will categorise tagged articles into Category:Wikipedia articles needing cleanup after translation.

Usage

{{Rough translation|language}}

Parameters

There are three positional (unnamed) parameters, and two named parameters:

|1= – name of language (required)
|2= – name of language in "languages" list, if different (see example below); explicitly set to an empty value (|2=|) if the original is not an article on another language's Wikipedia, or is absent from the list of languages displayed (optional)
|3= – replaces the word "article"; e.g. use "section" for use in a section. {{Rough translation-section}} implies this. (optional)
|listed= – set to "yes" if the article has been listed at Wikipedia:Pages needing translation into English (optional)
|date= – month and year; if omitted, a bot will supply it later. (optional)

Example

{{Rough translation|German|Deutsch|section}}

Alternative version of this

{{Rough translation|1=German|2=Deutsch|3=section}}

If the second parameter is filled in as in the example above, the template will display

The original article is under "Deutsch" in the languages list.

Otherwise, the message displayed is a generic

The original article is available in the languages list.

However, if argument 2 is explicitly set to empty (|2=|), then neither message appears. This is the format to use when the original is not an article on another language's Wikipedia, or it isn't listed in the languages list.

This template will categorize tagged articles into Category:Wikipedia articles needing cleanup after translation. It should not be substituted.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Rough translation in articles based on its TemplateData.

TemplateData for Rough translation

Use this template to indicate that an article or section is a rough translation from another language and may have been generated by a computer or by a translator without dual proficiency.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Language1

The language the article or section is a rough translation from

Example
French
Linerequired
Listed on WP:PNT?listed

Enter "y", "yes", "true", "on" or "1" here if this article is listed on "Wikipedia:Pages needing translation into English" to add a link to its entry.

Example
y
Auto value
y
Lineoptional
Alternative native name of language2

Custom text to replace the language's indicated native name as it appears in the "Languages" list

Lineoptional
Affected area3

Text to replace the word "article", usually "section"

Example
section
Auto value
section
Stringoptional
Month and yeardate

The month and year that the template was placed (in full). "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" inserts the current month and year automatically.

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Linesuggested

See also