Template:Portal bar: Difference between revisions
Ibrahim ebi (talk | contribs) mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{navbox |
|||
<div class="noprint" style="background-color:#F4F0EC; border:2px solid #DCDCDC; clear:both; margin-left:0px; margin-top:0.5em; padding:4px; text-align:center;"> |
|||
|name=Portal bar |
|||
|bodyclass=noprint |
|||
|list1= |
|||
<ul>{{#if:{{{1|}}}|{{Portal bar/item|{{{1}}}|}}}}<!-- |
<ul>{{#if:{{{1|}}}|{{Portal bar/item|{{{1}}}|}}}}<!-- |
||
-->{{#if:{{{2|}}}|{{Portal bar/item|{{{2}}}|}}}}<!-- |
-->{{#if:{{{2|}}}|{{Portal bar/item|{{{2}}}|}}}}<!-- |
||
-->{{#if:{{{3|}}}|{{Portal bar/item|{{{3}}}|}}}}<!-- |
-->{{#if:{{{3|}}}|{{Portal bar/item|{{{3}}}|}}}}<!-- |
||
-->{{#if:{{{4|}}}|{{Portal bar/item|{{{4}}}|}}}}<!-- |
-->{{#if:{{{4|}}}|{{Portal bar/item|{{{4}}}|}}}}<!-- |
||
-->{{#if:{{{5|}}}|{{Portal bar/item|{{{5}}}|}}}}<!-- |
-->{{#if:{{{5|}}}|{{Portal bar/item|{{{5}}}|}}}}<!-- |
||
-->{{#if:{{{6|}}}|{{Portal bar/item|{{{6}}}|}}}}<!-- |
-->{{#if:{{{6|}}}|{{Portal bar/item|{{{6}}}|}}}}<!-- |
||
-->{{#if:{{{7|}}}|{{Portal bar/item|{{{7}}}|}}}}<!-- |
-->{{#if:{{{7|}}}|{{Portal bar/item|{{{7}}}|}}}}<!-- |
||
-->{{#if:{{{8|}}}|{{Portal bar/item|{{{8}}}|}}}}<!-- |
-->{{#if:{{{8|}}}|{{Portal bar/item|{{{8}}}|}}}}<!-- |
||
-->{{#if:{{{9|}}}|{{Portal bar/item|{{{9}}}|}}}}<!-- |
-->{{#if:{{{9|}}}|{{Portal bar/item|{{{9}}}|}}}}<!-- |
||
-->{{#if:{{{10|}}}|{{Portal bar/item|{{{10}}}|}}}}<!-- |
-->{{#if:{{{10|}}}|{{Portal bar/item|{{{10}}}|}}}}<!-- |
||
-->{{#if:{{{11|}}}|{{Portal bar/item|{{{11}}}|}}}}<!-- |
-->{{#if:{{{11|}}}|{{Portal bar/item|{{{11}}}|}}}}<!-- |
||
-->{{#if:{{{12|}}}|{{Portal bar/item|{{{12}}}|}}}}<!-- |
-->{{#if:{{{12|}}}|{{Portal bar/item|{{{12}}}|}}}}<!-- |
||
-->{{#if:{{{13|}}}|{{Portal bar/item|{{{13}}}|}}}}<!-- |
-->{{#if:{{{13|}}}|{{Portal bar/item|{{{13}}}|}}}}<!-- |
||
-->{{#if:{{{14|}}}|{{Portal bar/item|{{{14}}}|}}}}<!-- |
-->{{#if:{{{14|}}}|{{Portal bar/item|{{{14}}}|}}}}<!-- |
||
-->{{#if:{{{15|}}}|{{Portal bar/item|{{{15}}}|}}}}<!-- |
-->{{#if:{{{15|}}}|{{Portal bar/item|{{{15}}}|}}}}<!-- |
||
-->{{#if:{{{16|}}}|{{Portal bar/item|{{{16}}}|}}}}<!-- |
-->{{#if:{{{16|}}}|{{Portal bar/item|{{{16}}}|}}}}<!-- |
||
-->{{#if:{{{17|}}}|{{Portal bar/item|{{{17}}}|}}}}<!-- |
-->{{#if:{{{17|}}}|{{Portal bar/item|{{{17}}}|}}}}<!-- |
||
-->{{#if:{{{18|}}}|{{Portal bar/item|{{{18}}}|}}}}</ul> |
-->{{#if:{{{18|}}}|{{Portal bar/item|{{{18}}}|}}}}</ul> |
||
}}<noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |
Revision as of 00:21, 10 July 2013
This template is used on approximately 130,000 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 does not belong in the "See also" section. Per MOS:SECTIONORDER , 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
This template uses Lua: |
Wikipedia Portals |
---|
– About Portals – List of Portals – WikiProject Portals |
Usage
Border
To add the template to a page:
- →
{{Portal bar|Biology|Fungi|Plants|Science}}
No border
For a version with no border:
- →
{{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", "/sandbox"
- Category:Portal templates with too few portals (0)
- Category:Portal templates with redlinked portals (43)
- Category:Pages with empty portal template (0)
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}}
- {{Portal-inline}}
- {{Subject bar}}