Difference between revisions of "Template:Expand Alemannic"

From blackwiki
Jump to navigation Jump to search
imported>OwenBlacker
(Manually subst'd contents from Template:Expand language, as the Alemannic Wikipedia uses als, which is the language code for Albanian (Tosk), whereas the ISO 639 code for Alemannic is gsw)
imported>OwenBlacker
m (Added default-null to {{{topic}}})
Line 12: Line 12:
 
  |{{{category|{{#ifeq:{{{fa}}}|yes
 
  |{{{category|{{#ifeq:{{{fa}}}|yes
 
   |[[Category:Featured articles needing translation from {{ISO 639 name gsw}} Wikipedia]]
 
   |[[Category:Featured articles needing translation from {{ISO 639 name gsw}} Wikipedia]]
  }}{{#ifeq:{{{topic}}}|
+
  }}{{#ifeq:{{{topic|}}}|
 
   |{{#ifeq:{{{fa}}}|yes|
 
   |{{#ifeq:{{{fa}}}|yes|
 
   |{{#ifexist:Category:Articles needing translation from {{ISO 639 name gsw}} Wikipedia|[[Category:Articles needing translation from {{ISO 639 name gsw}} Wikipedia]]|[[Category:Articles needing translation from foreign-language Wikipedias]]}}
 
   |{{#ifexist:Category:Articles needing translation from {{ISO 639 name gsw}} Wikipedia|[[Category:Articles needing translation from {{ISO 639 name gsw}} Wikipedia]]|[[Category:Articles needing translation from foreign-language Wikipedias]]}}

Revision as of 11:51, 28 May 2011

50px Template documentation[view] [edit] [history] [purge]

Background

Unlike the other language expansion templates, this template is not generated by {{Expand language}}, because the Alemannic Wikipedia uses the language code als, which is the ISO 639-3 code for Tosk Albanian, rather than the correct ISO 639-3 code for Alemannic German gsw.

This template is used to mark articles that are better in the Alemannic Wikipedia than in English Wikipedia, and thus should be translated from Alemannic into English.

Usage

To mark an article, tag it with:

{{Expand Alemannic|Alemannicarticletitle}}

If the name of the article in Alemannic Wikipedia is not specified, the template defaults to the name of the article to which the template is applied. This is good when the article has the same name in both English and Alemannic. This is bad when the names are different, because the template link will point to a non-existent or unrelated article in Alemannic Wikipedia.

This template places articles in the category Category:Articles needing translation from Alemannic Wikipedia.

Optional parameters

Foreign language featured articles can be marked using fa=yes, as in {{Expand Alemannic|Alemannicarticletitle|fa=yes}}