Template:Tab1

Revision as of 20:27, 26 March 2010 by Cfremon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

| style="padding:0.5em; background-color:white; line-height:0.95em; border:solid 2px #696969; border-bottom:0; font-weight:bold;" width="20" | Tab 1 | style="border-bottom:2px solid #696969" width="3" |  



Usage

This template is one of four templates that can be used to create tabs on a Wiki page. This is useful if you have a large amount of content spread out over multiple pages, and want readers to be able to quickly navigate through that content without having to leave the page they are on. The other three templates that must be used to create a heading tab are:

In order to use this template, type the following in the list of tabs, between the TabHeader and TabFooter templates:

{{Template:Tab1|<link to current page>}}

This template should be in the correct order in the list of tabs. For example:

 {{Template:TabHeader}}
 {{Template:Tab2|[[Introduction]]}}
 {{Template:Tab2|[[Required Materials]]}}
 {{Template:Tab2|[[Installation]]}}
 {{Template:Tab1|[[Configuration]]}}
 {{Template:Tab2|[[Conclusion]]}}
 {{Template:TabFooter}}

In this example, the current page is the Configuration page. All other pages use the Tab2 template in the list of tabs. You'll also notice that the tabs are listed in the order that the tabs should appear. When placing these templates on the other pages, this order should be kept the same, although the Tab1 template will move up and down the list, depending on what page the template list is being added to.

The basic design of this template was originally found at http://en.wikipedia.org/w/index.php?title=Wikipedia:Tutorial/Header. The color and implementation have been altered for use in the Zimbra Wiki.

Jump to: navigation, search