Template:Hero card2: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
cleanup
Rounded edges and increased shadow
Line 1: Line 1:
<div class="HeroCard2" style="display:inline-block; border-radius: 2px; overflow:hidden; position: relative; background-image: linear-gradient(#A69885, #72695A); width: 132px; height: 179px; box-shadow: 0px 0px 20px #00000090; transition: 0.1s transform ease-in-out;">
<div class="HeroCard2" style="display:inline-block; border-radius: 8px; overflow:hidden; position: relative; background-image: linear-gradient(#A69885, #72695A); width: 132px; height: 179px; box-shadow: 10px 10px 10px #00000090; transition: 0.1s transform ease-in-out;">
<span>[[File:{{{Image|{{{name|Abrams}}}}}} card.png|132px|link={{{name|Abrams}}}]]</span>
<span>[[File:{{{Image|{{{name|Abrams}}}}}} card.png|132px|link={{{name|Abrams}}}]]</span>
<p style="position: absolute; bottom: 5px; text-align: center; width: 100%; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; color: #FFEFD7; text-shadow: 0px 0px 8px black, 0px 0px 8px black, 0px 0px 8px black; font-size: {{{text-size|24}}}px; letter-spacing: 0.5px; margin: 0; text-transform: uppercase; text-overflow: ellipsis; pointer-events: none;">{{{name|Abrams}}}</p>
<p style="position: absolute; bottom: 5px; text-align: center; width: 100%; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; color: #FFEFD7; text-shadow: 0px 0px 8px black, 0px 0px 8px black, 0px 0px 8px black; font-size: {{{text-size|24}}}px; letter-spacing: 0.5px; margin: 0; text-transform: uppercase; text-overflow: ellipsis; pointer-events: none;">{{{name|Abrams}}}</p>

Revision as of 01:45, 14 September 2024

Abrams

Template documentation [view] [edit] [purge]

No description.

Template parameters[Edit template data]

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

Suggested values
Abrams
Default
Abrams
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