Difference between revisions of "Template:FeaturedWyrmprintTableEntry"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
(Created page with "{{WyrmprintListHeader}} {{WyrmprintListFilter}} <div class="table-wrapper"> {| class="wikitable sortable" style="width:100%" |- ! width:5% | Icon ! width:15% | Name ! width...")
>Mornsta-gpuser
 
Line 1: Line 1:
{{WyrmprintListHeader}}
+
<includeonly>|- class="character-grid-entry grid-entry" data-rarity="{{{Rarity|}}}" data-ability-filter="{{#cargo_query:tables=Abilities|fields=CONCAT(AbilityGroup,'-',AbilityIconName)|where=Id='{{{Abilities11|-}}}' OR Id='{{{Abilities21|-}}}' OR Id='{{{Abilities31|-}}}'|default=|no html}}" style="text-align:center"
{{WyrmprintListFilter}}
+
| [[File:{{{InternalId|}}} 01.png|80px|link={{{Name|}}}|alt={{{Name|}}} Icon]]
 
+
| [[{{{Name|}}}]]
 
+
| <div>{{{Rarity|}}} {{InlineIcon|Icon Rarity|{{{Rarity|}}}}}</div>
<div class="table-wrapper">
+
| <div style="text-align:left">{{#cargo_query:tables=SummonShowcase|fields=_pageName|where=Wyrmprints HOLDS LIKE "%{{{Name|}}}%"|format=ul|group by=_pageName|default=}}</div>
{| class="wikitable sortable" style="width:100%"
+
|-</includeonly><noinclude>[[Category:Templates]]</noinclude>
|-
 
! width:5% | Icon
 
! width:15% | Name  
 
! width:5% | Rarity  
 
! width:5% | HP
 
! width:5% | Str
 
! width:25% | Ability 1
 
! width:25% | Ability 2
 
! width:20% | Ability 3
 
! Release Date
 
{{#invoke:CargoQuery|main
 
|q?tables=Wyrmprints
 
|q?fields=BaseId=InternalId,_pageName=Name,Rarity,MaxHp,MaxAtk,Abilities11,Abilities12,Abilities21,Abilities22,Abilities31,Abilities32,ReleaseDate
 
|q?where=ReleaseDate <= NOW()
 
|template=WyrmprintTableEntry
 
|q?groupBy=_pageName
 
|q?orderBy= Rarity DESC, ReleaseDate DESC, BaseId DESC
 
|q?limit=999
 
}}
 
|}
 
</div>
 

Latest revision as of 15:13, 25 February 2019