Difference between revisions of "Tabs Demo"

From KeyWiki
Jump to navigation Jump to search
(New page: Welcome to the Tabs Demo page. This text can be used to introduce the page. Alternatively, the page description can be placed in the first (top) tab. =This is a Tab= Notice that the tab h...)
 
Line 5: Line 5:
  
 
Table of Contents does not work on pages with tabs, and must be disabled. This is the biggest downside to using tabs on pages.
 
Table of Contents does not work on pages with tabs, and must be disabled. This is the biggest downside to using tabs on pages.
 +
 +
To link to a tab from another tab on the same page, use the following format:
 +
:<code><nowiki>{{#switchtablink:TAB NAME|DISPLAY TEXT}}</nowiki></code>
 +
 +
To link to a tab from another page, use the following format:
 +
:<code><nowiki>{{#switchtablink:TAB NAME|DISPLAY TEXT|PAGE NAME}}</nowiki></code>
  
 
==This is a normal header==
 
==This is a normal header==
Line 12: Line 18:
 
no content here
 
no content here
  
=Yet Another Tab=
+
=TAB NAME=
no content here
+
no content here either
  
==References=
+
==References==
 
<references/>
 
<references/>
 
<headertabs/>
 
<headertabs/>
 
__NOTOC__
 
__NOTOC__

Revision as of 20:48, 7 June 2010

Welcome to the Tabs Demo page. This text can be used to introduce the page. Alternatively, the page description can be placed in the first (top) tab.

[edit]

Notice that the tab has a single equals sign on each side of the title.

Table of Contents does not work on pages with tabs, and must be disabled. This is the biggest downside to using tabs on pages.

To link to a tab from another tab on the same page, use the following format:

{{#switchtablink:TAB NAME|DISPLAY TEXT}}

To link to a tab from another page, use the following format:

{{#switchtablink:TAB NAME|DISPLAY TEXT|PAGE NAME}}

This is a normal header

content