Difference between revisions of "Template:SkillDisplay"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
(adding fields for shareability)
>Chu2038
 
(10 intermediate revisions by 2 users not shown)
Line 23: Line 23:
 
<div class="skill-display-header spacer">{{#var:header}}</div>
 
<div class="skill-display-header spacer">{{#var:header}}</div>
 
<div style="border:1px solid skyblue;border-top:none;text-align:center;padding:12px 12px 6px">
 
<div style="border:1px solid skyblue;border-top:none;text-align:center;padding:12px 12px 6px">
{{#ifeq:{{{Shareable|}}} | 1 | <div style="background:#0645ad;color:white;font-size:13px;line-height:2;margin:-12px 0 6px">Shareable (Cost: {{{ShareCost|}}})</div> }}
+
{{#ifeq:{{{Shareable|}}} | 1 | <div style="border-bottom:1px solid skyblue;font-size:13px;line-height:2;margin:-12px 0 6px">Shareable [[File:Icon Skill Share.png|18px|link=]]{{{ShareCost|}}}</div> }}
 
{{tab/start|default={{{MaxSkillLevel|}}}}}
 
{{tab/start|default={{{MaxSkillLevel|}}}}}
 
{{tab/header|Lv1}}
 
{{tab/header|Lv1}}
Line 37: Line 37:
 
<div class="skill-display-header">[[File:{{{SkillLv2IconName|}}}.png|30px|link={{{PageName|}}}]] {{#var:skillPageLink}}</div>
 
<div class="skill-display-header">[[File:{{{SkillLv2IconName|}}}.png|30px|link={{{PageName|}}}]] {{#var:skillPageLink}}</div>
 
<div style="display:inline-block; padding:3px; width: 95%"><!--
 
<div style="display:inline-block; padding:3px; width: 95%"><!--
   --><span style="color:#777;">SP Cost</span>: {{{SpLv2|}}}}<!--
+
   --><span style="color:#777;">SP Cost</span>: {{{SpLv2|}}}<!--
 
   -->{{#ifeq:{{{Shareable|}}} | 1 | <br><span style="color:#777;">Shared SP Cost</span>: {{{SpLv2Edit|}}} }}
 
   -->{{#ifeq:{{{Shareable|}}} | 1 | <br><span style="color:#777;">Shared SP Cost</span>: {{{SpLv2Edit|}}} }}
 
</div>{{#var:optionalStats}}
 
</div>{{#var:optionalStats}}

Latest revision as of 08:58, 25 May 2020

50px Documentation

Usage

{{SkillDisplayEntry|Name=Crystalline Blades}}

Lua error: Error: Table Skills not found..

Shareable

{{SkillDisplayEntry|Name=Elder Cure|Shareable=1|ShareCost=3}}

Lua error: Error: Table Skills not found..

Skill Icon Changes Between Levels

{{SkillDisplayEntry|Name=Guardian's Fury}}

Lua error: Error: Table Skills not found..

Particularly Long Name

{{SkillDisplayEntry|Name=All-Encompassing Darkness (Lathna)}}

Lua error: Error: Table Skills not found..