Difference between revisions of "Template:Expand Alemannic"
imported>AnomieBOT II m (Unsubstifying template, so {{subst:Expand Alemannic}} results in {{Expand Alemannic|date=...}}) |
imported>AnomieBOT m (Substing templates: {{ISO 639 name gsw}} per WP:Templates for discussion/Log/2020 August 14#ISO 639 name from code templates. Report errors at User talk:AnomieBOT/TFDTemplateSubster.) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ {{{|safesubst:}}}#invoke:Unsubst| | + | {{ {{{|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|}}} |
| ''<small>({{{date}}})</small>'' | | ''<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
| This article may be expanded with text translated from the corresponding article in Swiss German Wikipedia. After translating, {{Translated|als|Expand Alemannic}} must be added to the talk page
to ensure copyright compliance. Translation instructions |
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}}
| The above documentation is transcluded from Template:Expand Alemannic/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |