Template:Hero

From Predecessor Wiki
Jump to navigation Jump to search
Template-info.svg Documentation
Usage
This template is used as a way to display data from Module:Heroes/data.
Syntax
{{Hero|<infobox/stats/statistics/abilities/list/categories>|<hero>}}
  • infobox - Generates an infobox containing purchase costs, release date, roles, classes, difficulty, range type and statistic ratings.
  • statistics - Generates a box of statistics up to level 18.
  • abilities - Generates a grid of a hero's abilities.
  • list - Generates a list of all available heroes with a filter on top.
  • categories - Automatically adds categories to the page based on a hero's data.
Ability Notes
{{Hero|abilities}} accepts multiple parameters to add notes that will be displayed upon hovering on the corresponding ability box:
Passive, LMB, RMB, Q, E, R
Notes should be formatted with asterisks and separated by new lines, as such:
{{Hero|abilities|LMB=* Note 1
* Note 2}}
Example
{{Hero|infobox|Argus}}
{{Hero|stats|Argus}}
{{Hero|abilities|Argus}}
{{Hero|list}}
See Argus or any other hero page.