Meryam Sahin (talk | contribs) Created page with "{{BSVersion|bsvFrom=4.4|bsvFeature=TabberNeue}} ==Simple Tabs== If you want to organize page content in tabs, you can use a special syntax in source editing mode. {{Textbox|boxtype=important|header=|text=The contents of the tabs cannot be edited in visual editing mode. It is, however, possible to show (transclude) entire wiki pages as the content of the tabs.|icon=no}} Tabs are created with <code>tabName=tabBody</code> and separated by <code>|-|</code>..." |
Meryam Sahin (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
Tabs organize content into separate sections on a wiki page. '''TabberNeue''' supports simple tabs, nested tabs, and tabs that display the content of other wiki pages. | |||
==Create tabs== | |||
Use the <code><nowiki><tabber></nowiki></code> tag to create tabs. Use the following syntax for each tab: <br> | |||
<syntaxhighlight lang="text"> | |||
|-|Tab title=Tab content </syntaxhighlight> <br> | |||
Separate tabs with <code>|-|</code>. Tabs can contain any wiki content, including templates and images. <br> | |||
For example: <br> | |||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
<tabber> | <tabber> | ||
| Line 15: | Line 15: | ||
Content for Tab 3. | Content for Tab 3. | ||
</tabber> | </tabber> | ||
</syntaxhighlight> | </syntaxhighlight><br> | ||
[[File:TabberNeue standard.png|center|thumb|550x550px|Simple tabs|alt=4 tabs with the content of the first tab shown.]] | |||
== | ==Insert tabs with the VisualEditor== | ||
The '''VisualEditor''' provides an editor for entering the tab syntax. | |||
#Select '''Insert''' (+) > '''Tabber''' in the editor toolbar. | |||
#In '''Tabber''', enter the tab syntax. | |||
#Select '''Done'''. | |||
#Save the page. <br> | |||
When using the VisualEditor, omit the opening and closing <code><nowiki><tabber></nowiki></code> tags. | |||
==Create nested tabs== | |||
Nested tabs place a second set of tabs inside a tab. Use the <code><nowiki>{{#tag:tabber|}}</nowiki></code> parser function for the nested tabs. Separate the nested tabs with <code><nowiki>{{!}}-{{!}}</nowiki></code>. <br> | |||
For example: | |||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
<tabber> | <tabber> | ||
| Line 57: | Line 63: | ||
}} | }} | ||
</tabber> | </tabber> | ||
</syntaxhighlight> | </syntaxhighlight> <br> | ||
[[File:TabberNeue Nested Tabs.png|alt=Example of 4 tabs. The sub-tabs of the 1st main tab are open.|center|thumb|650x650px|Nested tabs]] | |||
== | When using the VisualEditor, omit the opening and closing <code><nowiki><tabber></nowiki></code> tags. | ||
The tab | ==Show wiki pages in tabs== | ||
Tab transclusion displays the content of other wiki pages in tabs. The first tab loads its page content when the page loads. TabberNeue loads the content of other tabs when they are opened. TabberNeue does not request the content again until the page reloads. <br> | |||
Enter one page name and tab title per line: <code>PageName|Tab title</code>. <br> | |||
For example: | |||
<syntaxhighlight lang="text"> | |||
<tabbertransclude> | |||
Mytransclusion1|Page 1 | |||
Mytransclusion2|Page 2 | |||
</tabbertransclude> | |||
</syntaxhighlight> <br> | |||
TabberNeue does not render tabs on a transcluded page. | |||
==Insert transcluded pages with the VisualEditor= | |||
To insert wiki pages in tabs with the VisualEditor: | |||
#Select '''Insert''' > '''Tabber (transclusion)''' in the eidotr toolbar. | |||
#In '''Tabber (transclusion)''', enter the page names and tab titles: <code> Mytransclusion1|Page 1 | |||
Mytransclusion2|Page 2 </code> | |||
#Select '''Done'''. | |||
#Save the page. <br> | |||
When using the VisualEditor, omit the opening and closing <code><nowiki><tabbertransclusion></nowiki></code> tags. <br> | |||
[[File:1713253509342 tabber transclude.png|alt=Inspector window with code for transcluding two pages in two tabs.|center|thumb|750x750px|Inspector window for transcluding two pages]] | |||
The resulting tabs display the content of the specified pages. | |||
==Tabs in PDF exports== | |||
PDF exports do not include tab names. To include the tab names in the PDF, repeat each tab name in the content of the corresponding tab. <br> | |||
For example: | |||
<syntaxhighlight lang="text"> | |||
<tabber> | <tabber> | ||
|-|Title for Tab 1= | |-|Title for Tab 1= | ||
| Line 78: | Line 108: | ||
The content for Tab 3. | The content for Tab 3. | ||
</tabber> | </tabber> | ||
</syntaxhighlight> | </syntaxhighlight><br> | ||
For extensive tab content, format the repeated tab names as headings. This provides a clear heading structure within the tab content and can improve accessibility. | |||
==Administration== | |||
TabberNeue adds tracking categories to pages that contain tabs. Administrators can suppress these categories by changing the related system messages. <br> | |||
To suppress the tracking categories: | |||
#Open '''Special:TrackingCategories'''. | |||
#In the '''Message name''' column, select '''tabberneue-tabber-category''' and '''tabberneue-tabbertransclude-category'''. | |||
#Replace the existing content with a hyphen (<code>-</code>). | |||
#Save each system message. <br> | |||
The tracking categories no longer appear on wiki pages. See also: [https://www.mediawiki.org/wiki/Help:Tracking_categories]. | |||
# ''' | |||
# | |||
''' | |||
# | |||
# | |||
The | |||
See also: https://www.mediawiki.org/wiki/Help: | |||
Revision as of 07:01, 19 August 2026
Tabs organize content into separate sections on a wiki page. TabberNeue supports simple tabs, nested tabs, and tabs that display the content of other wiki pages.
Create tabs
Use the <tabber> tag to create tabs. Use the following syntax for each tab:
|-|Tab title=Tab content
Separate tabs with |-|. Tabs can contain any wiki content, including templates and images.
For example:
<tabber>
|-|Titel für Tab 1=
Content for Tab 1.
|-|Titel für Tab 2=
Content for Tab 2.
|-|Title for Tab 3=
Content for Tab 3.
</tabber>

Insert tabs with the VisualEditor
The VisualEditor provides an editor for entering the tab syntax.
- Select Insert (+) > Tabber in the editor toolbar.
- In Tabber, enter the tab syntax.
- Select Done.
- Save the page.
When using the VisualEditor, omit the opening and closing <tabber> tags.
Create nested tabs
Nested tabs place a second set of tabs inside a tab. Use the {{#tag:tabber|}} parser function for the nested tabs. Separate the nested tabs with {{!}}-{{!}}.
For example:
<tabber>
|-|First Tab Title=
{{#tag:tabber|
Tab Title A=
Tab content A goes here.
{{!}}-{{!}}
Tab Title B=
Tab content B goes here.
{{!}}-{{!}}
Tab Title C=
Tab content C goes here.
}}
|-|Second Tab Title=
{{#tag:tabber|
Tab Title D=
Tab content D goes here.
{{!}}-{{!}}
Tab Title E=
Tab content E goes here.
{{!}}-{{!}}
Tab Title F=
Tab content F goes here.
}}
|-|Third Tab Title=
{{#tag:tabber|
Tab Title G=
Tab content G goes here.
{{!}}-{{!}}
Tab Title H=
Tab content H goes here.
{{!}}-{{!}}
Tab Title I=
Tab content I goes here.
}}
</tabber>

When using the VisualEditor, omit the opening and closing <tabber> tags.
Show wiki pages in tabs
Tab transclusion displays the content of other wiki pages in tabs. The first tab loads its page content when the page loads. TabberNeue loads the content of other tabs when they are opened. TabberNeue does not request the content again until the page reloads.
Enter one page name and tab title per line: PageName|Tab title.
For example:
<tabbertransclude>
Mytransclusion1|Page 1
Mytransclusion2|Page 2
</tabbertransclude>
TabberNeue does not render tabs on a transcluded page.
=Insert transcluded pages with the VisualEditor
To insert wiki pages in tabs with the VisualEditor:
- Select Insert > Tabber (transclusion) in the eidotr toolbar.
- In Tabber (transclusion), enter the page names and tab titles:
Mytransclusion1|Page 1
Mytransclusion2|Page 2
- Select Done.
- Save the page.
When using the VisualEditor, omit the opening and closing <tabbertransclusion> tags.

The resulting tabs display the content of the specified pages.
Tabs in PDF exports
PDF exports do not include tab names. To include the tab names in the PDF, repeat each tab name in the content of the corresponding tab.
For example:
<tabber>
|-|Title for Tab 1=
<b>Title for Tab 1</b>
The content for Tab 1.
|-|Title for Tab 2=
<b>Title for Tab 2</b>
The content for Tab 2.
|-|Title for Tab 3=
<b>Title for Tab 3</b>
The content for Tab 3.
</tabber>
For extensive tab content, format the repeated tab names as headings. This provides a clear heading structure within the tab content and can improve accessibility.
Administration
TabberNeue adds tracking categories to pages that contain tabs. Administrators can suppress these categories by changing the related system messages.
To suppress the tracking categories:
- Open Special:TrackingCategories.
- In the Message name column, select tabberneue-tabber-category and tabberneue-tabbertransclude-category.
- Replace the existing content with a hyphen (
-). - Save each system message.
The tracking categories no longer appear on wiki pages. See also: .