Difference between revisions of "Template:Skill"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Caledor92
>Caledor92
Line 68: Line 68:
 
<div class="skill-levels skill-details" style="flex-grow:1;text-align:center">
 
<div class="skill-levels skill-details" style="flex-grow:1;text-align:center">
 
<p style="width:300px;margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Description</p>
 
<p style="width:300px;margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Description</p>
{{#if:{{{HideLevel3|}}} | {{#tag:tabber|
+
{{#tag:tabber|
 
Lv1=
 
Lv1=
 
<div style="flex-grow:1;text-align:center">
 
<div style="flex-grow:1;text-align:center">
Line 81: Line 81:
 
</div>
 
</div>
  
{{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{SpLv2|{{{Sp|}}}}}} }}
+
{{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{SpLv2|{{{Sp|}}}}}} }}<!--
}} | {{#tag:tabber|
 
Lv1=
 
<div style="flex-grow:1;text-align:center">
 
<div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{Description1|No details yet.}}}</div>
 
</div>
 
  
{{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{Sp|}}} }}
+
{{#ifexpr:{{{MaxSkillLevel|}}} <= 3 |  
{{!}}-{{!}}
 
Lv2=
 
<div style="flex-grow:1;text-align:center">
 
<div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{Description2|No details yet.}}}</div>
 
</div>
 
 
 
{{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{SpLv2|{{{Sp|}}}}}} }}
 
 
{{!}}-{{!}}
 
{{!}}-{{!}}
 
Lv3=
 
Lv3=
 
<div style="flex-grow:1;text-align:center">
 
<div style="flex-grow:1;text-align:center">
 
<div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{Description3|No details yet.}}}</div>
 
<div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{Description3|No details yet.}}}</div>
</div><!--
+
</div>
  
-->{{#if:{{{Description4|}}}
+
{{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{SpLv2|{{{Sp|}}}}}} }}<!--
| {{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{SpLv2|{{{Sp|}}}}}} }}
+
{{#ifexpr:{{{MaxSkillLevel|}}} <= 4 |
 
{{!}}-{{!}}
 
{{!}}-{{!}}
 
Lv4=
 
Lv4=
 
<div style="flex-grow:1;text-align:center">
 
<div style="flex-grow:1;text-align:center">
 
<div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{Description4|No details yet.}}}</div>
 
<div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{Description4|No details yet.}}}</div>
</div>}}
+
</div>
  
{{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{Sp|{{{Sp|}}}}}} }}
+
{{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{Sp|{{{Sp|}}}} }} }} }} }} }}
}}
 
}}
 
 
{{#if:{{{SpRegen|}}} | {{TermDescription|{{Tooltip|SP Regen|Amount of SP recovered per second}}|{{{SpRegen|}}} }} }}
 
{{#if:{{{SpRegen|}}} | {{TermDescription|{{Tooltip|SP Regen|Amount of SP recovered per second}}|{{{SpRegen|}}} }} }}
 
{{TermDescription|{{Tooltip|Camera Duration|After casting a skill, Camera Duration is the amount of time the camera zooms in on the user during the skill animation.}}|{{#iferror: {{#expr:{{{ZoominTime|0}}} + {{{Zoom2Time|0}}} + {{{ZoomWaitTime|0}}} }} | ? | {{#expr:{{{ZoominTime|0}}} + {{{Zoom2Time|0}}} + {{{ZoomWaitTime|0}}} }} second(s) }} }}
 
{{TermDescription|{{Tooltip|Camera Duration|After casting a skill, Camera Duration is the amount of time the camera zooms in on the user during the skill animation.}}|{{#iferror: {{#expr:{{{ZoominTime|0}}} + {{{Zoom2Time|0}}} + {{{ZoomWaitTime|0}}} }} | ? | {{#expr:{{{ZoominTime|0}}} + {{{Zoom2Time|0}}} + {{{ZoomWaitTime|0}}} }} second(s) }} }}

Revision as of 08:57, 6 January 2020

50px Documentation

Usage

{{Skill
|SkillId=
|Name={{PAGENAME}}
|SkillType=
|SkillLv1IconName=
|SkillLv2IconName=
|SkillLv3IconName=
|SkillLv4IconName=
|Description1=
|Description2=
|Description3=
|Description4=
|HideLevel3= (DEPRECATED AND REMOVED)
|MaxSkillLevel=Integer (USE THIS INSTEAD)
|Sp=
|SpLv2=
|SpLv3=
|SpLv4=
|SpEdit=
|SpLv2Edit=
|SpLv3Edit=
|SpLv4Edit=
|SpDragon=
|SpLv2Dragon=
|SpLv3Dragon=
|SpLv4Dragon=
|SpRegen=
|IsAffectedByTension=
|ZoominTime=
|Zoom2Time=
|ZoomWaitTime=
|CrisisModifier= (leave blank if none)
|MaxAmmo= (leave blank if none)
|AmmoUsage= (leave blank if none)
}}

This template defines the table "Skills". This table has not been created yet.