Difference between revisions of "Template:Expand language"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(Add default Category:Articles needing translation from foreign language Wikipedias when the lang=specific cat doesn't exist)
 
Line 1: Line 1:
<!--{{Expand language}} begin-->{{mbox
+
<!--{{Expand language}} begin-->{{Mbox
 
  |type = notice
 
  |type = notice
 
  |image= [[File:Translation arrow.svg|44px]]
 
  |image= [[File:Translation arrow.svg|44px]]
 
  |text = '''This article may be expanded with text translated from the [[:{{{langcode|}}}:{{{otherarticle}}}|corresponding article]] in [[:{{{langcode|}}}:|{{ISO 639 name {{{langcode|}}}}} Wikipedia]]'''. {{#if:{{{date|}}}
 
  |text = '''This article may be expanded with text translated from the [[:{{{langcode|}}}:{{{otherarticle}}}|corresponding article]] in [[:{{{langcode|}}}:|{{ISO 639 name {{{langcode|}}}}} Wikipedia]]'''. {{#if:{{{date|}}}
 
   |&#32;''<small>({{{date}}})</small>''
 
   |&#32;''<small>({{{date}}})</small>''
  }}<br/><small>After translating, <code><nowiki>{{Translated|</nowiki>{{{langcode|}}}<nowiki>|</nowiki>{{{otherarticle}}}<nowiki>}}</nowiki></code> must be added to the [[Talk:{{PAGENAME}}|talk page]] to ensure [[WP:COPYRIGHTS|copyright]] compliance. <br/><small>[[Wikipedia:Translation#How_to_translate|Translation instructions]]{{#ifeq:{{{google}}}|yes
+
  }}<br/><small>After translating, <code><nowiki>{{Translated|</nowiki>{{{langcode|}}}<nowiki>|</nowiki>{{{otherarticle}}}<nowiki>}}</nowiki></code> must be added to the [[{{TALKPAGENAME}}|talk page]]
 +
to ensure [[WP:COPYRIGHTS|copyright]] compliance. <br/><small>[[Wikipedia:Translation#How_to_translate|Translation instructions]]{{#ifeq:{{{google}}}|yes
 
   |{{·}}[http://translate.google.com/translate?&u=http%3A%2F%2F{{{langcode|}}}.wikipedia.org%2Fwiki%2F{{urlencode:{{{otherarticle}}}}}&sl={{{googlelangcode|{{{langcode|}}}}}}&tl=en Translate via Google]
 
   |{{·}}[http://translate.google.com/translate?&u=http%3A%2F%2F{{{langcode|}}}.wikipedia.org%2Fwiki%2F{{urlencode:{{{otherarticle}}}}}&sl={{{googlelangcode|{{{langcode|}}}}}}&tl=en Translate via Google]
 
  }}
 
  }}
Line 15: Line 16:
 
  }}{{#ifeq:{{{topic}}}|
 
  }}{{#ifeq:{{{topic}}}|
 
   |{{#ifeq:{{{fa}}}|yes|
 
   |{{#ifeq:{{{fa}}}|yes|
   |[[Category:Articles needing translation from {{ISO 639 name {{{langcode|}}}}} Wikipedia]]
+
   |{{#ifexist:Category:Articles needing translation from {{ISO 639 name {{{langcode|}}}}} Wikipedia|[[Category:Articles needing translation from {{ISO 639 name {{{langcode|}}}}} Wikipedia]]|[[Category:Articles needing translation from foreign-language Wikipedias]]}}
 
   }}
 
   }}
 
   |[[Category:{{{topic}}} articles needing translation from {{ISO 639 name {{{langcode|}}}}} Wikipedia]]
 
   |[[Category:{{{topic}}} articles needing translation from {{ISO 639 name {{{langcode|}}}}} Wikipedia]]
 
  }}}}}
 
  }}}}}
 
}}</includeonly><!--{{Expand language}} end--><noinclude>
 
}}</includeonly><!--{{Expand language}} end--><noinclude>
{{documentation}}
+
 
 +
{{Documentation}}
 +
 
 
</noinclude>
 
</noinclude>
[[Category:2Fix]]
 

Latest revision as of 18:18, 12 September 2010