Template:Userboxmacro: Difference between revisions
Jump to navigation
Jump to search
m (tweaking) |
m (testing) |
||
Line 1: | Line 1: | ||
<noinclude>{{olpcboxtop}}</noinclude>{{#if:{{{toptext|}}}|{{olpcboxbreak |
<noinclude>{{olpcboxtop}}</noinclude>{{#if:{{{toptext|}}}|{{olpcboxbreak|toptext={{{toptext}}} }} }}<!-- |
||
-->{{#if:{{{1|}}}|{{User {{{1}}}}} |
-->{{#if:{{{1|}}}|{{User {{{1}}}}} |
||
}}{{#if:{{{2|}}}|{{User {{{2}}}}} |
}}{{#if:{{{2|}}}|{{User {{{2}}}}} |
||
Line 37: | Line 37: | ||
== Sample == |
== Sample == |
||
⚫ | |||
⚫ | |||
⚫ | |||
{{olpcboxtop}} |
{{olpcboxtop}} |
||
{{userboxmacro|en|fr|de|es|ru}} |
{{userboxmacro|en|fr|de|es|ru}} |
||
{{olpcboxbottom}} |
{{olpcboxbottom}} |
||
⚫ | |||
{{tl|olpcboxtop}} # Somewhere before... |
{{tl|olpcboxtop}} # Somewhere before... |
||
<nowiki>{{userboxmacro | |
<nowiki>{{</nowiki> userboxmacro |en|fr|de|es|ru<nowiki>}}</nowiki> |
||
⚫ | |||
{{tl|olpcboxbottom}} # Somewhere later... |
{{tl|olpcboxbottom}} # Somewhere later... |
||
⚫ | |||
{{olpcboxtop}} |
{{olpcboxtop}} |
||
{{userboxmacro | toptext = [[:Category:User languages|Languages]] |
{{userboxmacro | toptext = [[:Category:User languages|Languages]] |
||
|en|fr|de|es|ru}} |
|en|fr|de|es|ru}} |
||
{{olpcboxbottom}} |
{{olpcboxbottom}} |
||
⚫ | |||
<nowiki>{{userboxmacro | toptext = [[:Category:User languages|Languages]] |
|||
⚫ | |||
⚫ | |||
{{-}} |
{{-}} |
||
---- |
---- |
||
{{userboxmacro | toptext = [[:Category:User languages|Languages]]|en|fr|de|es|ru}} |
{{userboxmacro | toptext = [[:Category:User languages|Languages]]|en|fr|de|es|ru}} |
||
<nowiki>{{userboxmacro | toptext = [[:Category:User languages|Languages]]|en|fr|de|es|ru}}</nowiki> |
|||
---- |
|||
{{-}} |
|||
---- |
|||
{{userboxmacro |en|fr|de|es|ru}} |
|||
⚫ | |||
---- |
---- |
||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
Revision as of 18:28, 5 July 2007
- 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> | toptext = <!-- OPTIONAL — default: none --> }} {{olpcboxbottom}} # Somewhere later...
Sample
|
{{olpcboxtop}} # Somewhere before... {{ userboxmacro |en|fr|de|es|ru}} {{olpcboxbottom}} # Somewhere later...
|
{{olpcboxtop}} # Somewhere before... {{userboxmacro | toptext = [[:Category:User languages|Languages]] |en|fr|de|es|ru}} {{olpcboxbottom}} # Somewhere later...
|-
|
|-
|
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 | Русский язык — родной для этого участника. |
{{userboxmacro | toptext = [[:Category:User languages|Languages]]|en|fr|de|es|ru}}
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 | Русский язык — родной для этого участника. |
{{userboxmacro |en|fr|de|es|ru}}