Template documentationedit documentation

Use this template to create up to 9 tabs.

Warning! Tabs don't show well on print and editing their content with the visual editor becomes harder.

Examples[edit source]

Single-page content[edit source]

The following wikitext:

{{Tabs
| tab1 = Foo
| tab2 = Bar
| tab3 = Baz
| content1 = Hello world!
| content2 = Lorem ipsum!
| content3 = Yolo!
}}

will output:

Foo
Bar
Baz

Hello world!

Lorem ipsum!

Yolo!

Notice that the first tab is activated by default.

Multi-page content[edit source]

You can also use this template to create tabs that link different pages together, like so:

{{Tabs
| [[Template:Menu|Menus]]
| [[Template:Tabs|Tabs]]
| [[Template:Navbox|Navboxes]]
}}

will output:

Notice that the tab of the current page is activated by default.

See also[edit source]

Template data[edit source]

Use this template to create up to 9 tabs.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Tab 1tab1 1

Text or link of the first tab

Example
Foo
Stringsuggested
Content 1content1

Content of the first tab

Contentoptional
Tab 2tab2 2

Text or link of the second tab

Example
Bar
Stringsuggested
Content 2content2

Content of the second tab

Contentoptional
Tab 3tab3 3

Text or link of the third tab

Example
Baz
Stringoptional
Content 3content3

Content of the third tab

Contentoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.