Editing Template:Hero card2/docGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
This template | This template <span style="color:grey;">[if you know how this template works, please explain how to use it and what function it should serve].</span> | ||
== Examples == | == Examples == | ||
<pre> | <pre> | ||
{{Hero card2|Lash | {{Hero card2|name=Lash|link=Lash}} | ||
{{Hero card2|name=Jacob|link=Lash}} | |||
{{Hero card2| | |||
</pre> | </pre> | ||
{{Hero card2| | {{Hero card2|name=Lash|link=Lash}} | ||
{{Hero card2|name=Jacob|link=Lash}} | |||
{{Hero card2| | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "Image": { | ||
"label": "Hero Portrait", | |||
"description": "If not set. The hero portrait will default to \"Name card.png\"", | |||
"type": "string" | |||
}, | |||
"name": { | |||
"label": "Hero Name", | "label": "Hero Name", | ||
"description": " | "description": "Name of the hero. Also determines the wiki page, if no argument \"link\" has been used", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | |||
"suggestedvalues": ["Abrams"], | "Abrams" | ||
"default": "Abrams" | ], | ||
"default": "Abrams" | |||
}, | }, | ||
" | "link": { | ||
"label": " | "label": "Hero Link", | ||
"description": " | "description": "Determines the wiki page. If not used, wiki page link will be determined by \"name\" argument", | ||
"type": "string" | |||
" | }, | ||
"text_size": { | |||
}, | |||
" | |||
"label": "Text Size", | "label": "Text Size", | ||
"description": " | "description": "Change if the hero name doesnt fit. Dont put px at the end.", | ||
"type": "number", | "type": "number", | ||
"default": " | "default": "11", | ||
"suggestedvalues": [" | "suggestedvalues": [ | ||
"20, 11" | |||
] | |||
}, | }, | ||
" | "card_size": { | ||
"label": " | "label": "Card Size", | ||
"description": " | "description": "Size of the hero card. Dont put px at the end", | ||
"type": " | "type": "string", | ||
"default": " | "default": "88", | ||
"suggestedvalues": [" | "suggestedvalues": [ | ||
"132, 88" | |||
] | |||
}, | }, | ||
" | "sticker_size": { | ||
"label": " | "label": "Sticker Size", | ||
"description": " | "description": "Size of the Recommended/Hero Lab sticker that appears in the top right of hero cards.", | ||
"example": "30", | |||
"type": "string", | "type": "string", | ||
" | "suggestedvalues": [ | ||
"30", | |||
"56" | |||
], | |||
"default": "30" | |||
}, | }, | ||
" | "herolabs_text_size": { | ||
"label": " | "label": "Hero Labs Text Size", | ||
"description": " | "description": "Size of the Hero Labs text that appears for Hero Lab heroes.", | ||
"type": " | "example": "6", | ||
" | "type": "number", | ||
"suggestedvalues": [ | |||
"6", | |||
"8" | |||
], | |||
"default": "6" | |||
}, | }, | ||
" | "recommended": { | ||
"label": " | "label": "Recommended for new players", | ||
"description": " | "description": "Is this hero recommended for new players?", | ||
"type": " | "type": "boolean", | ||
" | "default": "false" | ||
}, | }, | ||
" | "herolabs": { | ||
"label": " | "label": "is hero experimental?", | ||
"description": " | "description": "Is the hero in hero labs", | ||
"type": " | "example": "false", | ||
" | "type": "boolean", | ||
"suggestedvalues": [ | |||
"true", | |||
"false" | |||
], | |||
"default": "false" | |||
} | } | ||
}, | }, | ||