Template:Hero card2/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "<templatedata> { "params": { "Image": { "label": "Hero Portrait", "description": "If not set. The hero portrait will default to \"Name card.png\"", "type": "string" }, "name": { "label": "Hero Name", "description": "Name of the hero. Also determines the wiki page", "type": "string", "suggestedvalues": [ "Abrams" ], "default": "Abrams" }, "text-size": { "label": "Text Size", "description": "Default is 24px. Change if the her..." |
mNo edit summary |
||
Line 9: | Line 9: | ||
"name": { | "name": { | ||
"label": "Hero Name", | "label": "Hero Name", | ||
"description": "Name of the hero. Also determines the wiki page", | "description": "Name of the hero. Also determines the wiki page, if no argument \"link\" has been used", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
Line 15: | Line 15: | ||
], | ], | ||
"default": "Abrams" | "default": "Abrams" | ||
}, | |||
"link": { | |||
"label": "Hero Link", | |||
"description": "Determines the wiki page. If not used, wiki page link will be determined by \"name\" argument", | |||
"type": "string" | |||
}, | }, | ||
"text-size": { | "text-size": { |
Revision as of 13:37, 6 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 |