Difference between revisions of "Template:Expand Alemannic"

From blackwiki
Jump to navigation Jump to search
imported>AnomieBOT II
m (Unsubstifying template, so {{subst:Expand Alemannic}} results in {{Expand Alemannic|date=...}})
imported>AnomieBOT
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||$N=Expand Alemannic |date=__DATE__ |$B=
+
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
 
{{Mbox
 
{{Mbox
 
  |type = notice
 
  |type = notice
 
  |image= [[File:Translation Latin Alphabet.svg|50px|alt=|link=]]
 
  |image= [[File:Translation Latin Alphabet.svg|50px|alt=|link=]]
  |text = '''This article may be expanded with text translated from the [[:als:{{{1|{{PAGENAME}}}}}|corresponding article]] in [[:als:|{{ISO 639 name gsw}} Wikipedia]]'''. {{#if:{{{date|}}}
+
  |text = '''This article may be expanded with text translated from the [[:als:{{{1|{{PAGENAME}}}}}|corresponding article]] in [[:als:|{{ISO 639 name|gsw}}<!-- Alemannic --> Wikipedia]]'''. {{#if:{{{date|}}}
 
   |&#32;''<small>({{{date}}})</small>''
 
   |&#32;''<small>({{{date}}})</small>''
 
  }}<br/><small>After translating, <code><nowiki>{{Translated|als|</nowiki>{{{1|{{PAGENAME}}}}}<nowiki>}}</nowiki></code> must be added to the [[{{TALKPAGENAME}}|talk page]]
 
  }}<br/><small>After translating, <code><nowiki>{{Translated|als|</nowiki>{{{1|{{PAGENAME}}}}}<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]]
+
  to ensure [[WP:COPYRIGHTS|copyright]] compliance.</small> <br/><small>[[Wikipedia:Translation#How to translate|Translation instructions]]</small>
 
}}{{DMCA|Articles to be expanded|from|{{{date|}}}|All articles to be expanded}}<includeonly>{{#ifeq:{{NAMESPACE}}|Template
 
}}{{DMCA|Articles to be expanded|from|{{{date|}}}|All articles to be expanded}}<includeonly>{{#ifeq:{{NAMESPACE}}|Template
  |[[Category:Expand by language Wikipedia templates|{{ISO 639 name gsw}}]]{{#if:{{{nodoc|}}}|
+
  |[[Category:Expand by language Wikipedia templates|{{ISO 639 name|gsw}}<!-- Alemannic -->]]{{#if:{{{nodoc|}}}|
 
   |{{documentation}}
 
   |{{documentation}}
 
  }}
 
  }}
 
  |{{{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}}<!-- Alemannic --> 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}}<!-- Alemannic --> Wikipedia|[[Category:Articles needing translation from {{ISO 639 name|gsw}}<!-- Alemannic --> Wikipedia]]|[[Category:Articles needing translation from foreign-language Wikipedias]]}}
 
   }}
 
   }}
   |[[Category:{{{topic}}} articles needing translation from {{ISO 639 name gsw}} Wikipedia]]
+
   |[[Category:{{{topic}}} articles needing translation from {{ISO 639 name|gsw}}<!-- Alemannic --> Wikipedia]]
 
  }}}}}
 
  }}}}}
 
}}</includeonly><!--{{Expand language}} end-->
 
}}</includeonly><!--{{Expand language}} end-->

Latest revision as of 21:02, 24 August 2020

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