« Modèle:Babel » : différence entre les versions

Contenu supprimé Contenu ajouté
imported>CBDunkerson
Variable size babel box from w:Template:Babel-X
imported>CBDunkerson
Adding optional align parameter
Ligne 1 :
{| name="userboxes" id="userboxes" style="float: {{{align|right}}}; margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: #99B3FF solid 1px; clear: right"
|-
! style="background-color: {{{color|}}}; text-align: center" colspan="10" | {{{header|[[en:Wikipedia:Babel|Language skills]]}}}
Ligne 107 :
|}<noinclude>
*[[Template:Babel]] - Allows 1 to 100 boxes.<br />Format: <nowiki>{{Babel|<box1>|<box2>|<box3>...}}</nowiki>
To specify a custom header, footer, or color add the parameters header=''HEADER'' (default: [[en:Wikipedia:Babel|Language skills]]), footer=''FOOTER'' (default: [[:Category:Users|Search for language skills]]), and/or color=''COLOR'' (default: white). Call the '!' userbox to start a new column after that point. You may also specify '|align=left' to display the box on the left side of the page rather than the default right.
 
Example: <nowiki>{{Babel|align=left|color=yellow|en|fr|!|de|ru}}</nowiki> produces:
 
{{Babel|align=left|color=yellow|en|fr|!|de|ru}}
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>