Template:PageTabsTop/doc

From Wicri Forest
< Template:PageTabsTop
Revision as of 15:58, 27 June 2017 by imported>Jacques Ducloy (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Optional parameters for the templates:

  • |Background= - sets background color behind the tabs, defaults to #F8FCFF;
  • |tab1-bg= - sets the tab1 color, defaults to white;
  • |tab2-bg= - sets the tab2 color, defaults to #CEE0F2;
  • |tab-border= - changes the border color, defaults to #A3B1BF.

To create a set of tabs, use these four elements. Keep the page tabs in the same order on all pages and use "Tab1" for the current page.

{{PageTabsTop}}Template:Br {{PageTab1|Current page name}}Template:Br {{PageTab2|Other page name(s)}}Template:Br {{PageTabsBottom}}Template:Br

Starts a tab groupTemplate:Br Tab indicating the current pageTemplate:Br Used for all other tabsTemplate:Br Ends tab groupTemplate:Br

For fully automatic service, use {{Page tabs}}