Template:Babel

Daga Wikipedia
A tsallaka zuwa: Shawagi, nema
Wikipedia:Babel
This user cannot read or write any languages. Assistance is required.
Search user languages

Babel boxes[Gyara masomin]

Your Babel box is for saying what languages you know, as well as what operating system, keyboard layout, web browser, desktop environment, and text editor you are most comfortable with. Details of how to use it for its original purpose, saying what languages you know, are at Wikipedia:Babel. Details of how to use it to say what technologies you use are fairly scattered, but a large assortment are at Category:Wikipedians by technology, or in Category:Wikipedians.

  • Template:Babel - Allows 1 to 100 boxes.
    Format: {{Babel|<box1>|<box2>|<box3>...}}

Passing parameters to included user boxes[Gyara masomin]

The trick is to use the {{!}} template. See below for an example.

User boxes from the "User:" namespaces[Gyara masomin]

The Babel box prefixes its arguments with "User ", so it will work with the User: namespace. For example, this would include the {{User:Urhixidur/Userboxes/Asteroid}} user box, and pass it a parameter as well:

{{Babel|<box1>|<box2>|:Urhixidur/Userboxes/Asteroid{{!}}<parameter>|<box 4>|...}}

Custom headers, footers etc.[Gyara masomin]

To customize the appearance you can add the optional parameters header=HEADER (default: Wikipedia:Babel), footer=FOOTER (default: Search user languages), bordercolor=BORDERCOLOR (default: #99B3FF), color=COLOR (default: white), textcolor=TEXTCOLOR (default: black), left=Left margin (default: 1), bottom=Bottom margin (default: 0.5), solid=Solid border width (default: 1), width=Box width (default: 248), and/or extra-css=<any other formatting>. Call the '!' userbox to start a new column after that point or the '-' userbox to insert a blank row. You may also use '|align=left' to display the babel box on the left side of the screen rather than the default right. Boxes with parameters can be added at the end with the format, "|special-boxes={{box page name|param1|param2}}{{second page name|param1|param2|param3}}". Any number of additional boxes can be added this way and will display below the others.

Example: {{Babel|align=left|color=yellow|en|fr|de|!|tl|ru|:UBX/1337}} produces:

Wikipedia:Babel
en This user is a native speaker of English.
Template:User fr
de Dieser Benutzer spricht Deutsch als Muttersprache.
Template:User !Template:User tlTemplate:User ruUser:UBX/1337
Search user languages

Template:-

How to get Babel boxes to work on other Wikipedias[Gyara masomin]

The page you are now reading is the actual Babel template. If you click "edit this page", you will see a bunch of computer code that makes the Babel boxes work. What you're now reading is just comments in that code, inside "<noinclude>" tags so it doesn't interfere with the computer code.

In order to have Babel boxes on another Wikimedia project, just copy this page to that project. Click "edit this page" but do not actually change this page. Just use your computer mouse to copy all the contents, including the computer code. Create a page called "Tempate:Babel" on the other Wikimedia project and put the content into it.

You also need to copy over a bunch of files with names like "Template:User en", "Template:User en-1", "Template:User fr", etc. etc. Once you've done that, users can put e.g. "{{Babel:en-1|fr}}" on their user page and the Babel boxes will be displayed. en_Template:Babel
https://ha.wikipedia.org/wiki/Template:Babel
ha.wikipedia.org
crawl=CC-MAIN-2018-22
98487
application/http; msgtype=response
sha1:ZNBQNSVEMERWECKKU2FMFFSFIAMCSAUU
<urn:uuid:4810aea6-55cb-4f34-a592-b47063440283>
2018-05-23T01:30:46Z
208.80.154.224
text/html
sha1:4U76K76IBOJCPETYS2COS3W3Q4GWN7CG
<urn:uuid:430c41df-b2df-4e39-b836-b293128c7540>
https://ha.wikipedia.org/wiki/Template:Babel
length
response
<urn:uuid:f49ad8b1-df58-4a46-9b18-3b2ca62350b3>
robots: classic
hostname: ip-10-229-164-201.ec2.internal
software: Nutch 1.6 (CC)
isPartOf: CC-MAIN-2018-22
operator: Common Crawl Admin
description: Wide crawl of the web for May 2018
publisher: Common Crawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf