The primary purpose of this template is for when using {{Portal}} would cause formatting problems. Sometimes images and infoboxes can push the regular, vertical {{portal}} template outside of the "See also" section. This template forms a horizontal bar, instead of a vertical, sidebar-like template.

This template is well suited for articles that have more portals than related articles in the "See also" section, which would cause a regular {{portal}} sprawl into the next section, although a regular {{portal}} with {{clear}} would sometimes work better, depending on how much white space {{portal}} with {{clear}} would cause.

ഉപയോഗക്രമം തിരുത്തുക

To add the template to a page, use the following code:

{{Portal bar|portal 1|portal 2|...}}

For a version with no border, use border=no:

{{Portal bar|portal 1|portal 2|...|border=no}}

Location തിരുത്തുക

Within articles, this template is usually placed at the bottom of the article, below navbars. For further information, see MOS:ORDER.

Image തിരുത്തുക

The portal image name is found using Module:Portal. Please see Module:Portal § Image for instructions on how to add, update, or remove an image.

Examples തിരുത്തുക

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

Produces:

{{Portal bar|Biology|Fungi|Plants|Science|border=no}}

Produces:

ഇതും കാണുക തിരുത്തുക

Main portal creation templates

  • {{Box portal skeleton}}—Used to create portal main pages.
  • {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
  • {{Random portal component with nominate}}—Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
  • {{Random subpage}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
  • {{Subpage}}—Used to output a box containing a link to subpage.
  • {{Numbered subpages}}—Used to create article links on portal sub-pages with 50 links.
    • {{Numbered subpages|max=25}}—As hereinbefore, but with 25 links.
    • {{Numbered subpages|max=75}}—As hereinbefore, but with 75 links.
    • {{Numbered subpages|max=100}}—As hereinbefore, but with 100 links.
  • {{Random box-header subpage}}—Used to transclude a numbered subpage.

Main portal page formatting templates

Templates that configure links

These templates are used to format the articles on the sub-pages

{{Selected X}}—Generic template for situations not listed hereafter.

Related templates

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.

ഫലകത്തിനുള്ള ചരങ്ങൾ

ചരംവിവരണംതരംസ്ഥിതി
11

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

വരിആവശ്യമാണ്
22

The second portal.

വരിഐച്ഛികം
33

The third portal.

വരിഐച്ഛികം
44

The fourth portal

വരിഐച്ഛികം
55

The fifth portal.

വരിഐച്ഛികം
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".

വരിഐച്ഛികം



"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Portal_bar/doc&oldid=3129547" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്