Template:Tabs/doc

Description
{	"params": { "tab1": { "label": "Base page tab", "description": "A descriptive keyword for the base page, from which the subpages branch off. This tab always displays. Enter a value here to change its label.", "type": "line", "default": "Overview", "suggested": true },		"tab2": { "label": "Optional subpage", "description": "The name of the subpage. More tabs can be added in the \"tab#\" format.", "example": "Synopsis", "type": "line", "suggested": true },		"category": { "label": "Article category", "description": "The type of page this template is being used on, capitalized.", "example": "Character, Location, Group, Object, etc.", "type": "line", "required": true }	},	"description": "Creates tabs to act as a subpage directory. The subpage tabs will appear in numbered order. Make sure to enclose this template in tabs, like so:\n\n\n\nOnly for use on main pages. For subpages, use .", "format": "block", "paramOrder": [ "category", "tab1", "tab2" ] }

Syntax
Place Tabs at the top of a main page, above infoboxes, but below other notices. Enclose it inside section tags when you do so, resulting in the following code:

On the subpages you're linking to, simply place Tabs sub at the top of the page, just like you inserted Tabs on the main page. Unlike Tabs, however, Tabs sub does not require any arguments such as  or.

Sample usage
Note: Tabs are hardcoded here to display what they look like when the links exist.

The following code can be used on the character Sung Hyunjae's main article...

...to produce the following tabs on his main page:

Then use the following code...

...to produce the following tabs on his synopsis subpage: