"سانچہ:babel" کے نسخوں کے درمیان فرق
حذف شدہ مندرجات اضافہ شدہ مندرجات
Sa'y (تبادلۂ خیال | شراکتیں) نیا صفحہ: {| class="userboxes" style="float: {{{align|right}}}; margin-left: {{{left|1}}}em; margin-bottom: {{{bottom|0.5}}}em; width: {{{width|248}}}px; border: {{{bordercolor|#99B3FF}}} sol... |
م روبہ: قدیم بین الویکی روابط حذف، اب ویکی ڈیٹا پر موجود ہیں; تزئینی تبدیلیاں |
||
سطر 1:
{| class="userboxes" style="float: {{{align|right}}}; margin-left: {{{left|1}}}em; margin-bottom: {{{bottom|0.5}}}em; width: {{{width|248}}}px; border: {{{bordercolor|#99B3FF}}} solid {{{solid|1}}}px; clear: {{{align|right}}}; color: {{{textcolor|#000000}}}; {{{extra-css|}}}"
|-
! style="background-color: {{{color|inherit}}}; text-align: center" colspan="10" | {{{header|[[
|- style="vertical-align:top;"
| {{#if:{{{1|}}}|{{User {{{1}}}}}| style="text-align:center"{{!}}This user cannot read or write any languages. Assistance is required.}}{{#if:{{{2|}}}|{{User {{{2}}}}}
سطر 107:
|}<noinclude>
__TOC__
== Babel boxes ==
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.
*[[
*[[
== Passing parameters to included user boxes ==
The trick is to use the {{tl|!}} template. See below for an example.
== User boxes from the "User:" namespaces ==
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>
سطر 122:
</pre>
== Custom headers, footers etc. ==
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. Boxes with parameters can be added at the end with the format, "|special-boxes=<nowiki>{{box page name|param1|param2}}{{second page name|param1|param2|param3}}</nowiki>". Any number of additional boxes can be added this way and will display below the others.
سطر 131:
{{-}}
== How to get Babel boxes to work on other Wiktionaries ==
The page you are now reading is the actual Babel template.
In order to have Babel boxes on another Wikimedia project, just copy this page to that project.
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.
[[
</noinclude>
|