Template:Ability card v2/Card/test: Difference between revisions
Jump to navigation
Jump to search
Created page with "<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;"> <!-- HEADER --> <div style="width: 100%"> <div style="display:flex; flex-direction:row; justif..." |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 27: | Line 27: | ||
<!-- INFO SECTIONS --> | <!-- INFO SECTIONS --> | ||
<div style="margin: 5px 10px 10px 10px; padding: 8px 0 8px 0; width: calc(100% - 18px);"> | <div style="margin: 5px 10px 10px 10px; padding: 8px 0 8px 0; width: calc(100% - 18px);"> | ||
{{#invoke: AbilityData|get_all_info_sections|{{{ | {{#invoke: AbilityData/test|get_all_info_sections|{{{hero_key}}}|{{{ability_num}}}}} | ||
</div> | </div> | ||
<!-- UPGRADES --> | <!-- UPGRADES --> | ||
<div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 10px; justify-content: center; width: calc(97% - 16px); min-width: 280px;> | <div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 10px; justify-content: center; width: calc(97% - 16px); min-width: 280px;> | ||
{{#invoke: AbilityData|get_upgrades|{{{ | {{#invoke: AbilityData/test|get_upgrades|{{{hero_key}}}|{{{ability_num}}}}} | ||
</div> | </div> | ||
<!-- NOTES --> | <!-- NOTES --> | ||
Line 43: | Line 43: | ||
</div>}} | </div>}} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
<code><nowiki>Eg. {{#invoke:AbilityData|get_ability_card|<hero_name>|<ability_number>|<link_on_name>|<notes>}} | <code><nowiki>Eg. {{#invoke:AbilityData/test|get_ability_card|<hero_name>|<ability_number>|<link_on_name>|<notes>}} | ||
</nowiki></code> | </nowiki></code> | ||
{{#invoke:AbilityData|get_ability_card|Abrams|3|false}} | {{#invoke:AbilityData/test|get_ability_card|Abrams|3|false}} | ||
</noinclude> | </noinclude> |