Template:Hero card2/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
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..."
 
Mixorio (talk | contribs)
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.

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