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.