Template:Userbox-lang/custom: Difference between revisions
mNo edit summary |
(add <nowiki> tags) |
||
| Line 25: | Line 25: | ||
| Native speaker | | Native speaker | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki> | ||
{{ {{BASEPAGENAME}}}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|nocat=}} | {{ {{BASEPAGENAME}}|nocat=}} | ||
| Line 33: | Line 31: | ||
| Advanced speaker | | Advanced speaker | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|3}}</nowiki> | ||
{{ {{BASEPAGENAME}}|3}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|3|nocat=}} | {{ {{BASEPAGENAME}}|3|nocat=}} | ||
| Line 41: | Line 37: | ||
| Basic speaker | | Basic speaker | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1}}</nowiki> | ||
{{ {{BASEPAGENAME}}|1}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|1|nocat=}} | {{ {{BASEPAGENAME}}|1|nocat=}} | ||
Revision as of 04:39, 5 February 2011
This {{Userbox-lang}} template can be used to display English language skill and level of ability of a contributor on their user page.
Parameters[edit source]
The template has one unnamed parameter and one named parameter.
Unnamed parameters[edit source]
- The (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[edit source]
- 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[edit source]
Using different language codes[edit source]
NOTE: The template can be called using {{Userbox-lang}} or {{UBX-lang}}
| Situation | You type | You get | ||
|---|---|---|---|---|
| Native speaker |
{{Userbox-lang}} |
| ||
| Advanced speaker |
{{Userbox-lang|3}} |
| ||
| Basic speaker |
{{Userbox-lang|1}} |
|
Using different ability levels[edit source]
Using English as an example the following shows the range of abilities that can be choosen.
| Ability | You type | You get | ||
|---|---|---|---|---|
| Native ability |
{{ {{BASEPAGENAME}}}}
|
| ||
| Professional ability |
{{ {{BASEPAGENAME}}|5}}
|
| ||
| Near-native ability |
{{ {{BASEPAGENAME}}|4}}
|
| ||
| Advanced ability |
{{ {{BASEPAGENAME}}|3}}
|
| ||
| Intermediate ability |
{{ {{BASEPAGENAME}}|2}}
|
| ||
| Basic ability |
{{ {{BASEPAGENAME}}|1}}
|
| ||
| Limited ability |
{{ {{BASEPAGENAME}}|0}}
|
|
Using different skills[edit source]
| Situation | You type | You get | ||
|---|---|---|---|---|
| Intermediate reader speaker |
{{ {{BASEPAGENAME}}|2|skill=reader}}
|
| ||
| Professional reader and writer |
{{ {{BASEPAGENAME}}|5|skill=reader and writer}}
|
| ||
| Basic reader, writer and speaker |
{{ {{BASEPAGENAME}}|1
|skill=reader, writer and speaker}}
|
|