Template:Ability card v2/Card: Difference between revisions
Appearance
Migrated the ability card to be less invoke-dependent. This enables creation of ability cards manually with the template instead of relying on Data:AbilityCard.json |
mNo edit summary |
||
Line 78: | Line 78: | ||
</div> | </div> | ||
</div>}}</div></includeonly><noinclude> | </div>}}</div></includeonly><noinclude> | ||
{{ | {{Ability card v2/Card | ||
| name=Some Ability | | name=Some Ability | ||
| icon=Catalyst.png | | icon=Catalyst.png | ||
Line 169: | Line 169: | ||
}} | }} | ||
<pre><nowiki>Eg. {{ | <pre><nowiki>Eg. {{ | ||
Ability card v2/Card | |||
| name=Some Ability | | name=Some Ability | ||
| icon=Catalyst.png | | icon=Catalyst.png | ||
Line 185: | Line 185: | ||
| value=99 | | value=99 | ||
| key=DPS | | key=DPS | ||
| icon=AttributeIconTechShieldHealth.png | | icon=AttributeIconTechShieldHealth.png | ||
| icon_color=Purple | | icon_color=Purple | ||
}} | }} | ||
| info1_mainbox2= | | info1_mainbox2= | ||
{{Template:Ability card v2/Card/MainBox | |||
| value=99 | |||
| key=Heal | |||
| type=bullet_damage | |||
| label=Healy | |||
}} | |||
| info1_altbox1= | |||
{{Template:Ability card v2/Card/AltBox | |||
| value=99 | |||
| key=DPS | |||
| type=bullet_damage | |||
| icon_color=Brown | |||
}} | |||
| info2_desc=This ability does something | |||
| info2_mainbox1= | |||
{{Template:Ability card v2/Card/MainBox | {{Template:Ability card v2/Card/MainBox | ||
| value=99 | | value=99 | ||
Line 195: | Line 211: | ||
| icon=AttributeIconTechShieldHealth.png | | icon=AttributeIconTechShieldHealth.png | ||
| icon_color=Purple | | icon_color=Purple | ||
}} | |||
| info2_mainbox2= | |||
{{Template:Ability card v2/Card/MainBox | |||
| value=99 | |||
| key=Heal | |||
| type=bullet_damage | |||
| label=Healy | |||
}} | }} | ||
| | | info2_altbox1= | ||
{{Template:Ability card v2/Card/AltBox | {{Template:Ability card v2/Card/AltBox | ||
| value=99 | | value=99 | ||
| key=DPS | | key=DPS | ||
| | | type=bullet_damage | ||
| icon_color= | | icon_color=Brown | ||
}} | }} | ||
| | | info2_altbox2= | ||
{{Template:Ability card v2/Card/AltBox | {{Template:Ability card v2/Card/AltBox | ||
| value=99 | | value=99 | ||
| key=DPS | | key=DPS | ||
| | | label=Deeps | ||
| | | type=tech_damage | ||
}} | }} | ||
| upgrade1= | | upgrade1= | ||
{{Template:Ability card v2/Card/UpgradeBox | {{Template:Ability card v2/Card/UpgradeBox | ||
Line 235: | Line 258: | ||
| scale_type = spirit | | scale_type = spirit | ||
}} | }} | ||
}} | |||
</nowiki></pre> | </nowiki></pre> | ||
</noinclude> | </noinclude> |
Revision as of 20:32, 2 January 2025
Eg. {{ Ability card v2/Card | name=Some Ability | icon=Catalyst.png | range=99 | radius=99 | duration=99 | num_of_charges=99 | charge_cooldown=99 | cooldown=99 | duration=99 | info1_desc=This ability does something | info1_mainbox1= {{Template:Ability card v2/Card/MainBox | value=99 | key=DPS | icon=AttributeIconTechShieldHealth.png | icon_color=Purple }} | info1_mainbox2= {{Template:Ability card v2/Card/MainBox | value=99 | key=Heal | type=bullet_damage | label=Healy }} | info1_altbox1= {{Template:Ability card v2/Card/AltBox | value=99 | key=DPS | type=bullet_damage | icon_color=Brown }} | info2_desc=This ability does something | info2_mainbox1= {{Template:Ability card v2/Card/MainBox | value=99 | key=DPS | icon=AttributeIconTechShieldHealth.png | icon_color=Purple }} | info2_mainbox2= {{Template:Ability card v2/Card/MainBox | value=99 | key=Heal | type=bullet_damage | label=Healy }} | info2_altbox1= {{Template:Ability card v2/Card/AltBox | value=99 | key=DPS | type=bullet_damage | icon_color=Brown }} | info2_altbox2= {{Template:Ability card v2/Card/AltBox | value=99 | key=DPS | label=Deeps | type=tech_damage }} | upgrade1= {{Template:Ability card v2/Card/UpgradeBox | cost = 1 | description = An upgrade | scale_value = 0.123 | scale_type = spirit }} | upgrade2= {{Template:Ability card v2/Card/UpgradeBox | cost = 2 | description = An upgrade | scale_value = 0.123 | scale_type = spirit }} | upgrade3= {{Template:Ability card v2/Card/UpgradeBox | cost = 5 | description = An upgrade | scale_value = 0.123 | scale_type = spirit }} }}