Module:HeroData/release/doc

Revision as of 23:38, 23 November 2024 by Sur (talk | contribs) (initial docs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:HeroData/release

Functions

edit

get_hero_release_status

edit

Determines the release-status of a given hero

Parameters

edit
  • hero_key - Key of the hero to check

Output

edit
  • HeroLabs - If the hero is currently playable in Hero Labs
  • Released - If the hero is currently playable in all modes
  • nil - If the hero is neither

Examples

edit

{{#invoke:HeroData/release|get_hero_release_status|hero_synth}} Released

{{#invoke:HeroData/release|get_hero_release_status|hero_trapper}}


{{#invoke:HeroData/release|get_hero_release_status|hero_operative}}


{{#invoke:HeroData/release|get_hero_release_status|hero_madeuphero}} hero_key hero_madeuphero is not a hero