Jump to content

ទំព័រគំរូ:PageTabsTop/doc

ពីវិគីភីឌា

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}}
{{PageTab1|Current page name}}
{{PageTab2|Other page name(s)}}
{{PageTabsBottom}}
Starts a tab group
Tab indicating the current page
Used for all other tabs
Ends tab group

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