Template:Ability card v2/Card/Info section: Difference between revisions
Jump to navigation
Jump to search
m Saag moved page Template:Ability card v2/Info section to Template:Ability card v2/Card/Info section |
m internal functions now use hero_key instead of hero_name, removing the need to redo O(N) |
||
Line 1: | Line 1: | ||
<includeonly><div style="display:flex; flex-direction:column; align-items: center; width: 100%"> | <includeonly><div style="display:flex; flex-direction:column; align-items: center; width: 100%"> | ||
<div style="padding: 0 10px 0 10px">{{#invoke:AbilityData|get_info_desc|{{{ | <div style="padding: 0 10px 0 10px">{{#invoke:AbilityData|get_info_desc|{{{hero_key}}}|{{{ability_num}}}|{{{info_section_num}}}}}</div> | ||
<!-- Main Info --> | <!-- Main Info --> | ||
<div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; width: calc(97% - 5px); min-width: 280px;"> | <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; width: calc(97% - 5px); min-width: 280px;"> | ||
{{#invoke: AbilityData|get_info_main|{{{ | {{#invoke: AbilityData|get_info_main|{{{hero_key}}}|{{{ability_num}}}|{{{info_section_num}}}}} | ||
</div> | </div> | ||
<!-- Alt Info --> | <!-- Alt Info --> | ||
<div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; background-color: #2A2A2A; width: calc(97% - 19px); min-width: 267px; padding: 0 4px 0 4px; column-gap: 15px"> | <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; background-color: #2A2A2A; width: calc(97% - 19px); min-width: 267px; padding: 0 4px 0 4px; column-gap: 15px"> | ||
{{#invoke: AbilityData|get_info_alt|{{{ | {{#invoke: AbilityData|get_info_alt|{{{hero_key}}}|{{{ability_num}}}|{{{info_section_num}}}}} | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> |
Revision as of 02:26, 12 October 2024
Script error: The function "get_ability_card" does not exist.