Template:Ability card v2/Card: Difference between revisions
Jump to navigation
Jump to search
greater min width Tags: Mobile edit Mobile web edit |
relative font and slight overall reduction |
||
Line 1: | Line 1: | ||
<includeonly>{{anchor|{{{name}}}}}<div style="font-size: | <includeonly>{{anchor|{{{name}}}}}<div style="font-size: 15px; line-height: 1.4; 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: 700px"> | 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: 700px"> | ||
<!-- HEADER --> | <!-- HEADER --> | ||
<div style="display:flex; flex-direction:row; justify-content: space-between; width: 100%; background: #121212; font-size: | <div style="display:flex; flex-direction:row; justify-content: space-between; width: 100%; background: #121212; font-size: calc(1em - 2px);"> | ||
<div style="display:flex; flex-direction:column; padding: 20px 0 20px 20px"> | <div style="display:flex; flex-direction:column; padding: 20px 0 20px 20px"> | ||
<div style="font-size: | <div style="font-size: 1.8rem">{{#if:{{{name_link|}}}|[[{{{name_link}}}|{{{name}}}]]|{{{name}}}}}</div> | ||
<div style="display:flex; flex-direction:row; margin-left: 10px;"> | <div style="display:flex; flex-direction:row; margin-left: 10px;"> | ||
{{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{range|}}}|uom=m|icon=CastRange.png}} | {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{range|}}}|uom=m|icon=CastRange.png}} | ||
Line 41: | Line 41: | ||
{{#if: {{{notes|}}}| | {{#if: {{{notes|}}}| | ||
<div style="align-self: flex-start; margin: 10px 0 10px 20px"> | <div style="align-self: flex-start; margin: 10px 0 10px 20px"> | ||
<div style="font-size: | <div style="font-size:1.8rem;"> Notes </div> | ||
<div> | <div> | ||
{{{notes}}} | {{{notes}}} |
Revision as of 19:56, 23 September 2024
Script error: The function "get_ability_card" does not exist.