Template:Rough translation: Difference between revisions

>Gonnym
since the template isn't clear about what is a "language" and some are using a language name and some an ISO code, this code should support both
 
WikiDwarfBOT (talk | contribs)
m top: clean up
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
| class = ambox-rough_translation
| class = ambox-rough_translation
| image = [[File:Translation to english arrow.svg|50x40px|Translation arrow icon]]
| image = [[File:Translation to english arrow.svg|50x40px|Translation arrow icon]]
| issue = This {{{3|article}}} '''is 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 by a computer or by a translator without dual proficiency.
| issue = This {{{3|article}}} '''is a rough [[Bharatpedia: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 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"'' sidebar. }}
| 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"'' sidebar. }}
{{#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}}}}}}
{{#if:{{NAMESPACE}}||{{#ifeq: {{yesno|{{{listed|no}}}}}|yes|---- See '''[[Bharatpedia:Pages needing translation into English#{{PAGENAME}}|this article's entry]]''' on [[Bharatpedia:Pages needing translation into English|Pages needing translation into English]] for discussion.|{{pnt notice|{{{1|unknown}}}|cleanup}}}}}}
| cat  = Wikipedia articles needing cleanup after translation
| <!-- cat -->   = Bharatpedia 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:Bharatpedia articles needing cleanup after translation from {{{1}}}|[[Category:Bharatpedia articles needing cleanup after translation from {{{1}}}]] |{{#ifexist:Category:Bharatpedia articles needing cleanup after translation from {{ISO 639 name|{{{1}}}}}|[[Category:Bharatpedia articles needing cleanup after translation from {{ISO 639 name|{{{1}}}}}]]|[[Category:Bharatpedia articles needing cleanup after translation from {{{1}}}]]}} }}
|[[Category:Wikipedia articles needing cleanup after translation from unknown language]]
|[[Category:Bharatpedia articles needing cleanup after translation from unknown language]]
}}</includeonly><!--{{Rough translation}} end--><noinclude>
}}</includeonly><!--{{Rough translation}} end--><noinclude>


{{Documentation}}
{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>

Latest revision as of 14:47, 15 July 2021

Template documentation[create]