வார்ப்புரு:Page tabs/doc
{{Documentation subpage}}
 &lt;noinclude&gt;{{Page tabs/tabs|This=2}}&lt;/noinclude&gt;&lt;includeonly&gt;{{Page tabs/tabs|This=1}}
 {{Shortcut|Template:Tabs|WP:TABS}}&lt;/includeonly&gt;{{Documentation subpage}}
 &lt;noinclude&gt;{{Page tabs/tabs|This=2}}&lt;/noinclude&gt;&lt;includeonly&gt;{{Page tabs/tabs|This=1}}
 {{Shortcut|Template:Tabs|WP:TABS}}&lt;/includeonly&gt;
 {{Lua|Module:Page tabs}}
 &lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --&gt;
 
 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 &quot;'''This&amp;nbsp;='''&quot; and the tab number to mark as the current tab. &quot;This&amp;nbsp;=&quot; makes the specified tab white instead of blue. You can add links to pages which don't have tabs on them; for example, the &quot;main page&quot; link in the examples goes to the main page of Wikipedia.
 
 In the examples below, change &quot;Example&quot; to whatever user name it actually was, and &quot;Subpage 1&quot;, etc., to the page na{{Documentation subpage}}
 &lt;noinclude&gt;{{Page tabs/tabs|This=2}}&lt;/noinclude&gt;&lt;includeonly&gt;{{Page tabs/tabs|This=1}}
 {{Shortcut|Template:Tabs|WP:TABS}}&lt;/includeonly&gt;
 {{Lua|Module:Page tabs}}
 &lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --&gt;
 
 This template provides a menu of tabs for linking different pages. Any number of tabs can be specified.  Whichever tab is the currents&quot;
  page is indicated by &quot;'''This&amp;nbsp;='''&quot; and the tab number to mark as the current tab. &quot;This&amp;nbsp;=&quot; makes the specified tab white instead of blue. You can add links to pages which don't have tabs on them; for example, the &quot;main page&quot; link in the examples goes to the main page of Wikipedia.
 
 In the examples below, change &quot;Example&quot; to whatever user name it actually was, and &quot;Subpage 1&quot;, etc., to the page names you will add.
 {{clear}}
 
 
 
 mes you will add.
 {{clear}}
 
 {{Lua|Module:Page tabs}}
 &lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --&gt;
 
 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 &quot;'''This&amp;nbsp;='''&quot; and the tab number to mark as the current tab. &quot;This&amp;nbsp;=&quot; makes the specified tab white instead of blue. You can add links to pages which don't have tabs on them; for example, the &quot;main page&quot; link in the examples goes to the main page of Wikipedia.
 
 In the examples below, change &quot;Example&quot; to whatever user name it actually was, and &quot;Subpage 1&quot;, etc., to the page names you will add.
 {{{{Documentation subpage}}
 &lt;noinclude&gt;{{Page tabs/tabs|This=2}}&lt;/noinclude&gt;&lt;includeonly&gt;{{Page tabs/tabs|This=1}}
 {{Shortcut|Template:Tabs|WP:TABS}}&lt;/includeonly&gt;
 {{Lua|Module:Page tabs}}
 &lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --&gt;
 
 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 &quot;'''This&amp;nbsp;='''&quot; and the tab number to mark as the current tab. &quot;This&amp;nbsp;=&quot; makes the specified tab white instead of blue. You can add links to pages which don't have tabs on them; for example, the &quot;main page&quot; link in the examples goes to the main page of Wikipedia.
 
 In the examples below, change &quot;Example&quot; to whatever user name it actually was, and &quot;Subpage 1&quot;, etc., to the page names you will add.
 {{clear}}
 }}
 
 == Example ==
  &lt;nowiki&gt;{{Page tabs
  | NOTOC = true
  | [[User:Example]]
  | [[User:Example/Subpage 1]]
  | [[User:Example/Subpage 2|Second subpage]]
  | [[User:Example/Subpage 3]]
  | This = {{{This|1}}}
 }}&lt;/nowiki&gt;
 
 &quot;This =&quot; 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, let's say it was called '''&lt;nowiki&gt;[[User:Example/tabs]]&lt;/nowiki&gt;'''. You'd then go to each page starting with '''&lt;nowiki&gt;[[User:Example]]&lt;/nowiki&gt;''' and put the template at the top of them in the form &lt;nowiki&gt;{{User:Example/tabs|This=1}}&lt;/nowiki&gt;, and use the same thing but use This=2 instead of This=1 on &quot;Subpage 2&quot;, and so on for This=3, etc.
 
 An example has been done for this page at [[Template:Page tabs/tabs]].  Do not use this directly in your own set up, it is strictly for demonstrating 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.
 
 Here's how it looks if you put it on the bottom of the page, which is why you generally put it at the top:
 
 &lt;noinclude&gt;{{Page tabs/tabs|This=2}}&lt;/noinclude&gt;&lt;includeonly&gt;{{Page tabs/tabs|This=1}}&lt;/includeonly&gt;
 
 == See also ==
 * {{tl|Page tabs/1}}
 * {{tl|Page tabs/2}}
 * {{tl|Tab}}
 * {{tl|Start tab}}
 * {{tl|End tab}}
 
 
 &lt;includeonly&gt;{{#ifeq:{{SUBPAGENAME}}|sandbox| |
  &lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&gt;
 [[Category:Wikipedia utility templates]]
 [[Category:WikiProject tab header templates]]