Template:Ability card v2/Card: Difference between revisions
Jump to navigation
Jump to search
m 100% width |
m Migrated to Abilities/card module |
||
Line 27: | Line 27: | ||
<!-- INFO SECTIONS --> | <!-- INFO SECTIONS --> | ||
<div style="margin: 5px 10px 0px 10px; padding: 3px 0 5px 0; width: calc(100% - 18px);"> | <div style="margin: 5px 10px 0px 10px; padding: 3px 0 5px 0; width: calc(100% - 18px);"> | ||
{{#invoke: | {{#invoke: Abilities/card|get_all_info_sections|{{{hero_key}}}|{{{ability_num}}}}} | ||
</div> | </div> | ||
<!-- UPGRADES --> | <!-- UPGRADES --> | ||
<div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 5px; justify-content: center; width: calc(97% - 16px); min-width: 280px;> | <div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 5px; justify-content: center; width: calc(97% - 16px); min-width: 280px;> | ||
{{#invoke: | {{#invoke: Abilities/card|get_upgrades|{{{hero_key}}}|{{{ability_num}}}}} | ||
</div> | </div> | ||
<!-- NOTES --> | <!-- NOTES --> | ||
Line 50: | Line 50: | ||
</div>}} | </div>}} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
<code><nowiki>Eg. {{#invoke: | <code><nowiki>Eg. {{#invoke:Abilities/card|get_ability_card|<hero_name>|<ability_number>|<link_on_name>|<notes>}} | ||
</nowiki></code> | </nowiki></code> | ||
{{#invoke: | {{#invoke:Abilities/card|get_ability_card|Abrams|3|false}} | ||
</noinclude> | </noinclude> |