Template:GameText/doc

This template is used to retrieve in-game text, based on the game text database which is taken from the source code.

Note: this template is relatively slow, so please use other database templates first, if possible.

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

Language code. Currently we have 9 languages (as in-game): en/es/it/de/fr/zh/pl/pt/ru. All 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

Game Text list
This table lists the entire game text database. It is a huge table, please be patient. You can also view it here.

de:Vorlage:GameText