ଛାଞ୍ଚ:Portal bar
This template is used on approximately ୧,୩୧,୦୦୦ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template is only transcluded (visible) in mobile view when the border=n parameter is implemented. See how to add portal links to articles for more information. |
This template does not belong in the "See also" section. Per , this template is bottom matter and goes below standard navigation templates, and above geographical coordinates and authority control templates. |
The primary purpose of this template is for when using {{portal}}
would cause formatting problems. This template forms a horizontal bar instead of a vertical, sidebar-like template. Please note that this template in the "See also" section.
This template uses Lua: |
Usage
ସମ୍ପାଦନାBorder
ସମ୍ପାଦନାTo add the template to a page:
- →
{{Portal bar|Biology|Fungi|Plants|Science}}
No border
ସମ୍ପାଦନାFor a version with no border that can be seen in mobile view:
- →
{{Portal bar|Biology|Fungi|Plants|Science|border=n}}
Portal bar with border extends to the full width of the article, and that can be a problem with right-floating items. To use space better, remove the border.
Error tracking
ସମ୍ପାଦନାIf the template is used incorrectly, the page will be added to a tracking category.
The tracking categories are not applied if any of the following is true:
- Tracking is specially disabled for that usage. This is done by setting the optional parameter
|tracking=
to any the following values:no
,n
,false
- the template is used on a page in any of these namespaces: Talk, User, User talk, Wikipedia talk, File talk, Template talk, Category talk, Portal talk, Draft, Draft talk, Module talk
- The title page on which the template is used includes any of the following case-insensitive strings: "/archive", "/doc", "/test"
- Category:Portal templates without a parameter — (population ୦)
- Category:Portal templates with redlinked portals — (population ୨)
- Category:Portal templates with all redlinked portals — (population ୪)
TemplateData
ସମ୍ପାଦନାTemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Portal bar in articles based on its TemplateData.
TemplateData for Portal bar This template adds a bar of portals. It is usually used just above an article's navboxes or in its "See also" section when using [[Template:Portal]] would cause formatting problems.
|
See also
ସମ୍ପାଦନା- {{Portal}}
- {{Subject bar}}