Template:Languageicon/doc
From Wikinews, the free news source you can write!
| This is a documentation subpage for Template:Languageicon (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage [edit]
Please see: Category:Language templates, which lists the pre-made language templates currently available on Wikinews.
| {{languageicon|<language code>|<language name>}} |
This template is intended 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|tpi|Tok Pisin}} |
gives:
| (Tok Pisin) |
The template should be added after links, and there should be a space between the link and the template, as shown below:
French link (French)
|

