Difference between revisions of "Template:Babel-N"
Jump to navigation
Jump to search
Template documentation
imported>Primefac m (Protected "Template:Babel-N": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))) |
imported>Andrybak (clean up) |
||
Line 1: | Line 1: | ||
<includeonly>{{Babel|header={{{header|[[Wikipedia:Babel]]}}}|footer={{{footer|[[:Category:Wikipedians by language|Search user languages]]}}}|color={{{color|white}}}|align={{{align|right}}}|special-boxes={{{1}}}|1=null}}</includeonly><noinclude> | <includeonly>{{Babel|header={{{header|[[Wikipedia:Babel]]}}}|footer={{{footer|[[:Category:Wikipedians by language|Search user languages]]}}}|color={{{color|white}}}|align={{{align|right}}}|special-boxes={{{1}}}|1=null}}</includeonly><noinclude> | ||
+ | {{Documentation|content= | ||
+ | *This template just calls [[Template:Babel]] and passes its parameters there. | ||
+ | ==Usage == | ||
+ | <nowiki>{{Babel-N|1={{user <box1>}}{{user <box2>}}{{user <box3>}}...}}</nowiki>{{clarify|date=October 2012}} | ||
− | + | 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). Adding <nowiki><td></nowiki> between two boxes causes a new column to be started at that point. 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. | |
− | To specify a custom header, footer, or color add the parameters header | ||
Example: <nowiki>{{Babel-N|align=left|color=yellow|1={{User en|categories=no}}{{User fr|categories=no}}{{User de|categories=no}}<td>{{User tl|categories=no}}{{User ru|categories=no}}{{User:UBX/1337|categories=no}}}}</nowiki> produces: | Example: <nowiki>{{Babel-N|align=left|color=yellow|1={{User en|categories=no}}{{User fr|categories=no}}{{User de|categories=no}}<td>{{User tl|categories=no}}{{User ru|categories=no}}{{User:UBX/1337|categories=no}}}}</nowiki> produces: | ||
− | {{Babel-N|align=left|color=yellow|1={{User en|categories=no}}{{User fr|categories=no}}{{User de|categories=no}}<td>{{User tl|categories=no}}{{User ru|categories=no}}{{User:UBX/1337|categories=no}}}} | + | {{Babel-N|align=left|color=yellow|1={{User en|categories=no}}{{User fr|categories=no}}{{User de|categories=no}}<td>{{User tl|categories=no}}{{User ru|categories=no}}{{User:UBX/1337|categories=no}}</td>}} |
− | [[Category:Language user templates|{{PAGENAME}}]]</noinclude> | + | [[Category:Language user templates|{{PAGENAME}}]] |
+ | }}</noinclude> |
Revision as of 18:20, 17 April 2020

- This template just calls Template:Babel and passes its parameters there.
Usage
{{Babel-N|1={{user <box1>}}{{user <box2>}}{{user <box3>}}...}}[clarification needed]
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). Adding <td> between two boxes causes a new column to be started at that point. You may also use |align=left
to cause the box to appear on the left side of the page rather than the default right.
Example: {{Babel-N|align=left|color=yellow|1={{User en|categories=no}}{{User fr|categories=no}}{{User de|categories=no}}<td>{{User tl|categories=no}}{{User ru|categories=no}}{{User:UBX/1337|categories=no}}}} 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. |