Revision as of 11:43, 15 April 2006 view sourceSl (talk | contribs)Extended confirmed users, Pending changes reviewers8,489 editsm interwiki← Previous edit |
Latest revision as of 14:46, 9 July 2016 view source SMcCandlish (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, File movers, New page reviewers, Pending changes reviewers, Rollbackers, Template editors201,744 edits bypass redir |
(74 intermediate revisions by 34 users not shown) |
Line 1: |
Line 1: |
|
|
{{#invoke:Babel|main}}<noinclude> |
|
{| name="userboxes" id="userboxes" style="float: right; margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: #99B3FF solid 1px; clear: right" |
|
|
|
{{documentation}} |
|
|- |
|
|
|
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|
! ] |
|
|
|- |
|
|
|{{#if: {{{1|}}}|<tr><td>{{User {{{1}}}}} |
|
|
}}{{#if: {{{2|}}}|<tr><td>{{User {{{2}}}}} |
|
|
}}{{#if: {{{3|}}}|<tr><td>{{User {{{3}}}}} |
|
|
}}{{#if: {{{4|}}}|<tr><td>{{User {{{4}}}}} |
|
|
}}{{#if: {{{5|}}}|<tr><td>{{User {{{5}}}}} |
|
|
}}{{#if: {{{6|}}}|<tr><td>{{User {{{6}}}}} |
|
|
}}{{#if: {{{7|}}}|<tr><td>{{User {{{7}}}}} |
|
|
}}{{#if: {{{8|}}}|<tr><td>{{User {{{8}}}}} |
|
|
}}{{#if: {{{9|}}}|<tr><td>{{User {{{9}}}}} |
|
|
}}{{#if: {{{10|}}}|<tr><td>{{User {{{10}}}}} |
|
|
}}{{#if: {{{11|}}}|<tr><td>{{User {{{11}}}}} |
|
|
}}{{#if: {{{12|}}}|<tr><td>{{User {{{12}}}}} |
|
|
}}{{#if: {{{13|}}}|<tr><td>{{User {{{13}}}}} |
|
|
}}{{#if: {{{14|}}}|<tr><td>{{User {{{14}}}}} |
|
|
}}{{#if: {{{15|}}}|<tr><td>{{User {{{15}}}}} |
|
|
}}{{#if: {{{16|}}}|<tr><td>{{User {{{16}}}}} |
|
|
}}{{#if: {{{17|}}}|<tr><td>{{User {{{17}}}}} |
|
|
}}{{#if: {{{18|}}}|<tr><td>{{User {{{18}}}}} |
|
|
}}{{#if: {{{19|}}}|<tr><td>{{User {{{19}}}}} |
|
|
}}{{#if: {{{20|}}}|<tr><td>{{User {{{20}}}}} |
|
|
}}{{#if: {{{21|}}}|<tr><td>{{User {{{21}}}}} |
|
|
}}{{#if: {{{22|}}}|<tr><td>{{User {{{22}}}}} |
|
|
}}{{#if: {{{23|}}}|<tr><td>{{User {{{23}}}}} |
|
|
}}{{#if: {{{24|}}}|<tr><td>{{User {{{24}}}}} |
|
|
}}{{#if: {{{25|}}}|<tr><td>{{User {{{25}}}}} |
|
|
}}{{#if: {{{26|}}}|<tr><td>{{User {{{26}}}}} |
|
|
}}{{#if: {{{27|}}}|<tr><td>{{User {{{27}}}}} |
|
|
}}{{#if: {{{28|}}}|<tr><td>{{User {{{28}}}}} |
|
|
}}{{#if: {{{29|}}}|<tr><td>{{User {{{29}}}}} |
|
|
}}{{#if: {{{30|}}}|<tr><td>{{User {{{30}}}}} |
|
|
}}{{#if: {{{31|}}}|<tr><td>{{User {{{31}}}}} |
|
|
}}{{#if: {{{32|}}}|<tr><td>{{User {{{32}}}}} |
|
|
}}{{#if: {{{33|}}}|<tr><td>{{User {{{33}}}}} |
|
|
}}{{#if: {{{34|}}}|<tr><td>{{User {{{34}}}}} |
|
|
}}{{#if: {{{35|}}}|<tr><td>{{User {{{35}}}}} |
|
|
}}{{#if: {{{36|}}}|<tr><td>{{User {{{36}}}}} |
|
|
}}{{#if: {{{37|}}}|<tr><td>{{User {{{37}}}}} |
|
|
}}{{#if: {{{38|}}}|<tr><td>{{User {{{38}}}}} |
|
|
}}{{#if: {{{39|}}}|<tr><td>{{User {{{39}}}}} |
|
|
}}{{#if: {{{40|}}}|<tr><td>{{User {{{40}}}}} |
|
|
}}{{#if: {{{41|}}}|<tr><td>{{User {{{41}}}}} |
|
|
}}{{#if: {{{42|}}}|<tr><td>{{User {{{42}}}}} |
|
|
}}{{#if: {{{43|}}}|<tr><td>{{User {{{43}}}}} |
|
|
}}{{#if: {{{44|}}}|<tr><td>{{User {{{44}}}}} |
|
|
}}{{#if: {{{45|}}}|<tr><td>{{User {{{45}}}}} |
|
|
}}{{#if: {{{46|}}}|<tr><td>{{User {{{46}}}}} |
|
|
}}{{#if: {{{47|}}}|<tr><td>{{User {{{47}}}}} |
|
|
}}{{#if: {{{48|}}}|<tr><td>{{User {{{48}}}}} |
|
|
}}{{#if: {{{49|}}}|<tr><td>{{User {{{49}}}}} |
|
|
}}{{#if: {{{50|}}}|<tr><td>{{User {{{50}}}}} |
|
|
}}{{#if: {{{51|}}}|<tr><td>{{User {{{51}}}}} |
|
|
}}{{#if: {{{52|}}}|<tr><td>{{User {{{52}}}}} |
|
|
}}{{#if: {{{53|}}}|<tr><td>{{User {{{53}}}}} |
|
|
}}{{#if: {{{54|}}}|<tr><td>{{User {{{54}}}}} |
|
|
}}{{#if: {{{55|}}}|<tr><td>{{User {{{55}}}}} |
|
|
}}{{#if: {{{56|}}}|<tr><td>{{User {{{56}}}}} |
|
|
}}{{#if: {{{57|}}}|<tr><td>{{User {{{57}}}}} |
|
|
}}{{#if: {{{58|}}}|<tr><td>{{User {{{58}}}}} |
|
|
}}{{#if: {{{59|}}}|<tr><td>{{User {{{59}}}}} |
|
|
}}{{#if: {{{60|}}}|<tr><td>{{User {{{60}}}}} |
|
|
}}{{#if: {{{61|}}}|<tr><td>{{User {{{61}}}}} |
|
|
}}{{#if: {{{62|}}}|<tr><td>{{User {{{62}}}}} |
|
|
}}{{#if: {{{63|}}}|<tr><td>{{User {{{63}}}}} |
|
|
}}{{#if: {{{64|}}}|<tr><td>{{User {{{64}}}}} |
|
|
}}{{#if: {{{65|}}}|<tr><td>{{User {{{65}}}}} |
|
|
}}{{#if: {{{66|}}}|<tr><td>{{User {{{66}}}}} |
|
|
}}{{#if: {{{67|}}}|<tr><td>{{User {{{67}}}}} |
|
|
}}{{#if: {{{68|}}}|<tr><td>{{User {{{68}}}}} |
|
|
}}{{#if: {{{69|}}}|<tr><td>{{User {{{69}}}}} |
|
|
}}{{#if: {{{70|}}}|<tr><td>{{User {{{70}}}}} |
|
|
}}{{#if: {{{71|}}}|<tr><td>{{User {{{71}}}}} |
|
|
}}{{#if: {{{72|}}}|<tr><td>{{User {{{72}}}}} |
|
|
}}{{#if: {{{73|}}}|<tr><td>{{User {{{73}}}}} |
|
|
}}{{#if: {{{74|}}}|<tr><td>{{User {{{74}}}}} |
|
|
}}{{#if: {{{75|}}}|<tr><td>{{User {{{75}}}}} |
|
|
}}{{#if: {{{76|}}}|<tr><td>{{User {{{76}}}}} |
|
|
}}{{#if: {{{77|}}}|<tr><td>{{User {{{77}}}}} |
|
|
}}{{#if: {{{78|}}}|<tr><td>{{User {{{78}}}}} |
|
|
}}{{#if: {{{79|}}}|<tr><td>{{User {{{79}}}}} |
|
|
}}{{#if: {{{80|}}}|<tr><td>{{User {{{80}}}}} |
|
|
}}{{#if: {{{81|}}}|<tr><td>{{User {{{81}}}}} |
|
|
}}{{#if: {{{82|}}}|<tr><td>{{User {{{82}}}}} |
|
|
}}{{#if: {{{83|}}}|<tr><td>{{User {{{83}}}}} |
|
|
}}{{#if: {{{84|}}}|<tr><td>{{User {{{84}}}}} |
|
|
}}{{#if: {{{85|}}}|<tr><td>{{User {{{85}}}}} |
|
|
}}{{#if: {{{86|}}}|<tr><td>{{User {{{86}}}}} |
|
|
}}{{#if: {{{87|}}}|<tr><td>{{User {{{87}}}}} |
|
|
}}{{#if: {{{88|}}}|<tr><td>{{User {{{88}}}}} |
|
|
}}{{#if: {{{89|}}}|<tr><td>{{User {{{89}}}}} |
|
|
}}{{#if: {{{90|}}}|<tr><td>{{User {{{90}}}}} |
|
|
}}{{#if: {{{91|}}}|<tr><td>{{User {{{91}}}}} |
|
|
}}{{#if: {{{92|}}}|<tr><td>{{User {{{92}}}}} |
|
|
}}{{#if: {{{93|}}}|<tr><td>{{User {{{93}}}}} |
|
|
}}{{#if: {{{94|}}}|<tr><td>{{User {{{94}}}}} |
|
|
}}{{#if: {{{95|}}}|<tr><td>{{User {{{95}}}}} |
|
|
}}{{#if: {{{96|}}}|<tr><td>{{User {{{96}}}}} |
|
|
}}{{#if: {{{97|}}}|<tr><td>{{User {{{97}}}}} |
|
|
}}{{#if: {{{98|}}}|<tr><td>{{User {{{98}}}}} |
|
|
}}{{#if: {{{99|}}}|<tr><td>{{User {{{99}}}}} |
|
|
}}{{#if: {{{100|}}}|<tr><td>{{User {{{100}}}}} |
|
|
}} |
|
|
|- |
|
|
| style="background-color: {{{color}}}; text-align: center" | ] |
|
|
|}<noinclude> |
|
|
*] - Allows 1 to 100 boxes.<br>Format: <nowiki>{{Babel-X |<box1>|<box2>|<box3>...}}</nowiki> |
|
|
] |
|
|
] |
|
|
</noinclude> |
|
</noinclude> |
The Babel box prefixes its arguments with "User ", so it will work with the User: namespace:
The page you are viewing right now is the actual Babel template. If you click "edit this page", you will see an invocation of Module:Babel, in Lua, that makes the Babel boxes work. What you're reading right now is just documentation for that code, transcluded inside "<noinclude>" tags so it doesn't interfere with the computer code.
In order to use Babel boxes in another Wikimedia project, you need both the template and the module. Click "view source" and copy all the contents, including the computer code. Create a page called "Template:Babel" on the other Wikimedia project and put the content into it. Do the same for the module.
You will also need to copy over a bunch of templates with names like "Template:User en", "Template:User en-1", "Template:User fr", and so on. Once you've done that, users can put, for example, "{{Babel|en-1|fr}}
" on their user page, and the Babel boxes will be displayed.