Template:Userbox-lang/doc: Difference between revisions

(→‎Example: fix nocat parameters in examples)
Line 13: Line 13:
## professional
## professional


===Example===
===Example of different language codes===
'''NOTE:''' The template can be called using {{tl|Userbox-lang}} or {{tl|UBX-lang}}
'''NOTE:''' The template can be called using {{tl|Userbox-lang}} or {{tl|UBX-lang}}
{| cellspacing="0" border="1"
{| cellspacing="0" border="1"
Line 44: Line 44:
{{Userbox-lang|ja|1|nocat=}}
{{Userbox-lang|ja|1|nocat=}}
|}
|}
=== Example of different ability levels ===
Using English as an example the following shows the range of abilities that can be choosen.
{| cellspacing="0" border="1"
!style="width:33%"|Ability
!style="width:33%"|You type
!style="width:33%"|You get
|-
| Native ability
|
<pre>
{{UBX-lang|en}}
</pre>
|
{{UBX-lang|en|nocat=}}
|-
| Professional ability
|
<pre>
{{UBX-lang|en|5}}
</pre>
|
{{UBX-lang|en|5|nocat=}}
|-
| Near-native ability
|
<pre>
{{Userbox-lang|en|4}}
</pre>
|
{{Userbox-lang|en|4|nocat=}}
|-
|  Advanced ability
|
<pre>
{{Userbox-lang|en|3}}
</pre>
|
{{Userbox-lang|en|3|nocat=}}
|-
| Intermediate ability
|
<pre>
{{Userbox-lang|en|2}}
</pre>
|
{{Userbox-lang|en|2|nocat=}}
|-
| Basic ability
|
<pre>
{{Userbox-lang|en|1}}
</pre>
|
{{Userbox-lang|en|1|nocat=}}
|-
| Limited ability
|
<pre>
{{Userbox-lang|en|0}}
</pre>
|
{{Userbox-lang|en|0|nocat=}}
|}


<includeonly>
<includeonly>
[[Category:Userboxes|{{PAGENAME}}]]
[[Category:Userboxes|{{PAGENAME}}]]
</includeonly>
</includeonly>
90,866

edits