Jump to content

ଛାଞ୍ଚ:Portal bar/doc

ଉଇକିପିଡ଼ିଆ‌ରୁ

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.

ଛାଞ୍ଚ:Xref

To add the template to a page:

{{Portal bar|Biology|Fungi|Plants|Science}}

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:

  1. Tracking is specially disabled for that usage. This is done by setting the optional parameter |tracking= to any the following values: no, n, false
  2. 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
  3. The title page on which the template is used includes any of the following case-insensitive strings: "/archive", "/doc", "/test"
Purge server cache
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.

Template parameters

ParameterDescriptionTypeStatus
11

The first portal, without surrounding text. For example, use "Science" to display the science portal.

Linerequired
22

The second portal.

Lineoptional
33

The third portal.

Lineoptional
44

The fourth portal

Lineoptional
55

The fifth portal.

Lineoptional
borderborder

Set this to "no" if you do not want to display a border around the portals. You can also use "n", "false", or "0".

Lineoptional