টেমপ্লেট:Babel/নথি: সংশোধিত সংস্করণের মধ্যে পার্থক্য
বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
নতুন পৃষ্ঠা: <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS ... |
Yahia.barie (আলোচনা | অবদান) টেমপ্লেট নথি |
||
১ নং লাইন:
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
▲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]].
=== Usage ===
*[[Template:Babel]] - Allows 1 to 100 boxes.<br />Format: <nowiki>{{Babel|<box1>|<box2>|<box3>...}}</nowiki>
Parameters can no longer be added using the <code><nowiki>{{!}}</nowiki></code> trick; if you want to use a box with a parameter, create a new userbox which calls the original with that parameter set and then link to the new userbox instead.
The Babel box prefixes its arguments with "User ", so it will work with the User: namespace. For example, this would include the <nowiki>{{</nowiki>[[:User:Urhixidur/Userboxes/Asteroid|User:Urhixidur/Userboxes/Asteroid]]}} user box
▲The Babel box prefixes its arguments with "User ", so it will work with the User: namespace. For example, this would include the <nowiki>{{</nowiki>[[:User:Urhixidur/Userboxes/Asteroid|User:Urhixidur/Userboxes/Asteroid]]}} user box, and pass it a parameter as well:
<pre>
{{Babel|<box1>|<box2>|:Urhixidur/Userboxes/Asteroid
</pre>
==
To customize the appearance you can add the optional parameters header=''HEADER'' (default: [[Wikipedia:Babel]]), footer=''FOOTER'' (default: [[:Category:Wikipedians by language|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
Example: <nowiki>{{Babel|align=left|color=yellow|en|fr|de|!|tl|ru|:UBX/1337}}</nowiki> produces:
{{Babel|align=left|color=yellow|en|fr|de|!|tl|ru|:UBX/1337}}
{{-}}
==
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 "
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. "<nowiki>{{Babel
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Language user templates
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[ak:Template:Babel]]
[[ang:Template:Babel]]
[[ar:قالب:Babel]]
[[az:Şablon:Babel]]
▲[[bn:Template:Babel]]
[[bo:Template:Babel]]
[[bpy:মডেল:Babel]]
[[ca:plantilla:Babel]]
[[ce:Куцкеп:Къадингир]]
[[ceb:Template:Babel]]
[[cr:Template:Babel]]
১১১ ⟶ ৫১ নং লাইন:
[[da:Skabelon:Babel]]
[[de:Vorlage:Babel]]
[[el:Πρότυπο:Βαβέλ]]
[[dsb:Pśedłoga:Babel]]
[[en:Template:Babel]]
[[eo:Ŝablono:Babel]]
[[es:Plantilla:Babel-X]]
[[eu:Txantiloi:Babel]]
[[fa:الگو:Babel]]
[[ff:Template:Babel]]
১২০ ⟶ ৬৪ নং লাইন:
[[he:תבנית:Babel]]
[[hi:साँचा:Babel-X]]
[[hr:Predložak:Babel]]
[[hsb:Předłoha:Babel]]
[[id:Templat:Babel]]
১২৫ ⟶ ৭০ নং লাইন:
[[ja:Template:Babel]]
[[jbo:Template:Babel]]
[[ka:თარგი:Babel]]
[[kk:Үлгі:Babel]]
[[km:Template:Babel]]
১৩৩ ⟶ ৭৯ নং লাইন:
[[lg:Template:Babel]]
[[lmo:Template:Babel]]
[[lv:Veidne:Babel]]
[[mn:Template:Babel]]
[[mr:साचा:Babel]]
[[new:Template:Babel]]
[[nl:Sjabloon:Babel]]
[[no:Mal:Babel]]
[[os:Шаблон:Babel]]
১৪৪ ⟶ ৯২ নং লাইন:
[[sco:Template:Babel]]
[[se:Template:Babel]]
[[sv:Mall:Babel]]
[[sh:Template:Babel]]
[[simple:Template:Babel]]
|