Difference between revisions of "Template:FeaturedDragonTableEntry"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
(Created page with "<includeonly>{{#vardefine:Group|{{#len:{{#cargo_query:tables=Abilities|fields=GenericName|where=Id={{{Abilities11|-}}}|default=|no html}}}}}} |- class="character-grid-entry gr...")
>Caledor92
(Fixes issue with Dragons that share part of the name (eg the Sirens) to be treated as the same unit, like in the Featured dragons table (Siren was listed as featured in this dragon special, PSS in the splash of adventure one))
 
(4 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
| <div>{{{Rarity|}}} {{InlineIcon|Icon Rarity|{{{Rarity|}}}}}</div>
 
| <div>{{{Rarity|}}} {{InlineIcon|Icon Rarity|{{{Rarity|}}}}}</div>
 
| <div style="width:80px;display:inline-block;text-align:left">{{InlineIcon|Icon Element|{{{Element|}}}}} {{{Element|}}}</div>
 
| <div style="width:80px;display:inline-block;text-align:left">{{InlineIcon|Icon Element|{{{Element|}}}}} {{{Element|}}}</div>
| {{{MaxHp|}}}
+
| <div style="text-align:left">{{#cargo_query:tables=SummonShowcase|fields=_pageName|where=Dragons HOLDS LIKE "{{{Name|}}}"|format=ul|group by=_pageName|default=}}</div>
| {{{MaxAtk|}}}
 
| style="text-align:left;" |{{SkillTooltip|{{{SkillName|}}}}}
 
| style="text-align:left;" |{{Icon|Ability|{{#cargo_query:tables=Abilities|fields=Name|where=Id={{{Abilities11|}}}|default=|limit=1|no html|more results text=}}|size=24px}} '''Lv. 1''': {{Tooltip|{{#cargo_query:tables=Abilities|fields=_pageName|where=Id={{{Abilities11|-}}}|default=-|format=list}}|{{#cargo_query:tables=Abilities|fields=Details|where=Id={{{Abilities11|-}}}|default=-|format=list}}}}<br/>
 
{{Icon|Ability|{{#cargo_query:tables=Abilities|fields=Name|where=Id={{{Abilities12|}}}|default=|limit=1|no html|more results text=}}|size=24px}} '''Lv. 2''': {{Tooltip|{{#cargo_query:tables=Abilities|fields=_pageName|where=Id={{{Abilities12|-}}}|default=-|format=list}}|{{#cargo_query:tables=Abilities|fields=Details|where=Id={{{Abilities12|-}}}|default=-|format=list}}}}
 
| style="text-align:left;" |{{Icon|Ability|{{#cargo_query:tables=Abilities|fields=Name|where=Id={{{Abilities21|}}}|default=|limit=1|no html|more results text=}}|size=24px}} '''Lv. 1''': {{Tooltip|{{#cargo_query:tables=Abilities|fields=_pageName|where=Id={{{Abilities21|-}}}|default=-|format=list}}|{{#cargo_query:tables=Abilities|fields=Details|where=Id={{{Abilities21|-}}}|default=-|format=list}}}}<br/>
 
{{Icon|Ability|{{#cargo_query:tables=Abilities|fields=Name|where=Id={{{Abilities22|}}}|default=|limit=1|no html|more results text=}}|size=24px}} '''Lv. 2''': {{Tooltip|{{#cargo_query:tables=Abilities|fields=_pageName|where=Id={{{Abilities22|-}}}|default=-|format=list}}|{{#cargo_query:tables=Abilities|fields=Details|where=Id={{{Abilities22|-}}}|default=-|format=list}}}}
 
| data-sort-value="{{#time:Ymd|{{{ReleaseDate|}}}}}" | {{#time: M d, Y | {{{ReleaseDate|}}} }}
 
 
|-</includeonly><noinclude>[[Category:Templates]]</noinclude>
 
|-</includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 18:01, 13 October 2019