Template:Translation projects
This template helps organizing the many translation projects of the Terraria Wiki. It is transcluded by {{language info}}, so there is no need to transclude it manually anywhere.
Effects
It handles two tasks:
- Indexing a page, i.e. categorizing it appropriately and adding an identifier to it.
- Translating the page's title.
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
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 |
---|---|---|---|
Chinese | zh
|
Chinese translation |
Usage
{{ translation projects | displaytitle = <translated page title> }}
Since this template is transcluded by {{language info}}, the parameter must be passed to that template, i.e.:
{{ language info | displaytitle = <translated page title> }}
- displaytitle
Use this parameter to provide a custom translation of the page title. It defaults to {{tr}}
, and can thus usually be omitted.