Template:HeroTabber

From Gigantic Wiki
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:HeroTabber/doc to edit this documentation. (How does this work?)
Description
This template creates an imitation of tabber (see: Extension:TabberNeue on MediaWiki) to be used on pages and subpages about heroes, where each tab links to a corresponding page. Template also changes displayed title of subpages (replaces / with -).
Template uses Extension:TemplateStyles; for styles see Template:Tabber/styles.css.
Syntax
Type: {{HeroTabber|<hero name>|<tab name>}}
For example, on Mozu it must be {{HeroTabber|Mozu|Hero}}, while on Mozu/Gallery it will be {{HeroTabber|Mozu|Gallery}}.
On subpages, a preamble from main hero page (wrapped inside <onlyinclude> tags) must be transcluded, for example Mozu/Gallery starts with {{:Mozu}}
See also
Template:MapTabber