Template:Babel: Difference between revisions

From Test Wiki
Update documentation
m Convert 'Babel-X' references to 'Babel'
Line 109: Line 109:
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]].
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-X]] - Allows 1 to 100 boxes.<br />Format: <nowiki>{{Babel-X|<box1>|<box2>|<box3>...}}</nowiki>
*[[Template:Babel]] - Allows 1 to 100 boxes.<br />Format: <nowiki>{{Babel-X|<box1>|<box2>|<box3>...}}</nowiki>
*[[Template:Babel-N]] - Allows any number of boxes.<br>Format: <nowiki>{{Babel-N |1={{User <box1>}}{{User <box2>}}{{User <box3>}}...}}</nowiki>
*[[Template:Babel-N]] - Allows any number of boxes.<br>Format: <nowiki>{{Babel-N |1={{User <box1>}}{{User <box2>}}{{User <box3>}}...}}</nowiki>


To specify a custom header, footer, or color add the parameters header=''HEADER'' (default: [[Wikipedia:Babel]]), footer=''FOOTER'' (default: [[:Category:User languages|Search user languages]]), and/or color=''COLOR'' (default: white). 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 specify a custom header, footer, or color add the parameters header=''HEADER'' (default: [[Wikipedia:Babel]]), footer=''FOOTER'' (default: [[:Category:User languages|Search user languages]]), and/or color=''COLOR'' (default: white). 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-X|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:


{{Babel-X|align=left|color=yellow|en|fr|de|!|tl|ru|leet}}
{{Babel|align=left|color=yellow|en|fr|de|!|tl|ru|leet}}


[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]