It handles two tasks:
- Indexing a page if it pertains to a translation project, i.e. categorizing it appropriately and adding an identifier to it.
- Adding interwiki links to all translated versions of the page.
The template is fully automatic, hence it takes the information it needs for the first task from the article's title and the information it needs for the second task from the wiki's page database.
Pages will only be categorized and provided with an identifier if the last subpage level equals any of the available languages' language codes listed in the table below. The category will be the respective
<language> translation category, found in the main category. The identifier consists of a flag of the country that the language is generally associated with. It will be visible in the upper right corner of the page, in the page status indicator section. It can be clicked to reveal a banner with a short informational sentence and clicked again to hide it again.
The template also creates language interwiki links to all existing translation project subpages of the current page. These will appear in the "In other languages" section in the sidebar on the left. Note that this only applies only to the translation projects listed in the table above, and not to translation projects moved to an own subdomain, such as French or Russian.
Place this code at the very bottom of the page, below interwiki links to completed language projects.