Template:Hero card2/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
"default": "Abrams" | "default": "Abrams" | ||
}, | }, | ||
"link": { | |||
"label": "Hero Link", | "label": "Hero Link", | ||
"description": "Determines the wiki page. If not used, wiki page link will be determined by \"name\" argument", | "description": "Determines the wiki page. If not used, wiki page link will be determined by \"name\" argument", | ||
Line 33: | Line 33: | ||
"description": "Is this hero recommended for new players?", | "description": "Is this hero recommended for new players?", | ||
"type": "boolean", | "type": "boolean", | ||
"default": "false" | |||
}, | |||
"herolabs": { | |||
"label": "is hero experimental?", | |||
"description": "Is the hero in hero labs", | |||
"example": "false", | |||
"type": "boolean", | |||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
], | |||
"default": "false" | "default": "false" | ||
} | } |
Revision as of 22:13, 27 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 | Default is 24px. Change if the hero name doesnt fit. 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 |