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: Difference between revisions
From NBITTRPG Wiki
No edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{{!}} id="tabs" style="text-align:center: width:50%; border:5px; border-spacing: 1px; padding: 5px; margin-bottom: 5px; font-size: 9pt;" valign="top" {{!}} | <includeonly>{{{!}} id="tabs" style="text-align:center: width:50%; border:5px; border-spacing: 1px; padding: 5px; margin-bottom: 5px; font-size: 9pt;" valign="top" {{!}} | ||
{{{1}}} | {{{1}}} | ||
{{!}} style="border-bottom:2px solid var(-- | {{!}} style="border-bottom:2px solid var(--button-color); width: {{{width|1000px}}};" {{!}} | ||
{{!}}}</includeonly> | {{!}}}</includeonly><noinclude> | ||
{{Documentation}}</noinclude> | |||
Latest revision as of 22:12, 28 October 2026
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
[edit source]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 |
