Template:Tab Template Test

This is an old revision of this page, as edited by sims>JaseyJasee at 22:21, 24 July 2015 (Created page with "<div style="font-weight:bold; text-align:center; margin-bottom:0px;"> {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page --> <div style="min-width:{{{minwidth..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{tab1}}}

This Template can be used to separate information from the original Sims universe and the new Universe established in The Sims 4.

Usage

{{Parent Tab Template
|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 green;
  • altbackcolor - background color of inactive tabs; default transparent;
  • bordercolor - border color of every tab; default blue;
  • 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

{{Tab Template Test
|backcolor=green 
|altbackcolor=#FFFFFF
|bordercolor=blue
|borderradius=6
|height=2.2
|maxwidth=20
|tab1=Overview
|tab2=Original Universe
|tab3=Alternative Universe
}}