Template:Parent Tab Template

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 07:01, 31 July 2012 by MetallicKaiser (talk | contribs) (Created page with "<div style="font-weight:bold; text-align:center; margin-bottom:0px;"> {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> <div style="min-width:{{{minwidth|5.0}}}em; max-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{tab1}}}

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

Usage

{{Parent Tab Tempate
|backcolor=
|height=
|minwidth=       
|maxwidth=
|tab1=
|tab2=
|tab3=
|tab4=
|tab5=
|tab6=
|tab7=
|tab8=
}}

All parameters, except tab1, are optional.

  • backcolor - background color of active tab; default #DDDDDD;
  • 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 - like tab2