The primary purpose of this template is for when using } 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}}
Within articles, this template is usually placed at the bottom of the article.
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.
{{Portal bar|Biology|Fungi|Plants|سائنس}}
Produces:
{{Portal bar|حياتيات|Fungi|ٻوٽا|سائنس|border=no}}
Produces:
{{Selected X}} - Generic template for situations not listed hereafter.
TemplateData | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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.
|
{{#ifeq:Portal bar|sandbox | | [[ }}
مٿي ڏنل دستاويز صفحو سانچو:Portal bar/دستاويز سان شامل ڪئي ويئي آهي۔ (سنواريو | تاريخچو) يوزر سانچي جي ريتخانو (تخليق | آئينو) ۽ ثابتات (تخليق) ۾ تجربا ڪري سگهن ٿا۔ براه ڪرم /دستاويز جي هيٺين صفحي تي زمرا شامل فرمايو۔ هن سانچو جا هيٺيان صفحا۔ |