Template:Page tabs
From TechInfoDepot
(Redirected from WP:TABS)
Jump to navigationJump to search{{{1}}}
![]() | This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
![]() | Uses Lua: |
![]() | This template uses TemplateStyles: |
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
The above documentation is transcluded from Template:Page tabs/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |