Template:Userbox-lang/doc

From FamilySearch Wiki
< Template:Userbox-lang
Revision as of 06:23, 28 December 2010 by Cottrells (talk | contribs) (→‎Example: fix nocat parameters in examples)
Jump to navigation Jump to search

Purpose[edit source]

This template can be used to display the language and level of ability spoken by a contributor on their user page.

Parameters[edit source]

The template has two unnamed parameters.

  1. The first unnamed parameter is a two-letter code according to the ISO 639-1 standard
  2. The second (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.
    1. basic
    2. intermediate
    3. advanced
    4. near-native
    5. professional

Example[edit source]

NOTE: The template can be called using {{Userbox-lang}} or {{Template:Userbox-lang}}

Situation You type You get
Native speaker of English
{{UBX-lang|en}} 
en This user is a native speaker of English
Advanced speaker of Spanish
{{UBX-lang|es|3}} 
es-3 This user is an advanced speaker of Spanish
Basic speaker of Japanese
{{Userbox-lang|ja|1}} 
ja-1 This user is a basic speaker of Japanese