Template:Hero card2/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m card_size param, renamed text-size to text_size
Sur (talk | contribs)
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": "24",
             "default": "20",
"suggestedvalues": [
"suggestedvalues": [
"24, 11"
"20, 11"
]
]
},
},

Revision as of 15:27, 28 October 2024

No description.

Template parameters

ParameterDescriptionTypeStatus
Hero PortraitImage

If not set. The hero portrait will default to "Name card.png"

Stringoptional
Hero Namename

Name of the hero. Also determines the wiki page, if no argument "link" has been used

Suggested values
Abrams
Default
Abrams
Stringoptional
Hero Linklink

Determines the wiki page. If not used, wiki page link will be determined by "name" argument

Stringoptional
Text Sizetext_size

Change if the hero name doesnt fit. Dont put px at the end.

Suggested values
20, 11
Default
20
Stringoptional
Card Sizecard_size

Size of the hero card. Dont put px at the end

Suggested values
132, 88
Default
132
Stringoptional
Recommended for new playersrecommended

Is this hero recommended for new players?

Default
false
Booleanoptional
is hero experimental?herolabs

Is the hero in hero labs

Suggested values
true false
Default
false
Example
false
Booleanoptional