Difference between revisions of "Template:Skill"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Caledor92
>Boblers
(making Lv2 hidable if MaxLevel is lower than 2 (in the case of Mega Man's skills). Adding Ammo and AmmoUsage tooltips where applicable)
Line 74: Line 74:
 
</div>
 
</div>
  
{{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{Sp|}}} }}
+
{{TermDescription|{{Tooltip|SP Cost|Amount a skill needs to be charged before the skill can be cast.}}|{{{Sp|}}} }}<!--
{{!}}-{{!}}
+
 
 +
-->{{#ifexpr:{{{MaxSkillLevel|}}} >= 2 | {{!}}-{{!}}
 
Lv2=
 
Lv2=
 
<div style="flex-grow:1;text-align:center">
 
<div style="flex-grow:1;text-align:center">
Line 101: Line 102:
 
{{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|}}}}}} }} }} }} }}
 
{{#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|}}} }} }}
 +
{{#if:{{{Ammo|}}} | {{TermDescription|{{Tooltip|Ammo|Maximum Ammo that can be held at a time}}|{{{Ammo|}}} }} }}
 +
{{#if:{{{AmmoUsage|}}} | {{TermDescription|{{Tooltip|Ammo Usage|Ammo expended per use of this skill}}|{{{AmmoUsage|}}} }} }}
 
{{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) }} }}
 
{{TermDescription|{{Tooltip|Affected by Energized|Stacks 50% additively with other Attack Skills and Recovery Potency boost modifiers. Resets on use or being afflicted.}}|{{#switch:{{{IsAffectedByTension|}}}|1=Yes|0=No|Unknown}} }}
 
{{TermDescription|{{Tooltip|Affected by Energized|Stacks 50% additively with other Attack Skills and Recovery Potency boost modifiers. Resets on use or being afflicted.}}|{{#switch:{{{IsAffectedByTension|}}}|1=Yes|0=No|Unknown}} }}

Revision as of 19:51, 16 February 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.