Template:User no: Difference between revisions
(add default skill) |
m (Text replace - 'Category:Userboxes' to 'Category:Language Userboxes') |
||
Line 1: | Line 1: | ||
{{UBX-lang|no|{{{1|}}}|skill={{{skill|speaker}}} }}<includeonly>{{#ifeq:{{{categories}}}|no||[[Category:User no|{{PAGENAME}}]]}}</includeonly> | {{UBX-lang|no|{{{1|}}}|skill={{{skill|speaker}}} }}<includeonly>{{#ifeq:{{{categories}}}|no||[[Category:User no|{{PAGENAME}}]]}}</includeonly> | ||
<noinclude>[[Category:Userboxes|{{ISO 639-1|{{#sub:{{BASEPAGENAME}}|-2}}}}]] | <noinclude>[[Category:Language Userboxes|{{ISO 639-1|{{#sub:{{BASEPAGENAME}}|-2}}}}]] | ||
{{documentation|Template:Userbox-lang/custom}} | {{documentation|Template:Userbox-lang/custom}} | ||
</noinclude> | </noinclude> |
Latest revision as of 10:19, 22 January 2012
no | This user is a native speaker of Norwegian |
---|
This {{User no}} template can be used to display a contributor's Norwegian 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 |
{{User no}} |
| ||
Professional ability |
{{User no|5}} |
| ||
Near-native ability |
{{User no|4}} |
| ||
Advanced ability |
{{User no|3}} |
| ||
Intermediate ability |
{{User no|2}} |
| ||
Basic ability |
{{User no|1}} |
| ||
Limited ability |
{{User no|0}} |
|
Using different skills[edit source]
Situation | You type | You get | ||
---|---|---|---|---|
Intermediate reader speaker |
{{User no|2|skill=reader}} |
| ||
Professional reader and writer |
{{User no|5|skill=reader and writer}} |
| ||
Basic reader, writer and speaker |
{{User no|1|skill=reader, writer and speaker}} |
|
The above documentation is transcluded from Template:Userbox-lang/custom. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |