Template:Page tabs: Difference between revisions
Jump to navigation
Jump to search
m (Changed protection settings for "Template:Page tabs": High-risk template or module: 2665 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite))) |
Richardpruen (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 18:40, 2 January 2022
{{{1}}}
This template 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
}}