Tɛmplet:Portal bar/doc
This is a documentation subpage for Tɛmplet:Portal bar. It contains usage information, categories and other content that is not part of the original tɛmplet page. |
This template is used on approximately 96,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. 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 does not belong in the "See also" section.
This template uses Lua: |
Tɛmplet:Portal information sidebar
Usage
[mali mi di yibu sheena n-niŋ]Border
[mali mi di yibu sheena n-niŋ]To add the template to a page:
- →
{{Portal bar|Biology|Fungi|Plants|Science}}
Lua bi niŋ dede:bad argument #2 to 'title.new' (unrecognized namespace name 'Portal')
No border
[mali mi di yibu sheena n-niŋ]For a version with no border:
- →
{{Portal bar|Biology|Fungi|Plants|Science|border=n}}
Lua bi niŋ dede:bad argument #2 to 'title.new' (unrecognized namespace name 'Portal')
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
[mali mi di yibu sheena n-niŋ]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 (0)
- Category:Pages with empty portal template (2)
TemplateData
[mali mi di yibu sheena n-niŋ]TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Click here to see a monthly parameter usage report for this template based on this 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
[mali mi di yibu sheena n-niŋ]- {{Order}}
- {{Portal}}
- {{Portal-inline}}
- {{Subject bar}}