UserLanguage – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add Czech, Fix Greek/Hellenic) |
Lou Montana (talk | contribs) m (Add da & pl) |
||
Line 10: | Line 10: | ||
{{!}} style="font-size: 1.5em; min-height: 2em; min-width: 3em; padding: 0.5em; text-align:center" {{!}} '''{{#switch:{{lc:{{{1|}}}}} | {{!}} style="font-size: 1.5em; min-height: 2em; min-width: 3em; padding: 0.5em; text-align:center" {{!}} '''{{#switch:{{lc:{{{1|}}}}} | ||
| cs = {{Wikipedia|Czech language|cs-{{#sub:{{{2|5}}}|0|1}}}} | | cs = {{Wikipedia|Czech language|cs-{{#sub:{{{2|5}}}|0|1}}}} | ||
| da = {{Wikipedia|Danish language|da-{{#sub:{{{2|5}}}|0|1}}}} | |||
| de = {{Wikipedia|German language|de-{{#sub:{{{2|5}}}|0|1}}}} | | de = {{Wikipedia|German language|de-{{#sub:{{{2|5}}}|0|1}}}} | ||
| el = {{Wikipedia|Greek language|el-{{#sub:{{{2|5}}}|0|1}}}} | | el = {{Wikipedia|Greek language|el-{{#sub:{{{2|5}}}|0|1}}}} | ||
Line 17: | Line 18: | ||
| it = {{Wikipedia|Italian language|it-{{#sub:{{{2|5}}}|0|1}}}} | | it = {{Wikipedia|Italian language|it-{{#sub:{{{2|5}}}|0|1}}}} | ||
| ja = {{Wikipedia|Japanese language|ja-{{#sub:{{{2|5}}}|0|1}}}} | | ja = {{Wikipedia|Japanese language|ja-{{#sub:{{{2|5}}}|0|1}}}} | ||
| pl = {{Wikipedia|Polish language|pl-{{#sub:{{{2|5}}}|0|1}}}} | |||
| tr = {{Wikipedia|Turkish language|tr-{{#sub:{{{2|5}}}|0|1}}}} | | tr = {{Wikipedia|Turkish language|tr-{{#sub:{{{2|5}}}|0|1}}}} | ||
| {{#sub:{{lc:{{{1}}}}}|0|2}}-{{#sub:{{{2|5}}}|0|1}} | | {{#sub:{{lc:{{{1}}}}}|0|2}}-{{#sub:{{{2|5}}}|0|1}} | ||
Line 29: | Line 31: | ||
}} level of '''{{#switch:{{lc:{{{1}}}}} | }} level of '''{{#switch:{{lc:{{{1}}}}} | ||
| cs = Czech | | cs = Czech | ||
| da = Danish | |||
| de = German | | de = German | ||
| el = Greek | | el = Greek | ||
Line 36: | Line 39: | ||
| it = Italian | | it = Italian | ||
| ja = Japanese | | ja = Japanese | ||
| pl = Polish | |||
| tr = Turkish | | tr = Turkish | ||
| {{uc:{{#sub:{{{1}}}|0|2}}}} | | {{uc:{{#sub:{{{1}}}|0|2}}}} |
Revision as of 02:36, 26 December 2020
Usage
{{UserLanguage|language|level}}
- language: ISO 639-1 language code (full list available here). Supported so far: cs, de, el, en, fi, fr, it, ja, tr.
- level: (Optional, default 5) a number in range 1..6:
- basic level
- intermediate level
- advanced level
- near-native level
- native level
- professional level
Code | Result | ||
---|---|---|---|
{{UserLanguage}} | -no language specified- | ||
{{UserLanguage||2}} | -no language specified- | ||
{{UserLanguage|en}} |
| ||
{{UserLanguage|en|2}} |
|