Difference between revisions of "User:Chu2038/Sandbox"
Jump to navigation
Jump to search
>Chu2038 |
>Chu2038 |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
| [[File:Icon Skill Share.png|18px|link=]]{{{EditSkillCost|}}} | | [[File:Icon Skill Share.png|18px|link=]]{{{EditSkillCost|}}} | ||
| {{#switch:{{{EditSkillLevelNum|}}} | 1 = {{ #vardefine:SharedSkill|{{{Skill1Name|}}} }} | 2 = {{ #vardefine:SharedSkill|{{{Skill2Name|}}} }} | }} | | {{#switch:{{{EditSkillLevelNum|}}} | 1 = {{ #vardefine:SharedSkill|{{{Skill1Name|}}} }} | 2 = {{ #vardefine:SharedSkill|{{{Skill2Name|}}} }} | }} | ||
| − | + | {{#invoke:CargoQuery|main | |
| − | |||
|q?tables=Skills | |q?tables=Skills | ||
|q?fields=_pageName=Link,Name,SkillLv1IconName,SpEdit,SpLv2Edit,SpLv3Edit,SpLv4Edit,Description1,Description2,Description3,Description4,MaxSkillLevel | |q?fields=_pageName=Link,Name,SkillLv1IconName,SpEdit,SpLv2Edit,SpLv3Edit,SpLv4Edit,Description1,Description2,Description3,Description4,MaxSkillLevel | ||
| − | |q?where=Name="{{ | + | |q?where=Name="{{#var:SharedSkill}}" |
| − | |template=vardefine}} | + | |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> | </includeonly> | ||
| Line 27: | Line 37: | ||
|- | |- | ||
! style="width:10%" | Icon | ! style="width:10%" | Icon | ||
| − | ! style="width: | + | ! style="width:5%" | Name |
| − | ! style="width: | + | ! style="width:5%" | Cost |
| − | ! style="width: | + | ! style="width:15%" | Shareable Skill |
| + | ! style="width:5%" | SP | ||
| + | ! Description | ||
{{#invoke:CargoQuery|main | {{#invoke:CargoQuery|main | ||
|q?tables=Adventurers | |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?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() | + | |q?where=IsPlayable!=0 AND ReleaseDate <= NOW() AND EditSkillLevelNum>0 |
|template=User:Chu2038/Sandbox | |template=User:Chu2038/Sandbox | ||
|q?groupBy=_pageName | |q?groupBy=_pageName | ||
Latest revision as of 12:19, 25 May 2020
| Icon | Name | Cost | Shareable Skill | SP | Description
Lua error: Error: Table Adventurers not found..
|
|---|