Template:Ability card v2/Card: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m notes now in a collapsible as many abilities have very lengthy notes. Room for improvement
mNo edit summary
Line 1: Line 1:
<includeonly>{{anchor|{{{name}}}}}<div style="font-size: 1rem; 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: 500px; border-radius: 2px;">
<includeonly>{{anchor|{{{name}}}}}<div style="font-size: 1rem; 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: 500px; border-radius: 13px;">


   <!-- HEADER -->
   <!-- HEADER -->
   <div style="width: 100%">
   <div style="width: 100%">
     <div style="display:flex; flex-direction:row; justify-content: space-between; background: #121212; font-size: calc(1em - 2px); border-radius: 2px; padding: 0 8px 14px 8px">     
     <div style="display:flex; flex-direction:row; justify-content: space-between; background: #121212; font-size: calc(1em - 2px); border-radius: 13px; padding: 0 8px 14px 8px">     
       <div style="display:flex; flex-direction:column;">
       <div style="display:flex; flex-direction:column;">
         <div style="font-size: 1.6rem;">
         <div style="font-size: 1.6rem;">

Revision as of 22:23, 19 October 2024

Eg. {{#invoke:AbilityData|get_ability_card|<hero_name>|<ability_number>|<link_on_name>|<notes>}} Script error: The function "get_ability_card" does not exist.