Editing Template:Hero Card NavGive feedback
Jump to navigation
Jump to search
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: | ||
<onlyinclude><div | <onlyinclude><div style="display:inline-block; position:relative"> | ||
[[File:{{{Hero|Abrams}}} card.png|{{{size|50}}}px|link={{{Hero|Abrams}}}]] | |||
</div></onlyinclude><noinclude>{{ | <p style="position: absolute; bottom: 7px; text-align: center; background-color:rgba(0, 0, 0, 0.35); border-radius: 2px; width: 100%; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 4px black, 0px 0px 4px black; font-size: {{{font size|9}}}px; letter-spacing: 0.5px; margin: 0; text-transform: uppercase; pointer-events: none;">[[{{{Hero|Abrams}}}|<span style="color:#FFEFD7">{{{Hero|Abrams}}}</span>]]</p> | ||
</div></onlyinclude> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Hero": { | |||
"description": "Which Hero this is for", | |||
"example": "Abrams" | |||
}, | |||
"size": { | |||
"description": "Image size, adjust if using elsewhere", | |||
"example": "50", | |||
"type": "number", | |||
"default": "50" | |||
}, | |||
"font size": { | |||
"description": "Font size, defaults to 10", | |||
"type": "number", | |||
"default": "10" | |||
} | |||
}, | |||
"description": "A smaller type of hero card for use primarily in navboxes", | |||
"paramOrder": [ | |||
"Hero", | |||
"size", | |||
"font size" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||