Template:User sv: Difference between revisions
SummerhaysMV (talk | contribs) No edit summary |
(use {{UBX-lang}}) |
||
Line 1: | Line 1: | ||
{{ | {{UBX-lang|sv|{{{1|}}}|skill={{{skill|}}} }}<includeonly>{{#ifeq:{{{categories}}}|no||[[Category:User sv|{{PAGENAME}}]]}}</includeonly> | ||
<noinclude>[[Category:Userboxes|{{ISO 639-1|{{#sub:{{BASEPAGENAME}}|-2}}}}]] | |||
{{documentation|Template:Userbox-lang/custom}} | |||
| | </noinclude> | ||
| | |||
| | |||
| | |||
}}<includeonly>{{#ifeq:{{{categories}}}|no||[[Category:User sv|{{PAGENAME}}]]}}</includeonly><noinclude>[[Category:Userboxes|{{ |
Revision as of 06:23, 5 February 2011
sv | This user is a native of Swedish |
---|
This {{User sv}} template can be used to display a contributor's Swedish 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 sv}} |
| ||
Professional ability |
{{User sv|5}} |
| ||
Near-native ability |
{{User sv|4}} |
| ||
Advanced ability |
{{User sv|3}} |
| ||
Intermediate ability |
{{User sv|2}} |
| ||
Basic ability |
{{User sv|1}} |
| ||
Limited ability |
{{User sv|0}} |
|
Using different skills[edit source]
Situation | You type | You get | ||
---|---|---|---|---|
Intermediate reader speaker |
{{User sv|2|skill=reader}} |
| ||
Professional reader and writer |
{{User sv|5|skill=reader and writer}} |
| ||
Basic reader, writer and speaker |
{{User sv|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. |