Template:HeroTabs/doc

Revision as of 23:41, 7 July 2026 by Gammaton32 (talk | contribs) (Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
CSS3 logo.svg
This template uses CSS found at HeroTabs/styles.css.

Usage

edit

Adds a navigation header for a main page and its subpages. Mainly used for heroes but also works for other pages if it has the same subpages.

Place this template at the top of the relevant pages. The template automatically detects which subpages exist and highlights the current (active) page's tab.

Example

edit

Using the code:

{{HeroTabs}}

Will render the navigation bar. The example below shows how it appears on the "Sounds" page, with that tab highlighted as active.