Template:Loc

From Dune: Awakening Community Wiki
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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
MessageBundle Name1

The name of the MessageBundle to look up (without the `MessageBundle:` prefix).

Stringrequired
Key2

The key to retrieve from the MessageBundle.

Stringrequired
Wrap as Linklink

If set to yes, wraps the result as a link to the English page name instead of returning plain text.

Suggested values
true false
Default
false
Booleanoptional