Template:Hero card2/doc: Difference between revisions
Jump to navigation
Jump to search
fix types |
m examples |
||
Line 1: | Line 1: | ||
<pre>{{Hero card2|name=Lash|link=Lash}} | |||
{{Hero card2|name=Jacob|link=Lash}}</pre> | |||
{{Hero card2|name=Lash|link=Lash}} | |||
{{Hero card2|name=Jacob|link=Lash}} | |||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 15:32, 8 November 2024
{{Hero card2|name=Lash|link=Lash}} {{Hero card2|name=Jacob|link=Lash}}
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.
| Number | optional |
Card Size | card_size | Size of the hero card. Dont put px at the end
| String | optional |
Sticker Size | sticker_size | Size of the Recommended/Hero Lab sticker that appears in the top right of hero cards.
| String | optional |
Hero Labs Text Size | herolabs_text_size | Size of the Hero Labs text that appears for Hero Lab heroes.
| Number | 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 |