Modèle:Tr

De Terraria Wiki
Aller à : navigation, rechercher

Auto translation, depending on glossary database, it is located at Template:tr/db-<langcode> (e.g. Template:tr/db-it for Italian, Template:tr/db-hu for Hungarian).

Usage

Auto determine the language(by page url): {{tr|<english>}}

Explicitly specify language: {{tr|lang=<langcode>|<english>}}

You will get the corresponding translation. If there is no entity for the input in glossary, you will get the original input text.

For example:
{{tr|lang=fr|Gold Watch}}: Montre en or
{{tr|lang=fr|Molten Hamaxe}}: Martache en fusion
{{tr|lang=fr|Dirt Wings}}: Dirt Wings

get pagename for target language: {{tr|<english>|link=y}}
{{tr|lang=<langcode>|<english>|link=y|}}

For example:
{{tr|lang=fr|Gold Watch|link=y}}: Montre en or
{{tr|lang=fr|Molten Hamaxe|link=y}}: Martache en fusion

NOTE: Based on performance considerations, input text is case sensitive and white space sensitive, so be careful about that. For example: {{tr|lang=fr|Molten Hamaxe}}: Martache en fusion {{tr|lang=fr|Molten hamaxe}}: Molten hamaxe {{tr|lang=fr| Molten Hamaxe }}: Molten Hamaxe {{tr|lang=fr|Molten Hamaxe}}: Molten Hamaxe