Difference between revisions of "Template:AbilityDisplayTab"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Yvsdrop
m (add paragraph)
>Eave
m (update styling)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#vardefine:header|{{AbilityDisplayHeader|icon={{{Icon|}}}|name={{{Name|}}}|event={{{Event|0}}}}}}}<div class="ability-header">
{{doc/start}}
+
{{#var:header}}
Template for displaying a single level tab's contents under the [[:Template:AbilityDisplay|AbilityDisplay]] table.
+
</div><div class="ability-header spacer">
==Example==
+
{{#var:header}}
<pre>{{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
 
|Event=
 
}}</pre>
 
{{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
 
}}
 
[[Category:Templates]]
 
</noinclude><includeonly><div class="ability-header">
 
{{AbilityDisplayHeader|icon={{{Icon|}}}|name={{{Name|}}}|event={{{Event|0}}}}}
 
 
</div>
 
</div>
 
+
<p>{{{Details|}}} (<span style="color:#777;">Might</span>: {{{Might|}}})</p></includeonly>
{{{Details|}}} (<span style="color:#777;">Might</span>: {{{Might|}}})</includeonly>
 

Latest revision as of 06:29, 15 April 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..