Your wiki has been migrated to a new Fandom domain. Learn more here.

Experiencing problems on the wiki?
  • Invisible files and icons: Clear your cache by purging the page
  • Strange view on Desktop: Probably using Mobile view, click here to switch back to Desktop view
If none of the above worked, try to reach us on the Community noticeboard or our Discord server.


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

This template stores two lists of language codes: One with all language projects that are ongoing, i.e. still on this wiki, and one with all completed language projects, i.e. languages with an own subdomain. In some i18n contexts, this information is relevant, e.g. the interwiki linking functionality of {{translation projects}}.


{{langList| <function> | <target lang> }}

First unnamed parameter

One of the following functions:

isOnWiki Returns yes if the <target lang> is the language code of an ongoing project.
isOffWiki Returns yes if the <target lang> is the language code of a completed project.
isEn Returns yes if the <target lang> is neither on-wiki nor off-wiki, i.e. English.
onWiki Lists all languages for which isOnWiki is true. See Extension:ParserPower for parser functions for handling this list.
offWiki Lists all languages for which isOffWiki is true.
Second unnamed parameter

Language to operate on; is usually set to {{lang}}. Has no effect if the first unnamed parameter is set to onWiki or offWiki, and can be omitted in those cases.


Code Result
{{langList|isOffWiki|zh}} yes
{{langList|isOnWiki|cs}} yes
{{langList|isEn|en}} yes
{{langList|onWiki}} bg, cs, da, el, es, fi, id, it, ja, lt, lv, nl, no, ro, sk, sv, th, tr, vi, yue
{{langList|offWiki}} de, fr, hu, ko, ru, pl, pt, uk, zh
{{#lstsep:{{langList|offWiki}}|,|*}} de*fr*hu*ko*ru*pl*pt*uk*zh
Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.