Template:Start tab/doc

Templates Start tab and End tab can be used to create a tabbed interface on portals, projects, help pages and user pages. They should not be used in articles.

Usage
is optional. It makes a "Next page:" button to go to the next tab. If  has   then either   or   is required to close the frame.

Parameters

 * General
 * : The name of the tab, where "n" is number of the tab up to 20.
 * : The tab link location, where "n" is number of the tab up to 20.
 * : Name of optional image (set to 20px) to place next to tab title number n.
 * : Add rounding effect to edges of tab boxes.
 * : Border style.
 * : Color of the currently unselected tabs.
 * : Color of the currently selected tab.
 * : Override the width between the tabs.
 * : Override the font size of the text in the tab.
 * : Override alignment of tab's title (left/center/right).
 * : Prevent long names from wrapping on each tab.
 * : Set to  to add a page frame underneath the tabs. This can be closed by adding   or   to the end of the page, or wherever else you want the frame to close. This option cannot be used on talk pages, and is generally not recommended as it breaks VisualEditor and the reply tool.
 * : Background color for frame. Default is on tab color.
 * : Set to  to disable the margin in between the tabs.


 * Freeform
 * : Set  to allow for arbitrary code in that tab's   entry rather than just being plain text and a link. See below. When using the freeform attribute, the link attribute remains empty; for example:

This example below is how it would be used for internal pages or subpages for sandboxes, talk page archives, and other pages.


 * : The name of the tab, where "n" is number of the tab up to 20.
 * : The tab link location, where "n" is number of the tab up to 20.
 * : The tab 2nd link location, where "n" is number of the tab up to 20. (only applies when using )
 * : The tab 3rd link location, where "n" is number of the tab up to 20. (only applies when using )
 * : The tab 4th link location, where "n" is number of the tab up to 20. (only applies when using )
 * : The tab 5th link location, where "n" is number of the tab up to 20. (only applies when using )


 * The maximum number of available tabs is 20.
 * To use the next page feature, end the page with the End tab template.

Each tab needs a  attribute with the title of the page it refers to, and a   attribute with a label for the tab. If the current page title matches a  then that tab will be styled differently. The  attribute can be used with any tab (for instance   to allow for a freeform label with multiple internal and external links if desired; otherwise, the text in   is used as a wikilink to the page specified by.


 * Special use
 * : Internally used only on Template:Page tabs

Examples
Example for WikiProject Athletics:

Text for main part of page goes here.

Example for WikiProject Athletics with rounding:

Text for main part of page goes here.