User:Hefaistus/Template:HeroTabs

From Dota 2 Wiki
Jump to: navigation, search
Natural Order (Astral Spirit) icon.png
▶️ By the forge of creation.
This section is under construction. It may still lack crucial information or contain unvalidated statements.
Reason given: Not sure if tabs are the right approach to display so many heroes.
You can help by coordinating with the authors and offer your help.

Documentation for User:Hefaistus/Template:HeroTabs [ edit | purge ]

Wrapper for {{Tabs}} with class-specific tabs.

Parameters[edit]

  • title – box title
  • notitle – Hide title from top bar
  • noheader – Hide top bar completely
  • name – name of the template
  • orientationvertical or horizontal
  • selected – tab to automatically display
  • size – size of class icons
  • width – control the width of the box
  • icononly – only display the class icons (no text labels)
  • instant – set to 'yes' to disable animations
  • <class name> – content (scout, soldier, pyro, etc, all-class for the all-class tab).

Example[edit]

{{ClassTabs
| title    = Classes
| name = ClassTabs
| selected = heavy
| size     = 24px

| scout    = Scout
| soldier  = Soldier
| pyro     = Pyro
| demoman  = Demoman
| heavy    = Heavy
| engineer = Engineer
| medic    = Medic
| sniper   = Sniper
| spy      = Spy
}}

Template:ClassTabs

See also[edit]

  • {{User:Hefaistus/Template:Tabs}}