UserLanguage – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add da & pl) |
Lou Montana (talk | contribs) m (Add da & pl in description) |
||
Line 47: | Line 47: | ||
== Usage == | == Usage == | ||
{{<nowiki/>UserLanguage|'''''language'''''|'''''level'''''}} | {{<nowiki/>UserLanguage|'''''language'''''|'''''level'''''}} | ||
* language: {{Wikipedia|ISO 639-1}} language code (full list available {{Wikipedia|List of ISO 639-1 codes|here}}). Supported so far: <tt>cs</tt>, <tt>de</tt>, <tt>el</tt>, <tt>en</tt>, <tt>fi</tt>, <tt>fr</tt>, <tt>it</tt>, <tt>ja</tt>, <tt>tr</tt>. | * language: {{Wikipedia|ISO 639-1}} language code (full list available {{Wikipedia|List of ISO 639-1 codes|here}}). Supported so far: <tt>cs</tt>, <tt>da</tt>, <tt>de</tt>, <tt>el</tt>, <tt>en</tt>, <tt>fi</tt>, <tt>fr</tt>, <tt>it</tt>, <tt>ja</tt>, <tt>pl</tt>, <tt>tr</tt>. | ||
* level: (Optional, default 5) a number in range 1..6: | * level: (Optional, default 5) a number in range 1..6: |
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, da, de, el, en, fi, fr, it, ja, pl, 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}} |
|