Template:Hero card2/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mixorio (talk | contribs)
mNo edit summary
Lera (talk | contribs)
No edit summary
Line 16: Line 16:
"default": "Abrams"
"default": "Abrams"
},
},
        "link": {
"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.

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

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

Suggested values
24
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