Template:User language/doc

Wikimania 2008 Alexandria :: Change the shape of wisdom
Jump to navigation Jump to search
This subpage contains documentation, categories and other content that is not part of the template.
To view the template page itself, see Template:User language.

Usage

{{user language|fr|N}}

Copy and paste the example code above, and replace "fr" with the desired language's code and "4" with one of the following numbers representing your fluency level:
1 = basic;
2 = intermediate;
3 = fluent;
N = native speaker.

Overrides

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.

Translating the template

The template provides English text by default. To provide a new translation, you need to create a localization of the template.



See also