Template:LangList
Jump to navigation
Jump to search
Documentation The documentation below is transcluded from Template:LangList/doc. (edit | history)
[purge]
This template stores two lists of language codes: One with all translation projects that are ongoing, i.e. still on this wiki, and one with all completed translation projects, i.e. languages with an own subdomain.
Usage
{{ 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
The ISO 639-1 (or ISO 639-3) code of the 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.