Difference between revisions of "Template:TL"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Discoomastar
>Caledor92
(removing _pagename=name)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>Tier list grid icon [[Category:Templates]]</noinclude><includeonly>{{#css:
+
<noinclude>Tier list grid icon [[Category:Templates]]</noinclude><includeonly><div class="TierListBox"><!--
 
 
.TierListBox {
 
display:inline-block;
 
}
 
 
 
@media screen and (min-width: 1000px) {
 
.TierListBox img {
 
width: 60px;
 
height: auto;
 
}
 
}
 
 
 
@media screen and (min-width: 400px) and (max-width: 999px) {
 
.TierListBox img {
 
width: 70px;
 
height: auto;
 
}
 
}
 
 
 
@media screen and (max-width: 399px) {
 
.TierListBox img {
 
width: 50px;
 
height: auto;
 
}
 
}
 
 
 
}}<div class="TierListBox"><!--
 
 
-->{{#invoke:CargoQuery|main
 
-->{{#invoke:CargoQuery|main
 
|q?tables=Adventurers
 
|q?tables=Adventurers
 
|q?fields=_pageName=Name,Id=InternalId,VariationId,Rarity
 
|q?fields=_pageName=Name,Id=InternalId,VariationId,Rarity
|q?where=_pageName="{{{1|{{{Name|}}}}}}"
+
|q?where=FullName="{{{1|{{{Name|}}}}}}"
 
|q?groupBy=_pageName
 
|q?groupBy=_pageName
 
|template=TierListGridEntryDisplay
 
|template=TierListGridEntryDisplay
 
|q?limit=1
 
|q?limit=1
 
|more results text=
 
|more results text=
 +
|default=?
 
}}</div>[[Category:Tier List]]</includeonly>
 
}}</div>[[Category:Tier List]]</includeonly>

Latest revision as of 12:17, 29 January 2020

Tier list grid icon