Difference between revisions of "Template:AbilityDisplayTab"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Caledor92
>Yvsdrop
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><div class="ability-header">
+
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#vardefine:header|{{AbilityDisplayHeader|icon={{{Icon|}}}|name={{{Name|}}}|event={{{Event|0}}}}}}}<div class="ability-header">
{{AbilityDisplayHeader|icon={{{Icon|}}}|name={{{Name|}}}|event={{{Event|0}}}}}
+
{{#var:header}}
 +
</div><div class="ability-header-spacer">
 +
{{#var:header}}
 
</div>
 
</div>
 
<p>{{{Details|}}} (<span style="color:#777;">Might</span>: {{{Might|}}})</p></includeonly>
 
<p>{{{Details|}}} (<span style="color:#777;">Might</span>: {{{Might|}}})</p></includeonly>

Revision as of 11:04, 15 January 2020

50px Documentation

Template for displaying a single level tab's contents under the AbilityDisplay table.

Example

<div class="ability-table" style="padding-top:40px">
<div style="padding:12px 12px 6px;border:1px solid skyblue;border-top:none;">
{{tab/start|default=}}
{{tab/header|Lv1}}

{{AbilityDisplayTab
|Name=Howling Meteor
|Icon=Icon_Skill_003
|Details=Deals 10 hits of 46% and 1 hit of 203% flame damage to enemies directly ahead. Movement is possible during the attack.
|Might=50
}}

{{tab/end}}
</div>
</div>
Lv1

Deals 10 hits of 46% and 1 hit of 203% flame damage to enemies directly ahead. Movement is possible during the attack. (Might: 50)

Long Names Test

{{AbilityDisplay|Lv1=584|Lv2=585|Lv3=609}}
Lv1
   Lua error: Error: Table Abilities not found..
Lv2
     Lua error: Error: Table Abilities not found..
Lv3
     Lua error: Error: Table Abilities not found..