<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
This template provides a menu of tabs for linking different pages. Any number of tabs can be specified. Whichever tab is the current page is indicated by '''This=''' and the tab number to mark as the current tab. "'This='" makes the specified tab white instead of blue. You can add links to pages which don't have tabs on them; for example, the link 'main page' in the examples goes to the main page of Wikipedia.
In the examples below, change "Example" to whatever user name it actually was, and "Subpage 1", etc., to the page names you will add.
==Example==
<nowiki>{{page tabs
|NOTOC = true
|[[User:Example]]
|[[User:Example/Subpage 1]]
|[[User:Example/Subpage 2|Second subpage]]
|[[User:Example/Subpage 3]]
|This={{{This|1}}}
}}</nowiki>
"This=" makes the default white tab page the first example. So if you don't put 'This=' on the page, the first tab would be white regardless of which page they were looking at. The first parameter suppresses the table of contents.
Now, you'd save that page, lets say it was called '''<nowiki>[[User:Example/tabs]]</nowiki>''' and then, go to each page, starting with '''<nowiki>[[User:Example]]</nowiki>''' and put the template at the top of that page, in the form <nowiki>{{User:Example/tabs|This=1}}</nowiki> on that page, and use the same thing but use This=2 instead of This=1 on "Subpage 2", and so on for This=3, etc.
An example has been done for this page at [[Tabs]] to demonstrate how this works and documenting its use. Examine the page and the source to understand how to use this functionality. It is both fun to use and very useful in putting a condensed amount of information (such as cross-page links) in a very small space.