Safer Nicotine Wiki:Babel

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search

Syntax for the #babel parser function is as follows:

 {{#babel: babelcode1 | babelcode2 | ... }}

Add one of the following codes for each language you speak or understand, separated by |, where xx is the MediaWiki language code, ISO 639-1 code, or ISO 639-3 code for the language. The general usage of each code level is as follows:

xx-0
If you don't understand the language at all.
xx-1
Basic ability—enough to understand written material or simple questions in this language.
xx-2
Intermediate ability—enough for editing or discussions.
xx-3
Advanced level—though you can write in this language with no problem, some small errors might occur.
xx-4
"Near-native" level—although it's not your first language from birth, your ability is something like that of a native speaker.
xx-5
Professional proficiency.
xx or xx-N
Native speakers who use a language every day and have a thorough grasp of it, including colloquialisms and idioms.

To include any other template, simply add the name of the template, e.g., add User from London if you want to include Template:User from London. A prefix or suffix may be added to template names (e.g. User at the beginning) depending on the local configuration. This can be used to restrict the selection and reduce the length of parameters; for example from London could include Template:User from London if configured in such a way.

To remove the header and footer, use plain=1 as the first parameter, e.g., {{#babel: plain=1 | babelcode1 | babelcode2 | ... }}. This makes it easier to use babel with other userboxes.