Difference between revisions of "Template:Skill"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Teg
imported>Elaeagnifolia
Line 41: Line 41:
  
 
// Template Display Content
 
// Template Display Content
-->{| class="wikitable" style="text-align:center;"
+
--><div class="panel" style="margin:auto;max-width:800px">
! Description
+
<div class="panel-heading">{{{Name|{{PAGENAME}}}}}</div>
|-
+
<div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center">
| style="text-align:left; padding:1em;" | {{{Description1|}}}
+
<div style="width:350px;text-align:center">{{#ifexist: File:{{{SkillLv1IconName|}}}.png | [[File:{{{SkillLv1IconName|}}}.png]] | [[File:Unknown.png]] }}</div>
|}[[Category:Skills]]</includeonly>
+
<div 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">Descriptions</p>
 +
{{#tag:tabber|
 +
Lv. 1=
 +
<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>
 +
{{!}}-{{!}}
 +
Lv. 2=
 +
<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>
 +
{{!}}-{{!}}
 +
Lv. 3=
 +
<div style="flex-grow:1;text-align:center">
 +
<div style="width:300px;margin:15px auto;font-style:italic;font-size:.9em;">{{Tooltip|{{{Description3|No details yet.}}}|Some Level 3 skills may not be available in-game yet.}}</div>
 +
</div>
 +
}}
 +
{{TermDescription|SP Cost|{{{Sp|}}} }}
 +
</div>
 +
</div>
 +
<div style="padding:1em;">
 +
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Adventurers With This Skill</p>
 +
{{#cargo_query:tables=Adventurers|fields=_pageName|where=SkillName1="{{{Name|{{PAGENAME}}}}}" OR SkillName2="{{{Name|{{PAGENAME}}}}}"|format=ul|default=
 +
:* There are no adventurers with this skill.}}
 +
 
 +
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Weapons With This Skill</p>
 +
{{#cargo_query:tables=Weapons|fields=_pageName|where=SkillName="{{{Name|{{PAGENAME}}}}}"|format=ul|default=
 +
:* There are no weapons with this skill.}}
 +
 
 +
<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=_pageName|where=SkillName="{{{Name|{{PAGENAME}}}}}"|format=ul|default=
 +
:* There are no dragons with this skill.}}
 +
 
 +
[[Category:Skills]]</includeonly>

Revision as of 13:51, 1 October 2018

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.