För att be om redigering av rättigheter på Wiki, klicka här.
Mall:Userbox-lang
<img class="FCK__MWIncludeonly" src="" _fckfakelement="true" _fckrealelement="8" _fck_mw_includeonly="true">
![]() |
Detta är en dokumentations undersida för Mall:Userbox-lang (se den sidan för mall själv). Den innehåller användningsinformation, kategorier och annat innehåll som inte är en del av ursprunglig mall sida. |
[[Kategori:Mall dokumentation<img class="FCK__MWNoinclude" src="" _fckfakelement="true" _fckrealelement="7" _fck_mw_noinclude="true">]]<img class="FCK__MWIncludeonly" src="
" _fckfakelement="true" _fckrealelement="6" _fck_mw_includeonly="true"><img class="FCK__MWNoinclude" src="
" _fckfakelement="true" _fckrealelement="5" _fck_mw_noinclude="true"> This template can be used to display the language and level of ability spoken by a contributor on their User page.
Det har begärts att denna sida eller avsnitt översätts från den Template:Userbox-lang från English forsknings-wikin. |
Innehåll
Parameters[redigera wikitext]
The template has two unnamed parameters and one named parameter.
Unnamed parameters[redigera wikitext]
- The first unnamed parameter is a two-letter code according to the ISO 639-1 standard
- The second (optional) unnamed parameter is a number to indicate the level of ability in this language. If this parameter is omitted the wording for native speaker will be displayed.
- 0 = limited or no ability
- 1 = basic
- 2 = intermediate
- 3 = advanced
- 4 = near-native
- 5 = professional
Named parameters[redigera wikitext]
- skill
- This (optional) parameter can be used to define a skill other than speaking, for example reading or writing. If omitted the default is speaking.
Examples[redigera wikitext]
Using different language codes[redigera wikitext]
NOTE: The template can be called using {{Userbox-lang}} or {{Mall:Userbox-lang}}
Situation | You type | You get | ||
---|---|---|---|---|
Native speaker of English | {{UBX-lang|en}} |
| ||
Advanced speaker of Spanish | {{UBX-lang|es|3}} |
| ||
Basic speaker of Japanese | {{Userbox-lang|ja|1}} |
|
Using different ability levels[redigera wikitext]
Using English as an example the following shows the range of abilities that can be choosen.
Ability | You type | You get | ||
---|---|---|---|---|
Native ability | {{UBX-lang|en}} |
| ||
Professional ability | {{UBX-lang|en|5}} |
| ||
Near-native ability | {{Userbox-lang|en|4}} |
| ||
Advanced ability | {{Userbox-lang|en|3}} |
| ||
Intermediate ability | {{Userbox-lang|en|2}} |
| ||
Basic ability | {{Userbox-lang|en|1}} |
| ||
Limited ability | {{Userbox-lang|en|0}} |
|
Using different skills[redigera wikitext]
Situation | You type | You get | ||
---|---|---|---|---|
Intermediate reader speaker of Spanish | {{UBX-lang|es|2|skill=reader}} |
| ||
Professional reader and writer of Welsh | {{UBX-lang|cy|5|skill=reader and writer}} |
| ||
Basic reader, writer and speaker of German | {{UBX-lang|de|1 |skill=reader, writer and speaker}} |
|
fmbox-systemfckLR
" style=" background-color: #ecfcf4; ">
{{{textstyle|}}}"> The above documentation is transcluded from Mall:Userbox-lang/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |