90,866
edits
(→Parameters: add named parameter {{{skill}}}) |
(add examples using {{{skill}}} parameter) |
||
Line 16: | Line 16: | ||
;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. | ;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 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 47: | Line 48: | ||
{{Userbox-lang|ja|1|nocat=}} | {{Userbox-lang|ja|1|nocat=}} | ||
|} | |} | ||
=== | ==== 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. | ||
{| cellspacing="0" border="1" | {| cellspacing="0" border="1" | ||
Line 111: | Line 112: | ||
|} | |} | ||
==== Using different skills ==== | |||
{| cellspacing="0" border="1" | |||
!style="width:33%"|Situation | |||
!style="width:33%"|You type | |||
!style="width:33%"|You get | |||
|- | |||
| Intermediate reader speaker of Spanish | |||
| | |||
<pre> | |||
{{UBX-lang|es|2|skill=reader}} | |||
</pre> | |||
| | |||
{{UBX-lang|es|2|skill=reader|nocat=}} | |||
|- | |||
| Professional reader and writer of Welsh | |||
| | |||
<pre> | |||
{{UBX-lang|cy|5|skill=reader and writer}} | |||
</pre> | |||
| | |||
{{UBX-lang|cy|5|skill=reader and writer|nocat=}} | |||
|- | |||
| Basic reader, writer and speaker of German | |||
| | |||
<pre> | |||
{{UBX-lang|de|1 | |||
|skill=reader, writer and speaker}} | |||
</pre> | |||
| | |||
{{UBX-lang|de|1|skill=reader, writer and speaker|nocat=}} | |||
|} | |||
<includeonly> | <includeonly> | ||
[[Category:Userboxes|{{PAGENAME}}]] | [[Category:Userboxes|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> |
edits