The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

Template:Template:Tabs/doc: Difference between revisions

From The Codex
GiverOfThePeace
GiverOfThePeace (talk | contribs) (Created page with "'''Syntax''' {{Tabs | colorscheme = | root = | root title = | show root = | root tooltip = | tab # = | tab # title = | tab # tooltip = | subtab # = }} '''Parameters''' All parameters are optional. *colorscheme= name of a color scheme to use from MediaWiki:ColorSchemes.css. *root= full name of the root page, namespace included, default: {{NAMESPACE}}:{{BASEPAGENAME}}. *root title= name to display in the tab...")
 
GiverOfThePeace
GiverOfThePeace (talk | contribs) (Replaced content with ".")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''Syntax'''
.
 
{{Tabs
| colorscheme    =
| root          =
| root title    =
| show root      =
| root tooltip  =
| tab #          =
| tab # title    =
| tab # tooltip  =
| subtab #      =
}}
 
'''Parameters'''
 
All parameters are optional.
 
*colorscheme= name of a color scheme to use from MediaWiki:ColorSchemes.css.
*root= full name of the root page, namespace included, default: {{NAMESPACE}}:{{BASEPAGENAME}}.
*root title= name to display in the tab for the root page link, default: the name used for root=.
*show root= if equals to no the root tab will be hidden.
*root tooltip= tooltip to display.
*tab #= name of a subpage to link with a new tab. A maximum of 20 subpage tabs are supported.
*tab # title= name to display in the tab for the subpage link, default: the name used for tab #=. If tab #= is left empty, but tab # title= is defined, then a tab without link will be displayed.
*tab # tooltip= tooltip to display.
*subtab #= A second <nowiki>{{Tabs}}</nowiki> can be nested to create second-level tabs under tab #=.

Latest revision as of 23:08, 19 August 2022

.