MilMo Wiki

READ MORE

MilMo Wiki
Advertisement

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

Note: this template is (very) slow.

Usage

{{gameText|<index key>|lang=<lang>|nl2br=no|x_<name>=<value>...|y_<name>=<value>...}}

Unnamed Parameter 1

Index key for text. Same as in-game language. See examples below.

lang (optional)

Language code. Currently we have 2 languages (as in-game): en/pt. Other lang codes will use en database.

all x_<name> and y_<name> parameters

Replacement for placeholder. There are 2 types of placeholder in the game text: {xxx} and <yyy>, indexed by x_... and y_..., respectively. See examples below.

nl2br

By default, link breaks (\n) in gameText will be replaced with >br/<. If nl2br is set, it will output raw text.

Examples

Code Result
{{gameText|Text.Abilities_DPS_1_N}} FAIL! (expected: Venom Strike)
{{gameText|Abilities.DPS_1_N|lang=pt}} FAIL! (expected: Ataque da Víbora)
{{gameText|Text.World_468}} FAIL! (expected: You have found a Member Area!
Do you want to become a member?)
{{gameText|Text.World_468|nl2br=no}} FAIL! (expected: You have found a Member Area!

Do you want to become a member?)

{{gameText|Text.World_13555}} FAIL! (expected: I should wait until I'm level {0} to enter there.)
{{gameText|Text.World_13555|x_0=15}} FAIL! (expected: I should wait until I'm level 15 to enter there.)
{{gameText|Text.World_11380}} FAIL! (expected: {0} just reached Level {1}!)
{{gameText|Text.World_11380|x_0=PlayerName|x_1=21}} FAIL! (expected: PlayerName just reached Level 21!)

Game Text list

You can view the entire game text database (en) here and (pt) here. It is a huge table, please be patient.

Advertisement