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
 * Con = Continuity
 * Gal = Gallery
 * Quo = Quotes
 * Tri = Trivia

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 Pilot/Trivia, the Basepagename will be Pilot.

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
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: Wikia 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.