ထႅမ်းပလဵတ်ႉ:Languageicon
({{{1}}})
Usage
[မႄးထတ်းငဝ်ႈငႃႇ]Please see: Category:Language templates, which lists the pre-made language templates currently available on Wikinews.
{{languageicon|<language code>|<language name>|<language wikilink target>}}
|
This template is intended for indirect use to label non-English language links, informing the reader that the language of the link's destination is something other than English. Language codes can be found here. Please use the Alpha-2 codes on that list, where possible.
The following code:
{{languageicon|de|German|German language}}
|
gives:
(German) |
Usually this template is used only by specific language templates, so this template does not appear directly on articles. The above is equivalent to {{German}}, or {{de}}.
The template should be added after links, and there should be a space between the link and the template. For source citations, the {{Source}} template does this automatically when given a parameter lang
naming a specific language-template.
The following code:
[http://french.example.com/ French link] {{French}}
|
gives:
French link (ၾရၢင်ႇသဵတ်ႈ)
|
If this template is given only two parameters, the missing parameter is understood to be the language wikilink target, so the icon is unlinked; {{languageicon|de|German}}
would produce (German). Given only one parameter, the remaining parameter is understood to be <language name>
; so {{languageicon|German}}
too would produce (German).