Difference between revisions of "Template:Babel-N"
Jump to navigation
Jump to search
Template documentation
imported>Andrybak m (clarify) |
imported>Andrybak (copyedit; categorization) |
||
Line 2: | Line 2: | ||
{{Documentation|content= | {{Documentation|content= | ||
− | + | This template just calls [[Template:Babel]] and passes its parameters there. | |
==Usage == | ==Usage == | ||
{{tlc|Babel-N|1{{=}}<var>userboxes</var>}} | {{tlc|Babel-N|1{{=}}<var>userboxes</var>}} | ||
− | To specify a custom header, footer, or color add the parameters {{para|header|''HEADER''}} (default: [[Wikipedia:Babel]]), {{para|footer|''FOOTER''}} (default: [[:Category:Wikipedians by language|Search user languages]]), and/or {{para|color|''COLOR''}} (default: white) | + | To specify a custom header, footer, or color add the parameters {{para|header|''HEADER''}} (default: [[Wikipedia:Babel]]), {{para|footer|''FOOTER''}} (default: [[:Category:Wikipedians by language|Search user languages]]), and/or {{para|color|''COLOR''}} (default: white). You may also use {{para|align|left}} to cause the box to appear on the left side of the page rather than the default right. |
− | + | Adding <nowiki><td></nowiki> between two boxes causes a new column to be started at that point. | |
− | {{Babel-N|align=left|color=yellow|1={{User en| | + | Example: <nowiki>{{Babel-N|align=left|color=yellow|1={{User en|nocat=true}}{{User fr|nocat=true}}{{User de|nocat=true}}<td>{{User tl|nocat=true}}{{User ru|nocat=true}}{{User:UBX/1337|nocat=true}}}}</nowiki> produces: |
− | [[Category: | + | {{Babel-N|align=left|color=yellow|1={{User en|nocat=true}}{{User fr|nocat=true}}{{User de|nocat=true}}<td>{{User tl|nocat=true}}{{User ru|nocat=true}}{{User:UBX/1337|nocat=true}}</td>}} |
+ | |||
+ | [[Category:Userbox arrangement templates|{{PAGENAME}}]] | ||
}}</noinclude> | }}</noinclude> |
Latest revision as of 18:24, 17 April 2020

This template just calls Template:Babel and passes its parameters there.
Usage
{{Babel-N|1=userboxes}}
To specify a custom header, footer, or color add the parameters |header=HEADER
(default: Wikipedia:Babel), |footer=FOOTER
(default: Search user languages), and/or |color=COLOR
(default: white). You may also use |align=left
to cause the box to appear on the left side of the page rather than the default right.
Adding <td> between two boxes causes a new column to be started at that point.
Example: {{Babel-N|align=left|color=yellow|1={{User en|nocat=true}}{{User fr|nocat=true}}{{User de|nocat=true}}<td>{{User tl|nocat=true}}{{User ru|nocat=true}}{{User:UBX/1337|nocat=true}}}} produces:
Wikipedia:Babel | |
---|---|
Template:User nullTemplate:User enTemplate:User frTemplate:User de | Template:User tlTemplate:User ruUser:UBX/1337 |
Search user languages |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |