Difference between revisions of "Template:SkillTableEntry"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Seraii
>LikableBrute
 
(44 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
| [[File:{{{Icon|}}}.png|80px|link={{{Name|}}}]]
+
| [[File:{{{Icon|}}}.png|80px|link={{{PageName|}}}]]
| style="text-align:center;" | [[{{{Name|}}}]]
+
| style="text-align:center;" | [[{{{PageName|}}}|{{{Name|}}}]]
 
| style="text-align:center;" | {{{Sp|?}}}
 
| style="text-align:center;" | {{{Sp|?}}}
 
| style="text-align:center;" | {{{IFrameDuration|?}}}
 
| style="text-align:center;" | {{{IFrameDuration|?}}}
 +
| {{#ifeq:{{{IsAffectedByTension|0}}} | 0| {{No}} | {{Yes}} }}
 
| {{{Lv1|}}}
 
| {{{Lv1|}}}
 
| {{{Lv2|}}}
 
| {{{Lv2|}}}
| {{#ifeq: {{{Hide|}}} | 1 | - | {{{Lv3|}}} }}
+
| {{#ifeq: {{{Hide|}}} | 3 | {{{Lv3|}}} | {{#ifeq: {{{Hide|}}} | 4 | {{{Lv3|}}} | - }} }}
| {{#cargo_query:tables=Adventurers|fields=_pageName|where=Skill1Name="{{{Name|{{PAGENAME}}}}}" OR Skill2Name="{{{Name|{{PAGENAME}}}}}"|format=ul|group by=_pageName|default=}}
+
| {{#ifeq: {{{Hide|}}} | 4 | {{{Lv4|}}} | - }}
| {{#cargo_query:tables=Weapons|fields=_pageName|where=SkillName="{{{Name|{{PAGENAME}}}}}"|format=ul|group by=_pageName|default=}}
+
| {{#cargo_query:tables=Adventurers|fields=CONCAT('[[File:',Id,' 0',VariationId,' r0',Rarity,'.png|24px|link=',_pageName,']] [[',_pageName,'|',Name,']]')|where=Skill1Name="{{{Name|{{PAGENAME}}}}}" OR Skill2Name="{{{Name|{{PAGENAME}}}}}"|format=ul|group by=_pageName|default=|order by=ElementalTypeId ASC, WeaponTypeId ASC, Rarity DESC, Id DESC, FullName ASC}}
| {{#cargo_query:tables=Dragons|fields=_pageName|where=SkillName="{{{Name|{{PAGENAME}}}}}"|format=ul|group by=_pageName|default=}}
+
| {{#cargo_query:tables=Weapons|fields=CONCAT('[[File:',BaseId,' 0',VariationId,' ',FormId,'.png|24px|link=',_pageName,']] [[',_pageName,'|',WeaponName,']]')|where=SkillName="{{{Name|{{PAGENAME}}}}}"|format=ul|group by=_pageName|default=|order by= ElementalTypeId ASC, TypeId ASC, Rarity DESC, Id DESC, WeaponName ASC}}
 +
| {{#cargo_query:tables=Dragons|fields=CONCAT('[[File:',BaseId,' 0',VariationId,'.png|24px|link=',_pageName,']] [[',_pageName,'|',FullName,']]')|where=SkillName="{{{Name|{{PAGENAME}}}}}"|format=ul|group by=_pageName|default=|order by=ElementalTypeId ASC, Rarity DESC, Id DESC, FullName ASC}}
 
|-
 
|-
</includeonly>
+
</includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 21:55, 6 January 2020