From http://semantic-mediawiki.org/wiki/Template:Language
This template is used for stating the language for some content page.
Usage:
{{language|master page=Page title|language=en}}
The parameters have the following meaning:
While a page is shown inside another page by Template:ShowArticle the showarticle variable is set and neither the box nor the annotation is emitted. A frontend such as pyWikiCMS calls the page with the GET parameter frontend=<site name>, read by Extension:UrlGetParameters; the box is then left out because the frontend renders the language switch itself, the annotation stays.