Template:L/doc

This template is used to create links to articles written in a non-standard language (not English, that is).

Automatic language detection

 * 1: Page name.
 * o: (Optional) Title override.

Language override

 * 1: Language code.
 * 2: Page name.
 * o: (Optional) Title override.

Usage
The following on a Russian article: produces:

which is actually : Iron Chests when written in code.

The template will detect the page language and create a wiki-internal link and append the language abbreviation to link to the translation.

Language Override
You can provide a langcode in the second parameter to override language detection. This function is kept to maintain backwards compatibility. produces:

Please only use abbreviations from this list:


 * da for Danish
 * de for German
 * es for Spanish
 * fr for French
 * it for Italian
 * jp for Japanese
 * nl for Dutch
 * pl for Polish
 * pt for Portuguese
 * ru for Russian
 * sv for Swedish
 * fi for Finnish
 * zh for Chinese

Display override
Use sparingly!!

produces:

produces: