Template:Loc
Jump to navigation
Jump to search
Usage Examples
| Page Language | Template Call | Output |
|---|---|---|
| en | {{Loc|DLC|wildlife_of_arrakis-name}}
|
Wildlife of Arrakis |
| de | Fauna von Arrakis | |
| de | {{Loc|DLC|wildlife_of_arrakis-name|link=true}}
|
Fauna von Arrakis |
TemplateData
Retrieves a localised string for a given key from a specified MessageBundle.
It auto-switches to the language that the viewer's page is currently on, and falls back to the English source if no translation exists for the current language.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| MessageBundle Name | 1 | The name of the MessageBundle to look up (without the `MessageBundle:` prefix). | String | required |
| Key | 2 | The key to retrieve from the MessageBundle. | String | required |
| Wrap as Link | link | If set to yes, wraps the result as a link to the English page name instead of returning plain text.
| Boolean | optional |