Mal:Brukerspråk/doc
Utseende
Usage
{{Brukerspråk|no|N}}
Copy and paste the example code above, and replace "no" with the desired language's code (search) and "N" with one of the following characters representing your fluency level:
lvl | description |
---|---|
0 | the user cannot communicate at all in that language. |
1 | Elementary; the user is able to write very simple questions and statements, and might be able to understand more complex sentences with difficulty. Their vocabulary is limited (excluding understanding based on similarity with other languages). |
2 | Intermediate; the user can participate in simple discussions using simple sentence constructions, but needs help with more advanced vocabulary or structures. |
3 | Advanced; the user can effectively participate in discussions with native speakers, and can participate in technical discussions with relative confidence. They have a good grasp of grammar and their errors virtually never interfere with understanding. |
4 | Near native; the user can read and write fluently and accurately at all levels of normal discussion, including technical discussions. The user can reasonably pass off as a native speaker in written discussion, and makes few errors. |
N | Native speaker; the user has spoken the language from birth, and has a large vocabulary and an intuitive understanding of grammar. The user can participate in all levels of discussions with ease, and can understand most errors in others' writing. |
Customizing format
It is possible to customize the behaviour and appearance of the template with the following override parameters (for example, {{user language|fr|N|align=left}}
).
align | Set the alignment on the page. Possible values are left, center, and right (default). This also sets appropriate clearing, so that the boxes will stack automatically in that position (you can override this with the "css-box" override below). |
---|---|
css-box | Apply arbitrary CSS to the box. |
css-left | Apply arbitrary CSS to the left cell. |
css-right | Apply arbitrary CSS to the right (main) cell. |
category | Setting this parameter to empty (category= ) displays the language box without categorising the page. For the opposite effect, categorizing the page without displaying the box, see the {{ Template:User language/category}} template.
|
Translating the template
The template provides English text by default. To provide a new translation, you need to create a localization of the template. Some can be found at http://translatewiki.net/wiki/Portal:<language code>.
Existing localizations:
- Languages with ISO 639 codes
- af/Afrikaans
- am/Ahmaric
- an/Aragonese
- ang/Old English
- ar/Arabic (عربي)
- ast/Asturian
- avk/Kotava
- az/Azerbaijani
- bar/Boarisch
- bcc/Baluchi (بلوچی)
- bqi/Bakhtiari (بختیاری)
- bew/Betawi
- bg/Bulgarian
- bm/Bamanankan
- bs/Bosnian
- ca/Catalan
- ceb/Cebuan
- co/Corsican
- crh/Crimean Tatar
- cs/Czech
- cu/Old Church Slavonic
- cy/Welsh
- da/Danish
- de/German
- dlc/Elfdalian
- dsb/Lower Sorbian
- el/Greek
- en/English
- eo/Esperanto
- es/Spanish
- eu/Basque
- eur/Europanto
- fa/Persian
- fi/Finnish
- fr/French
- fur/Furlan
- ga/Irish
- gan/贛語 Gan
- gd/Scottish Gaelic
- gl/Galician
- grc/Classical Greek
- gsw/Swiss/Alemannic German
- haw/Hawaiian
- he/Hebrew
- hi/Hindi
- hif/Fiji Hindi
- hr/Croatian
- hsb/Upper Sorbian
- ht/Haitian Creole
- hu/Hungarian
- id/Indonesian
- is/Icelandic
- it/Italian
- ja/Japanese
- ka/Georgian
- km/Khmer
- ko/Korean
- ksh/Kölsch
- ku/Kurdî
- la/Latin
- li/Limburgish
- lld/Dolomitic Ladin
- lfn/Lingua Franca Nova
- lij/Ligurian
- lo/Laos (ລາວ)
- lt/Lithuanian
- lv/Latvian
- mdf/Moksha
- mi/Maori
- mk/Macedonian
- ml/Malayalam
- mn/Mongolian
- mr/Marathi (मराठी)
- ms/Malay
- mt/Maltese
- mwl/Mirandese
- mwv/Mentawai
- my/Burmese
- mzn/Mazanderani
- nb/Norwegian (bokmål)
- nds/Low Saxon
- nl/Dutch
- nn/Norwegian (nynorsk)
- no/Norwegian (generic)
- oc/Occitan
- pa/ਪੰਜਾਬੀ
- pl/Polish
- plm/Plembang
- pms/Piedmontese
- pt/Portuguese
- qu/Quechuan languages
- ro/Romanian
- ru/Russian
- sa/Sanskrit
- sah/Sakha
- sc/Sardinian
- sco/Scots
- se/Northern Sami
- sk/Slovak
- sl/Slovene
- sli/Lower Silesian
- sma/Southern Sami
- sr/Serbian
- sux/Sumerian
- sv/Swedish
- sxu/Upper Saxon
- te/Telugu
- tet/Tetum
- th/Thai (ไทย)
- tl/Tagalog
- tr/Turkish
- tt/Tatar
- uk/Ukrainian
- vec/Venetian
- vls/West-Flemish
- vi/Vietnamese
- vo/Volapük
- yi/Yiddish
- yo/Yoruba
- yue/Cantonese
- zh/Chinese
- zh-hant/Chinese (Traditional)
- Languages without ISO 639 codes
- als/Alemannic German
- art-tsolyáni/Tsolyáni
- dlc/Elfdalian
- de-arz/Erzgebirgisch
- de-hess/Hessian
- mu/Mung (มูง)
- sv-vrm/Värmlandic
- tokipona/Tokipona
See also
- Comparison with babel templates
- Template:user language category (standard users-by-language category description)
- Template subpages
- documentation
- categorize user without language box
- default text (for new translations)
- instructions (for new translations)
- localization subpages (see above)
- wikis mirroring this system