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:Tabs: Difference between revisions
From The Codex
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...") |
|||
Line 25: | Line 25: | ||
*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 # 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. | *tab # tooltip= tooltip to display. | ||
*subtab #= A second {{Tabs}} can be nested to create second-level tabs under tab #=. | *subtab #= A second <nowiki>{{Tabs}}</nowiki> can be nested to create second-level tabs under tab #=. |
Revision as of 23:04, 19 August 2022
Syntax
Syntax
Template loop detected: Template:Tabs
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: Template:Tabs.
- 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 {{Tabs}} can be nested to create second-level tabs under tab #=.
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: Template:Tabs.
- 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 {{Tabs}} can be nested to create second-level tabs under tab #=.