Difference between revisions of "Template:MobileSkillTableEntry"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Caledor92
>Caledor92
(display actual name instead of pagename)
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
| {{{Lv2|}}}
 
| {{{Lv2|}}}
 
| {{#ifeq: {{{Hide|}}} | 1 | - | {{{Lv3|}}} }}
 
| {{#ifeq: {{{Hide|}}} | 1 | - | {{{Lv3|}}} }}
| {{#cargo_query:tables=Adventurers|fields=_pageName|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=Adventurers|fields=CONCAT('[[',_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=Weapons|fields=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=Weapons|fields=CONCAT('[[',_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=_pageName|where=SkillName="{{{Name|{{PAGENAME}}}}}"|format=ul|group by=_pageName|default=|order by=ElementalTypeId ASC, Rarity DESC, Id DESC, FullName ASC}}
+
| {{#cargo_query:tables=Dragons|fields=CONCAT('[[',_pageName,'|',FullName,']]')|where=SkillName="{{{Name|{{PAGENAME}}}}}"|format=ul|group by=_pageName|default=|order by=ElementalTypeId ASC, Rarity DESC, Id DESC, FullName ASC}}
 
|-
 
|-
 
</includeonly><noinclude>[[Category:Templates]]</noinclude>
 
</includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 19:25, 6 November 2019