FANDOM


{{{tab1}}}
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Parent_Tab/doc to edit this documentation. (How does this work?)

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

This template idea is taken from the World Trigger Wiki. To see the original creators of the template, please visit the original template here.

Usage

{{Parent Tab
|backcolor=
|altbackcolor=
|bordercolor=
|borderradius=
|height=
|minwidth=       
|maxwidth=
|tab1=
|tab2=
|tab3=
|tab4=
|tab5=
|tab6=
|tab7=
|tab8=
|tab9=
}}

All parameters, except tab1, are optional.

  • backcolor - background color of active tab; default #DDDDDD;
  • 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 3.8em;
  • minwidth - min. width of tabs, in em; default 5.0em;
  • maxwidth - max. width of tabs, in em; default 12.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, tab6, tab7, tab8, tab9 - like tab2

Example

{{Parent_Tab
|minwidth = 6
|maxwidth = 20
|height = 2.2
|tab1 = Introduction
|tab2 = Plot
|tab3 = Abilities
|tab4 = Relationships
|tab5 = Gallery
|tab6 = Misc
|backcolor = #FFFFFF
|altbackcolor = #BCC6CC
|bordercolor = gray}}
Community content is available under CC-BY-SA unless otherwise noted.