Template:Babel

From Wikinews, the free news source you can write!
Jump to: navigation, search
{{{5}}} {{{6}}}


Custom Languages

{{Babel|code color|text color|||Language code-level|text}}

kg-3 This user is able to contribute with an advanced level of Kongo.

The following code will produce the example seen to the right. It does not have to be used within a userbox template.

{{Userboxtop}}
{{Babel|#99B3FF|#E0E8FF|||kg-3|This user is able to contribute with an '''advanced''' level of '''[[w:Kongo_language|Kongo]]'''.}}
{{Userboxbottom}}

Standard Usage

See {{Babel box}} for additional information.

{{Babel box|language code|proficiency level}}

Babel
en This user is a native speaker of English.
es-2 This user is able to contribute with an intermediate level of Spanish.

Language codes can be found here (not all languages are supported). Proficiency level is a number from 0 to 5, or N for 'native speaker'. The following code produces the userbox seen to the right:

{{Userboxtop|Babel}}
{{Babel box|en|level=N}}
{{Babel box|es|level=2}}
{{Userboxbottom}}

Other methods

Babel can also be used using another format other than those described above. This code can also be combined with userboxes, just like the {{Babel box}} template.
{{User en-1}}{{User es-1}}