Template:Babel: Difference between revisions

Jump to navigation Jump to search
280 bytes added ,  30 January 2007
Adding free-form boxes at the end
(Make other formatting configurable)
(Adding free-form boxes at the end)
Line 101: Line 101:
}}{{#if:{{{98|}}}|{{User {{{98}}}}}
}}{{#if:{{{98|}}}|{{User {{{98}}}}}
}}{{#if:{{{99|}}}|{{User {{{99}}}}}
}}{{#if:{{{99|}}}|{{User {{{99}}}}}
}}{{#if:{{{100|}}}|{{User {{{100}}}}}}}
}}{{#if:{{{100|}}}|{{User {{{100}}}}}
}}{{{special-boxes|}}}
|-
|-
| style="background-color: {{{color|inherit}}}; text-align: center;" colspan="10" | {{{footer|[[:Category:Wikipedians by language|Search user languages]]}}}
| style="background-color: {{{color|inherit}}}; text-align: center;" colspan="10" | {{{footer|[[:Category:Wikipedians by language|Search user languages]]}}}
Line 113: Line 114:


==Custom headers, footers etc.==
==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.
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.


Example: <nowiki>{{Babel|align=left|color=yellow|en|fr|de|!|tl|ru|leet}}</nowiki> produces:
Example: <nowiki>{{Babel|align=left|color=yellow|en|fr|de|!|tl|ru|leet}}</nowiki> produces:
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu