Template:Userbox-lang/custom: Difference between revisions
mNo edit summary |
m (added category) |
||
(5 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| | |||
This '''{{tl|{{BASEPAGENAME}}}}''' template can be used to display a contributor's '''{{ISO 639-1|{{#sub:{{BASEPAGENAME}}|-2}}}} language''' skill and level of ability on their [[user page]]. For userboxes for different languages see [[:Category:Language Userboxes]] or use the {{tl|Userbox-lang}}. | |||
=== Parameters === | === Parameters === | ||
Line 16: | Line 17: | ||
===Examples === | ===Examples === | ||
==== Using different ability levels ==== | ==== Using different ability levels ==== | ||
Using English as an example the following shows the range of abilities that can be choosen. | Using English as an example the following shows the range of abilities that can be choosen. | ||
Line 56: | Line 26: | ||
| Native ability | | Native ability | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki> | ||
{{ {{BASEPAGENAME}}}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|nocat=}} | {{ {{BASEPAGENAME}}|nocat=}} | ||
Line 64: | Line 32: | ||
| Professional ability | | Professional ability | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|5}}</nowiki> | ||
{{ {{BASEPAGENAME}}|5}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|5|nocat=}} | {{ {{BASEPAGENAME}}|5|nocat=}} | ||
Line 72: | Line 38: | ||
| Near-native ability | | Near-native ability | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|4}}</nowiki> | ||
{{ {{BASEPAGENAME}}|4}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|4|nocat=}} | {{ {{BASEPAGENAME}}|4|nocat=}} | ||
Line 80: | Line 44: | ||
| Advanced ability | | Advanced ability | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|3}}</nowiki> | ||
{{ {{BASEPAGENAME}}|3}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|3|nocat=}} | {{ {{BASEPAGENAME}}|3|nocat=}} | ||
Line 88: | Line 50: | ||
| Intermediate ability | | Intermediate ability | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|2}}</nowiki> | ||
{{ {{BASEPAGENAME}}|2}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|2|nocat=}} | {{ {{BASEPAGENAME}}|2|nocat=}} | ||
Line 96: | Line 56: | ||
| Basic ability | | Basic ability | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1}}</nowiki> | ||
{{ {{BASEPAGENAME}}|1}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|1|nocat=}} | {{ {{BASEPAGENAME}}|1|nocat=}} | ||
Line 104: | Line 62: | ||
| Limited ability | | Limited ability | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|0}}</nowiki> | ||
{{ {{BASEPAGENAME}}|0}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|0|nocat=}} | {{ {{BASEPAGENAME}}|0|nocat=}} | ||
Line 119: | Line 75: | ||
| Intermediate reader speaker | | Intermediate reader speaker | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|2|skill=reader}}</nowiki> | ||
{{ {{BASEPAGENAME}}|2|skill=reader}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|2|skill=reader|nocat=}} | {{ {{BASEPAGENAME}}|2|skill=reader|nocat=}} | ||
Line 127: | Line 81: | ||
| Professional reader and writer | | Professional reader and writer | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|5|skill=reader and writer}}</nowiki> | ||
{{ {{BASEPAGENAME}}|5|skill=reader and writer}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|5|skill=reader and writer|nocat=}} | {{ {{BASEPAGENAME}}|5|skill=reader and writer|nocat=}} | ||
Line 135: | Line 87: | ||
| Basic reader, writer and speaker | | Basic reader, writer and speaker | ||
| | | | ||
< | <nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1|skill=reader, writer and speaker}}</nowiki> | ||
{{ {{BASEPAGENAME}}|1 | |||
|skill=reader, writer and speaker}} | |||
</ | |||
| | | | ||
{{ {{BASEPAGENAME}}|1|skill=reader, writer and speaker|nocat=}} | {{ {{BASEPAGENAME}}|1|skill=reader, writer and speaker|nocat=}} | ||
Line 144: | Line 93: | ||
<includeonly> | <includeonly> | ||
[[Category:Userboxes|{{PAGENAME}}]] | [[Category:Language Userboxes|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | |||
[[Category: Userboxes]] | |||
</noinclude> |
Latest revision as of 06:17, 9 September 2015
This {{Userbox-lang}} template can be used to display a contributor's Ndonga language skill and level of ability on their user page. For userboxes for different languages see Category:Language Userboxes or use the {{Userbox-lang}}.
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}} |
|