Difference between revisions of "Template:Babel-N"

From blackwiki
Jump to navigation Jump to search
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.
+
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). 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 {{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.
  
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:
+
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|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>}}
+
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:Language user templates|{{PAGENAME}}]]
+
{{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

Template documentation

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 deTemplate:User tlTemplate:User ruUser:UBX/1337
Search user languages