This wiki is still in active development, many areas of the site are unstable or broken.

In the meantime, consider adding content to pages you like!

Template:Tabs/doc

From NBITTRPG Wiki
Revision as of 22:50, 28 October 2026 by CStatic (talk | contribs) (Created page with "This is a template made to establish tabs within a page to help readers navigate to the appropriate subpages. It may soon be replaced by Template:Tab. == Usage == This template needs to nest its subpages inside of them. There are two states to this template: active and inactive. For the active tab, use the first tab. For the inactive tab, use the other. <syntaxhighlight lang="xml+smarty" copy> {{Tabs| {{Tabs/1|page name|how this tab name is displayed}} {{Tabs/2|page...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a template made to establish tabs within a page to help readers navigate to the appropriate subpages. It may soon be replaced by Template:Tab.

This template needs to nest its subpages inside of them. There are two states to this template: active and inactive. For the active tab, use the first tab. For the inactive tab, use the other.

{{Tabs|
{{Tabs/1|page name|how this tab name is displayed}}
{{Tabs/2|page name/other|how the other tab name is displayed|}}
}}

Example

[edit source]
how this tab name is displayed   how the other tab name is displayed