Difference between revisions of "Tabs Demo"

From KeyWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
:<code><nowiki>{{#switchtablink:TAB NAME|DISPLAY TEXT|PAGE NAME}}</nowiki></code>
 
:<code><nowiki>{{#switchtablink:TAB NAME|DISPLAY TEXT|PAGE NAME}}</nowiki></code>
 
Example: {{#switchtablink:2007|Take Back America Conference 2007}}
 
Example: {{#switchtablink:2007|Take Back America Conference 2007}}
 +
 +
Place '''<code><nowiki><headertabs/></nowiki></code>''' below references if you want each tab to have its own set of references. However, place '''<code><nowiki><headertabs/></nowiki></code>''' above references if you want all the references from all the tabs to be listed together.
  
 
==This is a normal header==
 
==This is a normal header==

Revision as of 20:53, 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.[1]

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

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

This would display as: DISPLAY TEXT

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

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

Example: Take Back America Conference 2007

Place <headertabs/> below references if you want each tab to have its own set of references. However, place <headertabs/> above references if you want all the references from all the tabs to be listed together.

This is a normal header

content