Template:Page tabs/doc: Difference between revisions
 (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> {{High-use}} <noinclude>{{Page tabs/tabs|This=2}}</noinclude><includeonly>{{Page tabs/tabs|This=1}} {{Shortcut|Template:Tabs|WP:TABS}}</includeonly> {{Lua|Module:Page tabs}} {{TemplateStyles|Template:Page tabs/styles.css}}  This template provides a menu of tabs for linking to different pages. Any number of tabs can be specified.  The tab for the current page is indicated by {{para|This}},...")  | 
			
(No difference) 
 | 
Latest revision as of 11:39, 18 September 2024
| 
   | 
 This is a documentation subpage for Template:Page tabs
(see that page for the template itself). It contains usage information, categories, and other content that is not part of the original template page.  | 
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. | 
| This template uses Lua: | 
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
This template provides a menu of tabs for linking to different pages. Any number of tabs can be specified.
The tab for the current page is indicated by |This=, with tab numbers starting from 1. Without this parameter, the first tab will be selected.
Setting |NOTOC=true suppresses the table of contents.
This template should not be used in articles.
Example
{{Page tabs
 | NOTOC = true
 | [[User:Example]]
 | [[User:Example/Subpage 1]]
 | [[User:Example/Subpage 2|Second subpage]]
 | [[User:Example/Subpage 3]]
 | This = 2
}}See also