Template:Ability card v2/Card/AltBox/doc: Difference between revisions

Jump to navigation Jump to search
m Updated description
m Added some examples
Line 1: Line 1:
=== Overview ===
Display element for an alternate ability, similar to main box attributes. Can be any number of these on an ability card
=== Examples ===
==== Multiple Alt boxes in a container ====
<div style="font-size: 0.9rem; line-height: 1.4; font-family: 'Retail Demo Regular', 'PT Serif', serif; color: #FFEFD7; display:flex; flex-direction:column; background-color: #2A2A2A; align-items: center; width: 100%; max-width: 500px;">
  <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; align-items: center; background-color: #2A2A2A; width: calc(97% - 19px); min-width: 267px; padding: 0 4px 0 4px; column-gap: 15px">
  {{Ability card v2/Card/AltBox
    | value=15
    | key=TechResist
    | type=tech_armor_up
  }}
  {{Ability card v2/Card/AltBox
    | value=50
    | key=DPS
    | type=bullet_damage
    | icon_color=Brown
  }}     
  </div>
</div>
==== In an Ability Card ====
{{#invoke:Abilities/card|get_ability_card|Vindicta|3|false}}
<templatedata>
<templatedata>
{
{
Line 75: Line 99:
}
}
},
},
"description": "Display element for an alternate ability, similar to main box attributes. Can be any number of these on an ability card",
"description": "",
"paramOrder": [
"paramOrder": [
"value",
"value",