Template:Custom Tabs/doc

Revision as of 21:28, 29 August 2025 by 919dd (talk | contribs) (Created page with "{{Documentation/Header}} {{CSS|CustomTabs}} Template for creating tabs for navigation. ==Parameters== <pre> {{Custom Tabs |rootpage = |namespace = |subpages = |tab1 = |tab2 = |tab2name = |tab3 = |tab3name = |tab4 = |tab4name = |tab5 = |tab5name = |tab6 = |tab6name = |tab7 = |tab7name = |tab8 = |tab8name = |tab9 = |tab9name = |tab10 = |tab10name = |tab11 = |tab11name = |tab12 = |ta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page for Custom Tabs.
It contains usage information, categories, and other content not part of the original template page.
This template uses CSS found at MediaWiki:CustomTabs.css (edit | hist).

Template for creating tabs for navigation.

Parameters

{{Custom Tabs
|rootpage  =
|namespace = 
|subpages  = 
|tab1      = 
|tab2      = 
|tab2name  = 
|tab3      = 
|tab3name  = 
|tab4      = 
|tab4name  = 
|tab5      = 
|tab5name  = 
|tab6      = 
|tab6name  = 
|tab7      = 
|tab7name  = 
|tab8      = 
|tab8name  = 
|tab9      = 
|tab9name  = 
|tab10     = 
|tab10name = 
|tab11     = 
|tab11name = 
|tab12     = 
|tab12name = 
|tab13     = 
|tab13name = 
}}
  • rootpage - title of root page if not using current page's root.
  • namespace - name of namespace if not using current page's namespace.
  • subpages - tabs are subpages of the first if set to 1, otherwise are not; default 1.
  • tab1 - name of the first tab
  • tabx - name of the subpage
  • tabxname - name to diplay in the tabs view

Examples

{{Custom Tabs
|tab1 = Overview
|tab2 = Story
|tab3 = Voicelines
|tab4 = Media
}}

yields: