Template:Parent Tab/doc

This template can be used as it is to display tabs in the subpages of an article, but it's recommended to create another template to easily modify it if necessary.
 * Description

This template uses !. To fix a color visualization problem in monobook this CSS code should be added: (just the  is enough)
 * Dependencies


 * Syntax

All parameters, except tab1, are optional.
 * Parameters
 * base - this optional parameter allows a different base pagename to be selected. It can be used to display a set of tabs on a page not included in the tabs.
 * backcolor - background color of active tab; default: ;
 * altbackcolor - background color of inactive tabs; default: ;
 * textcolor - text color of the active tab; default: ;
 * alttextcolor - text color of the inactive tab; default: default text link color;
 * bordercolor - border color of every tab; default: ;
 * activeborder - border color of the active tab; default: the same as bordercolor;
 * borderradius - border radius of every tab; default: ;
 * font-size - the text size.
 * height - height of tabs, in em; default: ;
 * minwidth - min. width of tabs, in em; default: ;
 * maxwidth - max. width of tabs, in em; default: ;
 * tab1 - an arbitrary title of the first tab;
 * tab2 - title of the second tab; it must correspond to the part after "/" of the name of the page, to which it links
 * tab3, tab4, tab5, tab6, tab7, tab8, tab9 - like tab2
 * title2 - the title you want to display in the tab.
 * title3, title4, title5, title6, title7, title8, title9 - like title2
 * image1 - inserts an image that links to the base page (tab1, textcolor & font-size are not needed if this is used)
 * image2 - inserts an image that links to the subpage (i.e. whatever is linked in tab2; use of tab2 is needed here, title2, alttextcolor & font-size are not needed if this is used)
 * size1 - sets the size of the image placed in the image1 parameter
 * size2 - like size1, but applies to the image2 parameter
 * Samples

gives:

gives:

gives:

Attribution
All credit for this template goes to One Piece Wiki.

- Category:Tab Templates.
 * See Also