FANDOM


{{{tab1}}}

This template is supposed to be the base template for other tab templates.

Usage

{{Tabs
|backcolor=
|altbackcolor=
|bordercolor=
|borderradius=
|height=
|minwidth=       
|maxwidth=
|tab1=
|tab2=
|tab3=
|tab4=
|tab5=
}}

All parameters, except tab1, are optional.

  • backcolor - background color of active tab; default #000000;
  • altbackcolor - background color of inactive tabs; default transparent;
  • bordercolor - border color of every tab; default gray;
  • borderradius - border radius of every tab; default 4;
  • height - height of tabs, in em; default 2em;
  • minwidth - min. width of tabs, in em; default 5.0em;
  • maxwidth - max. width of tabs, in em; default 20.0em;
  • 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 - like tab2

Example

{{Tabs
|backcolor=Gray
|altbackcolor=#FFFFFF
|bordercolor=#808080
|borderradius=3
|height=2
|maxwidth=20
|tab1=General
|tab2=Games
|tab3=Gallery
|tab4=Relationships
|tab5=Other
}}
Community content is available under CC-BY-SA unless otherwise noted.