![]() | This is the template sandbox page for Template:Tab (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 5,500 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 is called by {{Start tab}} and {{End tab}} to create tab bars for use in navigating WikiProjects and other areas outside of the main encyclopedia. It should not be used on articles themselves.
Usage
edit{{tab}} expects link
and tab
to be passed to it. If the current page title matches link
then the tab will be styled differently. If freeform
is passed then the tab text is displayed freeform as it is; otherwise, the text from tab
is used to label the wikilink pointed to be link
.