Difference between revisions of "User:Chu2038/Sandbox"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Chu2038
>Chu2038
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable sortable" style="margin:2em auto 0"
+
<includeonly>
|-
+
    |- class="character-grid-entry grid-entry" data-class="{{{Type|}}}" data-element="{{{Element|}}}" data-weapon="{{{Weapon|}}}" data-rarity="{{{Rarity|}}}" style="text-align:center"
! Adventurer
+
    | [[File:{{{InternalId|}}} 0{{{VariationId|}}} r0{{{Rarity|}}}.png|80px|link={{{Link|}}}]]
! Co-Ability
+
    | [[{{{Link|}}}|{{{Name|}}}]]
! Chain Co-Ability
+
    | [[File:Icon Skill Share.png|18px|link=]]{{{EditSkillCost|}}}
{{#invoke:CoAbility|AdventurerTableEntries}}
+
    | {{#switch:{{{EditSkillLevelNum|}}} | 1 = {{ #vardefine:SharedSkill|{{{Skill1Name|}}} }} | 2 = {{ #vardefine:SharedSkill|{{{Skill2Name|}}} }} | }}
|}
+
    {{#invoke:CargoQuery|main
</div>
+
        |q?tables=Skills
</div>
+
        |q?fields=_pageName=Link,Name,SkillLv1IconName,SpEdit,SpLv2Edit,SpLv3Edit,SpLv4Edit,Description1,Description2,Description3,Description4,MaxSkillLevel
 +
        |q?where=Name="{{#var:SharedSkill}}"
 +
    |template=vardefine}}<p>[[File:{{#var:SkillLv1IconName}}.png|25px|link={{#var:Link}}]] [[{{#var:Link}}|{{#var:Name}}]]</p>
 +
    | {{#var:SpLv4Edit}}
 +
    | {{tab/start|default={{#var:MaxSkillLevel}}}}
 +
    {{tab/header|Lv1}}
 +
    <p>{{#var:Description1}}</p>
 +
    <!--
 +
    -->{{#ifexpr: {{#var:MaxSkillLevel}}>=2 |
 +
    <nowiki />
 +
    {{tab/header|Lv2}}
 +
    <p>{{#var:Description2}}</p>
 +
    <!--
 +
    -->{{#ifexpr: {{#var:MaxSkillLevel}}>=3 |
 +
    <nowiki />
 +
    {{tab/header|Lv3}}
 +
    <p>{{#var:Description3}}</p>
 +
    <!--
 +
    -->{{#ifexpr: {{#var:MaxSkillLevel}}>=4 |
 +
    <nowiki />
 +
    {{tab/header|Lv4}}
 +
    <p>{{#var:Description4}}</p> }} }} }}
 +
    {{tab/end}}
 +
    |-
 +
</includeonly>
 +
<noinclude>
 +
    <div class="table-wrapper">
 +
        {| class="wikitable sortable" style="width:100%"
 +
        |-
 +
        ! style="width:10%" | Icon
 +
        ! style="width:5%" | Name
 +
        ! style="width:5%" | Cost
 +
        ! style="width:15%" | Shareable Skill
 +
        ! style="width:5%" | SP
 +
        ! Description
 +
        {{#invoke:CargoQuery|main
 +
    |q?tables=Adventurers
 +
    |q?fields=_pageName=Link,FullName=Name,ElementalType=Element,Title,WeaponType=Weapon,Rarity,Availability,Id=InternalId,CharaType=Type,VariationId,ReleaseDate,Skill1Name,Skill2Name,EditSkillLevelNum,EditSkillCost
 +
    |q?where=IsPlayable!=0 AND ReleaseDate <= NOW() AND EditSkillLevelNum>0
 +
    |template=User:Chu2038/Sandbox
 +
    |q?groupBy=_pageName
 +
    |q?limit=999
 +
    |q?orderBy= ElementalTypeId ASC, WeaponTypeId ASC, Rarity DESC, IdLong DESC, FullName ASC
 +
    }}
 +
        |}
 +
    </div>
 +
</noinclude>

Latest revision as of 12:19, 25 May 2020


Icon Name Cost Shareable Skill SP Description
       Lua error: Error: Table Adventurers not found..