Template:Hero card2/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m text_size default 20 not 24
Sur (talk | contribs)
m text and card size defaults changed
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": "20",
             "default": "11",
"suggestedvalues": [
"suggestedvalues": [
"20, 11"
"20, 11"
Line 34: Line 34:
"description": "Size of the hero card. Dont put px at the end",
"description": "Size of the hero card. Dont put px at the end",
"type": "string",
"type": "string",
             "default": "132",
             "default": "88",
"suggestedvalues": [
"suggestedvalues": [
"132, 88"
"132, 88"

Revision as of 15:48, 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
11
Stringoptional
Card Sizecard_size

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

Suggested values
132, 88
Default
88
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