Meryam Sahin (talk | contribs) m (username removed) (log details removed) |
Meryam Sahin (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 17: | Line 17: | ||
</tabber> | </tabber> | ||
</syntaxhighlight><br> | </syntaxhighlight><br> | ||
[[File: | [[File:tabberneue-simple-tabs.png|center|thumb|550x550px|Simple tabs|alt=Four tabs with the content of the first tab shown]] | ||
==Insert tabs with the VisualEditor== | ==Insert tabs with the VisualEditor== | ||
The '''VisualEditor''' provides an editor for entering the tab syntax. | The '''VisualEditor''' provides an editor for entering the tab syntax. <br> | ||
'''To insert a tabber:''' | |||
#Select '''Insert''' (+) > '''Tabber''' in the editor toolbar. | #Select '''Insert''' (+) > '''Tabber''' in the editor toolbar. | ||
#In '''Tabber''', enter the tab syntax. | #In '''Tabber''', enter the tab syntax. | ||
| Line 65: | Line 66: | ||
</tabber> | </tabber> | ||
</syntaxhighlight> <br> | </syntaxhighlight> <br> | ||
[[File: | [[File:tabberneue-nested-tabs.png|alt=Example of four tabs with the subtabs of the first main tab open|center|thumb|650x650px|Nested tabs]] | ||
When using the VisualEditor, omit the opening and closing <code><nowiki><tabber></nowiki></code> tags. | When using the VisualEditor, omit the opening and closing <code><nowiki><tabber></nowiki></code> tags. | ||
==Show wiki pages in tabs== | ==Show wiki pages in tabs== | ||
| Line 78: | Line 79: | ||
</syntaxhighlight> <br> | </syntaxhighlight> <br> | ||
TabberNeue does not render tabs on a transcluded page. | TabberNeue does not render tabs on a transcluded page. | ||
==Insert transcluded pages with the VisualEditor= | ==Insert transcluded pages with the VisualEditor== | ||
To insert wiki pages in tabs with the VisualEditor: | '''To insert wiki pages in tabs with the VisualEditor''': | ||
#Select '''Insert''' > '''Tabber (transclusion)''' in the eidotr toolbar. | #Select '''Insert''' > '''Tabber (transclusion)''' in the eidotr toolbar. | ||
#In '''Tabber (transclusion)''', enter the page names and tab titles: <code> Mytransclusion1|Page 1 | #In '''Tabber (transclusion)''', enter the page names and tab titles: <code> Mytransclusion1|Page 1 | ||
| Line 86: | Line 87: | ||
#Save the page. <br> | #Save the page. <br> | ||
When using the VisualEditor, omit the opening and closing <code><nowiki><tabbertransclusion></nowiki></code> tags. <br> | When using the VisualEditor, omit the opening and closing <code><nowiki><tabbertransclusion></nowiki></code> tags. <br> | ||
[[File: | [[File:tabberneue-transclude-pages.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. | The resulting tabs display the content of the specified pages. | ||
==Tabs in PDF exports== | ==Tabs in PDF exports== | ||
Latest revision as of 14:47, 19 August 2026
done
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.
To insert a tabber:
- 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: https://www.mediawiki.org/wiki/Help:Tracking_categories.