Template:Tab:character/doc

Usage
This shows tab options on character pages, allowing users to navigate to the gallery, relationships, and quotes subpages of the character if they exist. Otherwise, those tabs will be unavailable for selection. By default, the general tab will be open.

Syntax
To execute the template, simply type

At the end of the page, type

Sample
Typing the below text will yield

This is the content of the character page

Other tabs will only exist if those pages exist for the character

This is the content of the character page

Other tabs will only appear if those pages exist for the character

 For another sample, click this. 

Credits
This template heavily depends on the .js script originating from Team Fortress 2 Wiki's WindPower, so all thanks go to him. For anyone who wants to copy this template and import it on to another wikia page, it will not work without the .js script.