Template:Userbox-lang/custom: Difference between revisions
m (added category) |
(remove redundant section, use <nowiki> tags) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
This '''{{tl|{{BASEPAGENAME}}}}''' template can be used to display {{ISO 639-1|en}} language skill and level of ability of a contributor on their [[user page]]. | |||
This '''{{tl|{{BASEPAGENAME}}}}''' template can be used to display | |||
=== Parameters === | === Parameters === | ||
Line 87: | Line 86: | ||
| Basic reader, writer and speaker | | Basic reader, writer and speaker | ||
| | | | ||
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1|skill=reader, writer and speaker}}</nowiki> | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1 | ||
|skill=reader, writer and speaker}}</nowiki> | |||
| | | | ||
{{ {{BASEPAGENAME}}|1|skill=reader, writer and speaker|nocat=}} | {{ {{BASEPAGENAME}}|1|skill=reader, writer and speaker|nocat=}} | ||
Line 93: | Line 93: | ||
<includeonly> | <includeonly> | ||
[[Category: | [[Category:Userboxes|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 05:43, 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 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 |
{{Userbox-lang}} |
| ||
Professional ability |
{{Userbox-lang|5}} |
| ||
Near-native ability |
{{Userbox-lang|4}} |
| ||
Advanced ability |
{{Userbox-lang|3}} |
| ||
Intermediate ability |
{{Userbox-lang|2}} |
| ||
Basic ability |
{{Userbox-lang|1}} |
| ||
Limited ability |
{{Userbox-lang|0}} |
|
Using different skills[edit source]
Situation | You type | You get | ||
---|---|---|---|---|
Intermediate reader speaker |
{{Userbox-lang|2|skill=reader}} |
| ||
Professional reader and writer |
{{Userbox-lang|5|skill=reader and writer}} |
| ||
Basic reader, writer and speaker |
{{Userbox-lang|1 |skill=reader, writer and speaker}} |
|