Difference between revisions of "Template:Skill"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
m (handle cases where lv4 isn't filled in yet)
>Eave
(add affordance for checking 2nd dragon skill)
Line 150: Line 150:
  
 
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Dragons with this skill</p>
 
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Dragons with this skill</p>
{{#cargo_query:tables=Dragons|fields=CONCAT('[[File:',BaseId,' 0',VariationId,'.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=SkillName="{{{Name|{{PAGENAME}}}}}"|format=ul|group by=_pageName|default=
+
{{#cargo_query:tables=Dragons|fields=CONCAT('[[File:',BaseId,' 0',VariationId,'.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=SkillName="{{{Name|{{PAGENAME}}}}}" OR Skill2Id="{{{SkillId|}}}"|format=ul|group by=_pageName|default=
 
:''There are no dragons with this skill.''|order by= ElementalTypeId ASC, Rarity DESC, Id DESC, FullName ASC}}
 
:''There are no dragons with this skill.''|order by= ElementalTypeId ASC, Rarity DESC, Id DESC, FullName ASC}}
  

Revision as of 23:46, 26 April 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.