Module:HeroData/nav/doc

From Deadlock Wiki
Revision as of 15:02, 28 October 2024 by Sur (talk | contribs) (pre-initial, just saving my work for later)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:HeroData/nav

Overview

Generates hero navigation cards

Functions

get_hero_nav_cards

For Template:Hero Navbox on Heroes, makes calls to {{Hero Card Nav|Hero=Abrams}}

Examples

{{#invoke:HeroData/nav|get_hero_nav_cards|Current}}

{{#invoke:HeroData/nav|get_hero_nav_cards|Upcoming}}

get_hero_nav_cards_homepage

For Template:Deadlock_Wiki/Heroes on home page, i.e. Template:Hero card2

Examples

{{#invoke:HeroData/nav|get_hero_nav_cards_homepage|false}}

{{#invoke:HeroData/nav|get_hero_nav_cards_homepage|true}}