User:Saag/Sandbox/AbilityCard: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{anchor|{{{name}}}}} | <includeonly>{{anchor|{{{name}}}}} | ||
<div style="font-size: | <div style="font-size: 16px; font-family: 'PT Serif', 'Palatino', 'Georgia'; color: #FFEFD7; display:flex; flex-direction:column; background: rgb(52,52,52); | ||
background: linear-gradient(90deg, rgba(52,52,52,1) 0%, rgba(66,66,66,1) 14%, rgba(77,77,77,1) 100%); align-items: center; max-width: 550px"> | background: linear-gradient(90deg, rgba(52,52,52,1) 0%, rgba(66,66,66,1) 14%, rgba(77,77,77,1) 100%); align-items: center; max-width: 550px"> | ||
Line 24: | Line 24: | ||
<!-- INFO SECTIONS --> | <!-- INFO SECTIONS --> | ||
<div style="display:flex; flex-direction:column; align-items: center; margin: 5px 10px 20px 10px"> | <div style="display:flex; flex-direction:column; align-items: center; margin: 5px 10px 20px 10px; width: calc(100% - 18px);"> | ||
<div style="padding: 20px 10px 20px 10px">{{{description}}}</div> | <div style="padding: 20px 10px 20px 10px">{{{description}}}</div> | ||
<div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; width: calc(90% - 5px);"> | <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; width: calc(90% - 5px);"> | ||
Line 35: | Line 35: | ||
<!-- UPGRADES --> | <!-- UPGRADES --> | ||
<div style="display:flex; flex-direction:row; margin-bottom: 10px; justify-content: center; width: calc(90% - | <div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 10px; justify-content: center; width: calc(90% - 16px);> | ||
{{#invoke: AbilityData|get_upgrades|{{{hero_name}}}|{{{ability_num}}}}} | {{#invoke: AbilityData|get_upgrades|{{{hero_name}}}|{{{ability_num}}}}} | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude> | <noinclude> | ||
{{#invoke:AbilityData|get_ability_card|Wraith| | {{#invoke:AbilityData|get_ability_card|Wraith|3|true}} | ||
</noinclude> | </noinclude> |