Template:User sv: Difference between revisions

From FamilySearch Wiki
No edit summary
(use {{UBX-lang}})
Line 1: Line 1:
{{ userbox
{{UBX-lang|sv|{{{1|}}}|skill={{{skill|}}} }}<includeonly>{{#ifeq:{{{categories}}}|no||[[Category:User sv|{{PAGENAME}}]]}}</includeonly>
| id-c = #FFFF00
<noinclude>[[Category:Userboxes|{{ISO 639-1|{{#sub:{{BASEPAGENAME}}|-2}}}}]]
| id-s = 14
{{documentation|Template:Userbox-lang/custom}}
| id = <!--[[Swedish Language|-->sv<!--]]-->
</noinclude>
| border-c = #000000
| info-c = #3399FF
| info = This user speaks'''<!--[[:Category:User sv-N|--><!--]]--> '''[[:Category:User sv|Swedish]]'''.
}}<includeonly>{{#ifeq:{{{categories}}}|no||[[Category:User sv|{{PAGENAME}}]]}}</includeonly><noinclude>[[Category:Userboxes|{{PAGENAME}}]]</noinclude>

Revision as of 06:23, 5 February 2011

sv This user is a native of Swedish
[view] [edit] [history] [purge] Documentation icon Template documentation

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]

  1. 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}}

sv This user is a native of Swedish
Professional ability

{{User sv|5}}

sv-5 This user is a professional of Swedish
Near-native ability

{{User sv|4}}

sv-4 This user is a near-native of Swedish
Advanced ability

{{User sv|3}}

sv-3 This user is an advanced of Swedish
Intermediate ability

{{User sv|2}}

sv-2 This user is an intermediate of Swedish
Basic ability

{{User sv|1}}

sv-1 This user is a basic of Swedish
Limited ability

{{User sv|0}}

sv-0 This user does not understand Swedish (or understands it with considerable difficulty).

Using different skills[edit source]

Situation You type You get
Intermediate reader speaker

{{User sv|2|skill=reader}}

sv-2 This user is an intermediate reader of Swedish
Professional reader and writer

{{User sv|5|skill=reader and writer}}

sv-5 This user is a professional reader and writer of Swedish
Basic reader, writer and speaker

{{User sv|1|skill=reader, writer and speaker}}

sv-1 This user is a basic reader, writer and speaker of Swedish