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:Custom Tabs: Difference between revisions
From The Codex
GiverOfThePeace (talk | contribs) (Created page with "<includeonly><!-- --><div class="{{{class|custom-tabs-default}}} custom-tabs"><!-- -->{{#if:{{{tab1|}}}|<!-- --><span class="{{{tab1class|{{#ifeq:{{SUBPAGENAME}}|{{{tab1}}}|active-tab|{{#ifeq:{{PAGENAME}}|{{{rootpage|{{ROOTPAGENAME}}}}}|active-tab|inactive-tab}}}}}}}"><!-- -->[[{{{namespace1|{{{namespace|{{NAMESPACE}}}}}}}}:{{#ifeq:{{{subpages|1}}}|1|{{{rootpage|{{ROOTPAGENAME}}}}}{{!}}{{{tab1}}}|{{{tab1}}}{{!}}{{{tab1name|{{{tab1}}}}}}}}]]<!-- --...") |
GiverOfThePeace (talk | contribs) (Protected "Template:Custom Tabs" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) m |
(No difference)
|
Latest revision as of 20:21, 11 May 2024
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Template:CSS 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 = }}
- Script error: No such module "Formatting". - title of root page if not using current page's root.
- Script error: No such module "Formatting". - name of namespace if not using current page's namespace.
- Script error: No such module "Formatting". - tabs are subpages of the first if set to 1, otherwise are not; default 1.
- Script error: No such module "Formatting". - name of the first tab
- Script error: No such module "Formatting". - name of the subpage
- Script error: No such module "Formatting". - name to diplay in the tabs view