Template:GameText/doc

This template is used to retrieve in-game text, based on the game text database which is taken from the translation repository. It is one of the most powerful and crucial templates for the translation projects.

Usage
Index key for text. Same as in-game language. See examples below.
 * Unnamed Parameter 1

Language code. Currently we have 2 main complete languages (as in-game): en/pt. and incomplete beta languages (de/es/fr/pl/ro/sv). Other lang codes will use en database.
 * lang (optional)

Replacement for placeholder. There are 2 types of placeholder in the game text:  and , indexed by   and  , respectively. See examples below.
 * all  and   parameters

By default, link breaks (\n) in gameText will be replaced with &gt;br/&lt;. If  is set, it will output raw text.
 * nl2br

Translation databases
The following Modules hold all translations that GameText bases its output on.