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

Contenu supprimé Contenu ajouté
imported>CBDunkerson
Updating documentation to include '-' for blank rows
imported>CBDunkerson
Updating default header & footer to match other babel templates on Meta
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:WikipediaMeta:Babel|Language skillstemplates]]'''}}}
|-
| {{#if:{{{1|}}}|{{User {{{1}}}}}
Ligne 104 :
}}{{#if:{{{100|}}}|{{User {{{100}}}}}}}
|-
| style="background-color: {{{color|}}}; text-align: center" colspan="10" | {{{footer|[[:Category:Users|Search for language skills]]}}}
|}
<!-- mulitlingual users -->
{{#if:{{{2|}}}|[[Category:Users {{{1}}} {{{2}}}|{{PAGENAME}}]]}}<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: '''[[WikipediaMeta:Babel templates]]'''), footer=''FOOTER'' (default: [[:Category:User languages|Search user languages]]blank), 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|color=yellow|align=left|en|fr|!|de|ru}}</nowiki> produces: