Difference between revisions of "Tabs Demo"

From KeyWiki
Jump to navigation Jump to search
m
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Notice that the tab has a single equals sign on each side of the title.
 
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.
+
Table of Contents does not work on pages with tabs, and must be disabled. This is the biggest downside to using tabs on pages.<ref>Donnie's opinion</ref>
  
 
To link to a tab from another tab on the same page, use the following format:
 
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>
 
:<code><nowiki>{{#switchtablink:TAB NAME|DISPLAY TEXT}}</nowiki></code>
 +
This would display as: {{#switchtablink:TAB NAME|DISPLAY TEXT}}
  
 
To link to a tab from another page, use the following format:
 
To link to a tab from another page, use the following format:
 
:<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|Take Back America}}
 +
 +
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==
Line 22: Line 26:
  
 
==References==
 
==References==
<references/>
+
{{reflist|2}}
 
<headertabs/>
 
<headertabs/>
 
__NOTOC__
 
__NOTOC__
 +
[[Category:KeyWiki articles]]

Latest revision as of 02:58, 3 February 2012

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

  1. Donnie's opinion