Difference between revisions of "User:Eave/Sandbox"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
>Eave
m
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
== Filter Icons ==
 +
{{CharacterListFilter}}
 +
<div style="text-align:center">
 +
{{#widget:TestWidget}}
 +
</div>
 +
 
== Boolean {{#if}} proof of concept using IsAffectedByTension ==
 
== Boolean {{#if}} proof of concept using IsAffectedByTension ==
  
Line 14: Line 20:
  
  
== Event compendium ==
+
== Icons ==
{{#cargo_query:tables=Events
+
{{#vardefine:1|Icon Element Wind.png}}
  |where=_pageName LIKE '%Event Compendium%'
+
{{#vardefine:2|Icon Element Flame.png}}
  |format=ul
+
{{#vardefine:size|19}}
 +
{{#vardefine:halfSize|{{#expr:{{#var:size}} / 2}}}}
 +
<span style="display:inline-flex">
 +
<span style="overflow:hidden;margin-right:-{{#var:halfSize}}px">[[File:{{#var:1}}|{{#var:size}}px|middle|link=]]</span>
 +
<span style="overflow:hidden;margin-right:-{{#var:halfSize}}px"><span style="position:relative;left:-{{#var:halfSize}}px">[[File:{{#var:2}}|{{#var:size}}px|middle|link=]]</span></span>
 +
</span> Volk
 +
 
 +
== Bad Mobile Thumbnails ==
 +
[[File:110009 01 r05 portrait.png|150px]]
 +
[[File:110274 01 r05 portrait.png|150px]]
 +
[[File:110260_01_r05_portrait.png|150px]]
 +
 
 +
 
 +
== Weird Cargo Query issue ==
 +
Happens when the WHERE clause mentions a List column name, but as the comparison value for a different field
 +
 
 +
Working:
 +
{{#cargo_query:tables=SummonShowcase
 +
|where=Title="5★ A\dventurer Platinum Showcase (Dec 2019)"
 +
|fields=Image,BannerTopImage,Title,Type,MaxSummons,StartDate,EndDate,Adventurer,Dragons,Wyrmprints,Video
 +
|orderBy=StartDate DESC
 +
|default=''There are currently no ongoing summon showcases.''
 +
}}
 +
 
 +
Not working:
 +
{{#cargo_query:tables=SummonShowcase
 +
|where=Title="5★ Adventurer Platinum Showcase (Dec 2019)"
 +
|fields=Image,BannerTopImage,Title,Type,MaxSummons,StartDate,EndDate,Adventurer,Dragons,Wyrmprints,Video
 +
|orderBy=StartDate DESC
 +
|default=''There are currently no ongoing summon showcases.''
 
}}
 
}}

Latest revision as of 06:40, 24 July 2020

Filter Icons

Affliction Resistance

">
">
">
">
">
">
">