Template:Userbox-lang/custom: Difference between revisions

m
added category
(add <nowiki> tags)
m (added category)
 
(4 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|en}} language skill and level of ability of a contributor on their [[user page]].
 
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 language codes ====
'''NOTE:''' The template can be called using {{tl|Userbox-lang}} or {{tl|UBX-lang}}
{| cellspacing="0" border="1"
!style="width:33%"|Situation
!style="width:33%"|You type
!style="width:33%"|You get
|-
| Native speaker
|
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki> 
|
{{ {{BASEPAGENAME}}|nocat=}}
|-
| Advanced speaker
|
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|3}}</nowiki>
|
{{ {{BASEPAGENAME}}|3|nocat=}}
|-
| Basic speaker
|
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1}}</nowiki>
|
{{ {{BASEPAGENAME}}|1|nocat=}}
|}
==== 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 50: Line 26:
| Native ability
| Native ability
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki>
{{ {{BASEPAGENAME}}}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|nocat=}}
{{ {{BASEPAGENAME}}|nocat=}}
Line 58: Line 32:
| Professional ability
| Professional ability
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|5}}</nowiki>
{{ {{BASEPAGENAME}}|5}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|5|nocat=}}
{{ {{BASEPAGENAME}}|5|nocat=}}
Line 66: Line 38:
| Near-native ability
| Near-native ability
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|4}}</nowiki>
{{ {{BASEPAGENAME}}|4}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|4|nocat=}}
{{ {{BASEPAGENAME}}|4|nocat=}}
Line 74: Line 44:
|  Advanced ability
|  Advanced ability
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|3}}</nowiki>
{{ {{BASEPAGENAME}}|3}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|3|nocat=}}
{{ {{BASEPAGENAME}}|3|nocat=}}
Line 82: Line 50:
| Intermediate ability
| Intermediate ability
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|2}}</nowiki>
{{ {{BASEPAGENAME}}|2}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|2|nocat=}}
{{ {{BASEPAGENAME}}|2|nocat=}}
Line 90: Line 56:
| Basic ability
| Basic ability
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1}}</nowiki>
{{ {{BASEPAGENAME}}|1}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|1|nocat=}}
{{ {{BASEPAGENAME}}|1|nocat=}}
Line 98: Line 62:
| Limited ability
| Limited ability
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|0}}</nowiki>
{{ {{BASEPAGENAME}}|0}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|0|nocat=}}
{{ {{BASEPAGENAME}}|0|nocat=}}
Line 113: Line 75:
| Intermediate reader speaker
| Intermediate reader speaker
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|2|skill=reader}}</nowiki>
{{ {{BASEPAGENAME}}|2|skill=reader}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|2|skill=reader|nocat=}}
{{ {{BASEPAGENAME}}|2|skill=reader|nocat=}}
Line 121: Line 81:
| Professional reader and writer
| Professional reader and writer
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|5|skill=reader and writer}}</nowiki>  
{{ {{BASEPAGENAME}}|5|skill=reader and writer}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|5|skill=reader and writer|nocat=}}
{{ {{BASEPAGENAME}}|5|skill=reader and writer|nocat=}}
Line 129: Line 87:
| Basic reader, writer and speaker
| Basic reader, writer and speaker
|
|
<pre>
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|1|skill=reader, writer and speaker}}</nowiki>
{{ {{BASEPAGENAME}}|1
|skill=reader, writer and speaker}}  
</pre>
|
|
{{ {{BASEPAGENAME}}|1|skill=reader, writer and speaker|nocat=}}
{{ {{BASEPAGENAME}}|1|skill=reader, writer and speaker|nocat=}}
Line 138: Line 93:


<includeonly>
<includeonly>
[[Category:Userboxes|{{PAGENAME}}]]
[[Category:Language Userboxes|{{PAGENAME}}]]
</includeonly>
</includeonly>
<noinclude>
[[Category: Userboxes]]
</noinclude>
21,761

edits