Template:Tab

Usage
 

type = the type of page to be used. Choices:
 * Eps = Episodes (the "General" or "Summary" tab for the episode)
 * App = Appearances
 * Cre = Credits
 * Gag = Gags
 * Gal = Gallery
 * Quo = Quotes
 * Ref = References

The template will pick up the main page that it is used on (the "BASEPAGENAME" in the code). For example, if the template is placed on Pokey Mom/References, the Basepagename will be Pokey Mom.

Examples
In the examples below, the links will always show up as a dead link because the Basepagename is the template itself.

  Output:

  Output:

Future updates
Due to the fixed width of the Oasis skin, no more than seven tabs can be used. The "References/Trivia" title has been shortened to just "References" in order to make room for the additional tabs.

If tabs are to be removed, the width percentage in the Tab div 1 and Tab div 2 templates should be set as follows:      5 tabs = 19.6%   6 tabs = 16.4%   7 tabs = 14%

When the additional tabs are added to this template, update the usage instructions above and these templates with the new information:
 * Template:Switch E1 -- the sub-page selector
 * Template:Switch E2 -- the header
 * Template:Switch E3 -- the category

Note: Fandom transitioned back to a variable-width format in December 2013, but there is a minimum size that can be viewed on iPads and other tablet/mobile devices, so no more than seven tabs should be used.