UserLanguage – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add Dutch)
m (Fix)
Line 9: Line 9:
|    background-color: #ADA; border: 0.125em solid #ADA
|    background-color: #ADA; border: 0.125em solid #ADA
}}"
}}"
{{!}} style="font-size: 1.5em; min-height: 2em; min-width: 3em; padding: 0.5em; text-align:center" {{!}} '''{{#switch:{{lc:{{{1|}}}}}
{{!}} class="plainlinks" style="font-size: 1.5em; min-height: 2em; min-width: 3em; padding: 0.5em; text-align:center" {{!}} '''{{#switch:{{lc:{{{1|}}}}}
| cs = {{Link|https://en.wikipedia.org/wiki/Czech_language|cs-{{#sub:{{{2|5}}}|0|1}}}}
| cs = {{Link|https://en.wikipedia.org/wiki/Czech_language|cs-{{#sub:{{{2|5}}}|0|1}}}}
| da = {{Link|https://en.wikipedia.org/wiki/Danish_language|da-{{#sub:{{{2|5}}}|0|1}}}}
| da = {{Link|https://en.wikipedia.org/wiki/Danish_language|da-{{#sub:{{{2|5}}}|0|1}}}}

Revision as of 00:03, 27 February 2024

Usage

{{UserLanguage|language|level}}

  • language: ISO 639-1 language code (full list available here). Supported so far: cs, da, de, el, en, fi, fr, it, ja, pl, sk, sl, tr.
  • level: (Optional, default 5) a number in range 1..6:
    1. basic level
    2. intermediate level
    3. advanced level
    4. near-native level
    5. native level
    6. professional level
Examples
Code Result
{{UserLanguage}} -no language specified-
{{UserLanguage||2}} -no language specified-
{{UserLanguage|en}}
This user is able to contribute with a native level of English.
Below are all levels of language
{{UserLanguage|en|1}}
This user is able to contribute with a basic level of English.
{{UserLanguage|en|2}}
This user is able to contribute with an intermediate level of English.
{{UserLanguage|en|3}}
This user is able to contribute with an advanced level of English.
{{UserLanguage|en|4}}
This user is able to contribute with a near-native level of English.
{{UserLanguage|en|5}}
This user is able to contribute with a native level of English.
{{UserLanguage|en|6}}
This user is able to contribute with a professional level of English.
Below are all supported languages
{{UserLanguage|cs}}
This user is able to contribute with a native level of Czech.
{{UserLanguage|da}}
This user is able to contribute with a native level of Danish.
{{UserLanguage|de}}
This user is able to contribute with a native level of German.
{{UserLanguage|el}}
This user is able to contribute with a native level of Greek.
{{UserLanguage|en}}
This user is able to contribute with a native level of English.
{{UserLanguage|fi}}
This user is able to contribute with a native level of Finnish.
{{UserLanguage|fr}}
This user is able to contribute with a native level of French.
{{UserLanguage|it}}
This user is able to contribute with a native level of Italian.
{{UserLanguage|ja}}
This user is able to contribute with a native level of Japanese.
{{UserLanguage|nl}}
This user is able to contribute with a native level of Dutch.
{{UserLanguage|pl}}
This user is able to contribute with a native level of Polish.
{{UserLanguage|sk}}
This user is able to contribute with a native level of Slovak.
{{UserLanguage|sl}}
This user is able to contribute with a native level of Slovene.
{{UserLanguage|tr}}
This user is able to contribute with a native level of Turkish.