Template:HeroTabs

From The Deadlock Wiki
Revision as of 01:12, 1 May 2026 by Gammaton32 (talk | contribs) (new background)
Jump to navigation Jump to search
Template documentation [view] [edit] [history] [purge]
CSS3 logo.svg
This template uses CSS found at HeroTabs/styles.css.

Usage

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

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.