Template:Hero card2/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m card_size param, renamed text-size to text_size |
||
Line 21: | Line 21: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "text_size": { | ||
"label": "Text Size", | "label": "Text Size", | ||
"description": " | "description": "Change if the hero name doesnt fit. Dont put px at the end.", | ||
"type": "string", | "type": "string", | ||
"default": "24", | |||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"24" | "24, 11" | ||
] | |||
}, | |||
"card_size": { | |||
"label": "Card Size", | |||
"description": "Size of the hero card. Dont put px at the end", | |||
"type": "string", | |||
"default": "132", | |||
"suggestedvalues": [ | |||
"132, 88" | |||
] | ] | ||
}, | }, |
Revision as of 15:26, 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 |