Template:Hero card2/doc: Difference between revisions
Jump to navigation
Jump to search
m card_size param, renamed text-size to text_size |
m text_size default 20 not 24 |
||
Line 25: | Line 25: | ||
"description": "Change if the hero name doesnt fit. Dont put px at the end.", | "description": "Change if the hero name doesnt fit. Dont put px at the end.", | ||
"type": "string", | "type": "string", | ||
"default": " | "default": "20", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "20, 11" | ||
] | ] | ||
}, | }, |
Revision as of 15:27, 28 October 2024
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hero Portrait | Image | If not set. The hero portrait will default to "Name card.png" | String | optional |
Hero Name | name | Name of the hero. Also determines the wiki page, if no argument "link" has been used
| String | optional |
Hero Link | link | Determines the wiki page. If not used, wiki page link will be determined by "name" argument | String | optional |
Text Size | text_size | Change if the hero name doesnt fit. Dont put px at the end.
| String | optional |
Card Size | card_size | Size of the hero card. Dont put px at the end
| String | optional |
Recommended for new players | recommended | Is this hero recommended for new players?
| Boolean | optional |
is hero experimental? | herolabs | Is the hero in hero labs
| Boolean | optional |