Template:Page tabs: Difference between revisions
(Created page with "{{Documentation subpage}} <noinclude>{{Page tabs/tabs|This=2}}Category:Tab Templates</noinclude><includeonly>{{Page tabs/tabs|This=1}} {{Shortcut|Template:Tabs|WP:TABS}}</...") |
(No difference)
|
Revision as of 21:36, 7 May 2022
This template uses Lua: |
Template: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
Template:Page tabs/tabs Template:Shortcut
This template uses Lua: |
Template: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
Template loop detected: Template:Page tabs
{{Page tabs
| NOTOC = true
| [[User:Example]]
| [[User:Example/Subpage 1]]
| [[User:Example/Subpage 2|Second subpage]]
| [[User:Example/Subpage 3]]
| This = 2
}}
See also
{{Page tabs
| NOTOC = true
| [[User:Example]]
| [[User:Example/Subpage 1]]
| [[User:Example/Subpage 2|Second subpage]]
| [[User:Example/Subpage 3]]
| This = 2
}}