Template:Hero Card Nav/doc: Difference between revisions
Jump to navigation
Jump to search
update templatedata, add more examples |
m alt param |
||
Line 23: | Line 23: | ||
"1" | "1" | ||
], | ], | ||
"type": "string" | |||
}, | |||
"Alt": { | |||
"description": "Alternate name for the hero to display, typically the localized name", | |||
"example": "Abrams", | |||
"default": "Abrams", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 43: | Line 49: | ||
"paramOrder": [ | "paramOrder": [ | ||
"Hero", | "Hero", | ||
"Alt", | |||
"size", | "size", | ||
"font size" | "font size" |
Revision as of 23:37, 5 November 2024
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hero | Hero 1 | Which Hero this is for
| String | optional |
Alt | Alt | Alternate name for the hero to display, typically the localized name
| String | optional |
size | size 2 | Image size, adjust if using elsewhere
| Number | optional |
font size | font size | Font size, defaults to 9
| Number | optional |