Jump to content

Template:Tabs

From Count Duckula Wiki
Revision as of 23:49, 7 May 2022 by wikia:countduckula>PinkSquid5 (Created page with "<div style="font-weight:bold; text-align:center; margin-bottom:0px;"> {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> <div style="min-width:{{{min width|5.0}}}em; max...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{tab1}}}

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

Usage

{{tabs
| back color = 
| font color = 
| height     = 
| min width  = 
| max width  = 
| tab1       = 
| tab2       = 
| tab3       = 
| tab4       = 
| tab5       = 
| tab6       = 
| tab7       = 
| tab8       = 
}}

All parameters, except tab1, are optional.

  • back color - background color of active tab; default #DDDDDD;
  • font color - color of the font of the active tab; default #000000;
  • height - height of tabs, in em; default 3.8em;
  • min width - min. width of tabs, in em; default 5.0em;
  • max width - 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


Cookies help us deliver our services. By using our services, you agree to our use of cookies.