Template:Userbox-lang/customEdit This Page

From FamilySearch Wiki

< Template:Userbox-lang(Difference between revisions)
({{#sub:{{BASEPAGENAME}}|-2}})
m (Text replace - 'Category:Userboxes' to 'Category:Language Userboxes')
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
  
This '''{{tl|{{BASEPAGENAME}}}}''' template can be used to display '''{{ISO 639-1|{{#sub:{{BASEPAGENAME}}|-2}}}} language''' skill and level of ability of a contributor on their [[user page]]. For userboxes for different languages see [[:Category:Userboxes]] or use the {{tl|Userbox-lang}}.
+
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 87: Line 87:
 
| Basic reader, writer and speaker
 
| Basic reader, writer and speaker
 
|
 
|
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1
+
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1|skill=reader, writer and speaker}}</nowiki>
|skill=reader, writer and speaker}}</nowiki>
+
 
|
 
|
 
{{ {{BASEPAGENAME}}|1|skill=reader, writer and speaker|nocat=}}
 
{{ {{BASEPAGENAME}}|1|skill=reader, writer and speaker|nocat=}}
Line 94: Line 93:
  
 
<includeonly>
 
<includeonly>
[[Category:Userboxes|{{PAGENAME}}]]
+
[[Category:Language Userboxes|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Latest revision as of 16:19, 22 January 2012


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

Contents

Parameters

The template has one unnamed parameter and one named parameter.

Unnamed parameters

  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

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

Using different ability levels

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

en This user is a native speaker of English
Professional ability

{{Userbox-lang|5}}

5 This user is a native speaker of [[Category:User 5|unknown ISO 639-1 code]]
Near-native ability

{{Userbox-lang|4}}

4 This user is a native speaker of [[Category:User 4|unknown ISO 639-1 code]]
Advanced ability

{{Userbox-lang|3}}

3 This user is a native speaker of [[Category:User 3|unknown ISO 639-1 code]]
Intermediate ability

{{Userbox-lang|2}}

2 This user is a native speaker of [[Category:User 2|unknown ISO 639-1 code]]
Basic ability

{{Userbox-lang|1}}

1 This user is a native speaker of [[Category:User 1|unknown ISO 639-1 code]]
Limited ability

{{Userbox-lang|0}}

0 This user is a native speaker of [[Category:User 0|unknown ISO 639-1 code]]

Using different skills

Situation You type You get
Intermediate reader speaker

{{Userbox-lang|2|skill=reader}}

2 This user is a native reader of [[Category:User 2|unknown ISO 639-1 code]]
Professional reader and writer

{{Userbox-lang|5|skill=reader and writer}}

5 This user is a native reader and writer of [[Category:User 5|unknown ISO 639-1 code]]
Basic reader, writer and speaker

{{Userbox-lang|1|skill=reader, writer and speaker}}

1 This user is a native reader, writer and speaker of [[Category:User 1|unknown ISO 639-1 code]]


  • This page was last modified on 22 January 2012, at 16:19.
  • This page has been accessed 352 times.