Predefinição:Translation projects
This template helps organizing the many translation projects of the Terraria Wiki. It should be transcluded on every mainspace article.
Effects
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.
Indexing
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.
Language | Language code | Category | Flag |
---|---|---|---|
Arabic |
|
Arabic translation | |
Bulgarian |
|
Bulgarian translation | |
Czech |
|
Czech translation | |
Danish |
|
Danish translation | |
Greek |
|
Greek translation | |
Spanish |
|
Spanish translation | |
Finnish |
|
Finnish translation | |
Hindi |
|
Hindi translation | |
Indonesian |
|
Indonesian translation | |
Italian |
|
Italian translation | |
Japanese |
|
Japanese translation | |
Lithuanian |
|
Lithuanian translation | |
Latvian |
|
Latvian translation | |
Dutch |
|
Dutch translation | |
Norwegian |
|
Norwegian translation | |
Romanian |
|
Romanian translation | |
Slovak |
|
Slovak translation | |
Swedish |
|
Swedish translation | |
Thai |
|
Thai translation | |
Turkish |
|
Turkish translation | |
Vietnamese |
|
Vietnamese translation | |
Cantonese |
|
Cantonese translation |
Interwiki links
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.
Usage
{{translation projects}}
Place this code at the very bottom of the page, below interwiki links to completed language projects.