Template:Hero Card Nav/doc

From Deadlock Wiki
Revision as of 23:37, 5 November 2024 by Sur (talk | contribs) (alt param)
Jump to navigation Jump to search

Usage

This template is used in the navbox.

Examples

{{Hero Card Nav|Mirage}}
{{Hero Card Nav}}
{{Hero Card Nav|Hero=McGinnis}}
{{Hero Card Nav|Mo & Krill|72}}

A smaller type of hero card for use primarily in navboxes

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
HeroHero 1

Which Hero this is for

Default
Abrams
Example
Abrams
Stringoptional
AltAlt

Alternate name for the hero to display, typically the localized name

Default
Abrams
Example
Abrams
Stringoptional
sizesize 2

Image size, adjust if using elsewhere

Default
55
Example
50
Numberoptional
font sizefont size

Font size, defaults to 9

Default
9
Numberoptional