Difference between revisions of "Tabs Demo"
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...) |
m |
||
(5 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: | ||
+ | :<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: | ||
+ | :<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 12: | Line 22: | ||
no content here | no content here | ||
− | = | + | =TAB NAME= |
− | no content here | + | no content here either |
− | ==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.
- ↑ Donnie's opinion