Jump to content

Template:Page tabs/top/doc

From Wikiversity

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}}(br) {{PageTab1|Current page name}}(br) {{PageTab2|Other page name(s)}}(br) {{PageTabsBottom}}(br)

Starts a tab group(br) Tab indicating the current page(br) Used for all other tabs(br) Ends tab group(br)

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