Template:Userboxmacro

From OLPC
Revision as of 18:07, 5 July 2007 by Xavi (talk | contribs) (macro of sorts to avoid verbosity in OBXs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Template:Userboxmacro
Allows 1 to 20 boxes that can be used to describe or show some attributes associated to a specific user.

Source: Wikipedia Template:Babel

Usage

Intended to be used enclosed between {{olpcboxtop}} and {{olpcboxbottom}}.

{{olpcboxtop}}                # Somewhere before...
{{ userboxmacro | <box1> | <box2> | <box3> | <box-n <= 20>
 | header  = <!-- OPTIONAL — default: none -->
 }}
{{olpcboxtop}}                # Somewhere later...

Sample

{{olpcboxtop}}                # Somewhere before...
{{ userboxmacro |en|fr|de|es|ru|leet}}
{{olpcboxtop}}                # Somewhere later...

en This user is a native speaker of English.
fr Cet utilisateur a pour langue maternelle le français.
de Dieser Benutzer spricht Deutsch als Muttersprache.
es Castellano es la lengua materna de este usuario
ru Русский языкродной для этого участника.
1337 7|-|15 |_|z0r 5|>34|<5 1337.


{{olpcboxtop}}                # Somewhere before...
{{ userboxmacro |en|fr|de|es|ru|leet
header = [[:Category:User languages|Languages]]
 }}
{{olpcboxtop}}                # Somewhere later...

{{userboxmacro |en|fr|de|es|ru|leet

header = Languages
 }}