Button See Issues.png
Experiencing problems on the wiki?
  • Invisible files and icons: Clear the page's cache by purging the page (via "Purge" in the "More" dropdown in the top right corner)
  • Strange view on Desktop: Probably using Mobile view; click "View full site" at the very bottom to switch back to Desktop view
    • Can also be caused by an adblocker, such as Ghostery, try turning it off on the wiki
If none of the above worked, try to reach us on the Community noticeboard or our Discord server.

Localization/register

Template-info.svg Documentation The documentation below is transcluded from Template:Localization/register/doc. (edit | history)

This template is used to define the dynamically displayed text used by {{l10n}}. See that template's documentation and Help:I18n & l10n for Templates for more information.

Use {{l10n/register}} as a shortcut.

Usage

{{l10n/register|<namespace>|<lang>
	| <key> = <value>
	| <key> = <value>
	...
}}
Parameter 1

Namespace. Part of the unique identifier that consists of a namespace–key combination and is used to retrieve the string later on. To avoid conflicts across templates, this should usually be the template's name (since that is guaranteed to be unique in the wiki).

Parameter 2

Language code. This is the anchor for {{lang}} (or, very rarely, the lang parameter of {{l10n}}) so that {{l10n}} knows which database (among the translations) to use.

Named parameters

All string definitions. <key> is the other part of the identifier and <value> is the string.

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.