Template:Tabs/doc

This template is used to create tabs to help to navigate through subpages.
 * Description

This template uses the CSS associated to the class  on MediaWiki:Common.css and the associated JS codes on MediaWiki:Common.js.
 * Dependencies


 * Syntax

All parameters are optional.
 * Parameters
 * colorscheme= name of a color scheme to use from MediaWiki:ColorSchemes.css.
 * root= full name of the root page, namespace included, default:.
 * root title= name to display in the tab for the root page link, default: the name used for root=.
 * show root= if equals to  the root tab will be hidden.
 * root tooltip= tooltip to display.
 * tab #= name of a subpage to link with a new tab. A maximum of 15 subpage tabs are supported.
 * tab # title= name to display in the tab for the subpage link, default: the name used for tab #=.
 * tab # tooltip= tooltip to display.
 * subtab #= A second Tabs can be nested to create second-level tabs under tab #=.


 * Examples

The above example is created with the following code:

The above example is created with the following code:

The above example is created with the following code:

Using two Tabs adjacent to each other will change the style of the second one a bit. The above example is created with the following code:

The above example is created with the following code:


 * Notes
 * Use subpages only when absolutely necessary, since they break up the content and it's not a good SEO practice (regardless of the use of this template). Avoid using 2nd level subpages for the same reasons.
 * Tab templates should use the "Design" template type.
 * This template is displayed on mobile as a simple list of links.


 * See also
 * Category:Specific Tab Templates.