Difference between revisions of "User:Eave/Sandbox"
Jump to navigation
Jump to search
">
">
">
">
">
">
>Eave (Created page with "== If Exist Images Test == {{#vardefine:imagePrefix|110261 01}} <div>File:{{#ifexist: File:{{#var:imagePrefix}} r03 portrait.png | 110261 01 r03 portrait.png | Unknown.png{...") |
>Eave m |
||
| (63 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 == |
| − | |||
| − | {{#vardefine: | + | === Void Volley (Should be TRUE) === |
| − | < | + | |
| + | Query result: {{#cargo_query:tables=Skills|fields=IsAffectedByTension|where=Name="Void Volley" AND IsAffectedByTension|default=|no html}} | ||
| + | |||
| + | IF: {{#if: {{#cargo_query:tables=Skills|fields=IsAffectedByTension|where=Name="Void Volley" AND IsAffectedByTension|default=|no html}} | TRUE | FALSE }} | ||
| + | |||
| + | === Abyssal Connection (Should be FALSE) === | ||
| + | |||
| + | Query result: {{#cargo_query:tables=Skills|fields=IsAffectedByTension|where=Name="Abyssal Connection" AND IsAffectedByTension|default=|no html}} | ||
| + | |||
| + | IF: {{#if: {{#cargo_query:tables=Skills|fields=IsAffectedByTension|where=Name="Abyssal Connection" AND IsAffectedByTension|default=|no html}} | TRUE | FALSE }} | ||
| + | |||
| + | |||
| + | == Icons == | ||
| + | {{#vardefine:1|Icon Element Wind.png}} | ||
| + | {{#vardefine:2|Icon Element Flame.png}} | ||
| + | {{#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
">