{{{1}}}

Usage

{{Tab header|text|alignment|textcolor|background|width1|width2}}

  • text = the text to be displayed
  • alignment = left, center or right
  • textcolor = text color, either as a #rgb value or color name. Defaults to black.
  • background = background color for the tab. Same as textcolor. Defaults to yellow.
  • width1 = the px or % the tab should be. If not included, the tab will be as wide as the text.
  • width2 = the px or % the tab should be. Defaults to 99%.

Notes

If the background parameter is omitted, such as in the fourth example below, it defaults to white.

Examples

{{Tab header|Hello|left}}

Hello

{{Tab header|Hello|center|#FFFF00|magenta|30%}}

Hello

{{Tab header|Hello|left|blue|yellow||400px}}

Hello

{{Tab header|Hello|right|||20%|50%}}

Hello
Community content is available under CC-BY-SA unless otherwise noted.