Difference between revisions of "User:Eave/Sandbox"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
>Eave
Line 14: Line 14:
  
  
== Additional Art Table ==
+
== Enemy Names ==
<pre><!-- Example only
+
{{#cargo_query:tables=EnemiesTest,EnemyPageLinks
Caption can be an optional label if the art comes with one, or if there is a logical title for it. It would be used to caption the images where they are used on Misc pages.
+
|join on=EnemiesTest.Name=EnemyPageLinks.Name
 
+
|where=MissionType="Ciella's Wrath: Expert"
{{#cargo_declare:_table=Art
+
|fields=CONCAT('[[', EnemyPageLinks._pageName, '|', EnemiesTest.Name, ']]')=Name, CONCAT('{{InlineIcon|Icon Element|', EnemiesTest.ElementalType,'}}')=Element, EnemiesTest.Tribe=Class, EnemiesTest.HP, EnemiesTest.Atk=Str, EnemiesTest.Def
|Caption=String
+
|group by=EnemiesTest.MonsterId
|ReleaseDate=Date
+
|order by=EnemiesTest.HP DESC,EnemiesTest.Name
|FeaturedCharacters=List (,) of Wikitext
 
|SourceLink=URL
 
 
}}
 
}}
 
+
{{#cargo_query:tables=EnemiesTest,EnemyPageLinks
{{#cargo_store:_table=Art
+
|join on=EnemiesTest.Name=EnemyPageLinks.Name
|Caption={{{Caption|}}}
+
|where=MissionType="Ciella's Wrath: Expert"
|ReleaseDate={{#time:F d, Y|{{{ReleaseDate|}}}}}
+
|fields=IF(EnemyPageLinks._pageName, CONCAT('[[', EnemyPageLinks._pageName, '|', EnemiesTest.Name, ']]'), EnemiesTest.Name)=Name, CONCAT('{{InlineIcon|Icon Element|', EnemiesTest.ElementalType, '}}')=Element, EnemiesTest.Tribe=Class, EnemiesTest.HP, EnemiesTest.Atk=Str, EnemiesTest.Def
|FeaturedCharacters={{{FeaturedCharacter|}}}
+
|group by=EnemiesTest.MonsterId
|SourceLink={{{SourceLink|}}}
+
|order by=EnemiesTest.HP DESC,EnemiesTest.Name
 
}}
 
}}
--></pre>
 
  
== Bad Thumbnails ==
+
== Bad Mobile Thumbnails ==
 
[[File:110009 01 r05 portrait.png|150px]]
 
[[File:110009 01 r05 portrait.png|150px]]
 
[[File:110274 01 r05 portrait.png|150px]]
 
[[File:110274 01 r05 portrait.png|150px]]
 
[[File:110260_01_r05_portrait.png|150px]]
 
[[File:110260_01_r05_portrait.png|150px]]

Revision as of 23:49, 24 June 2020

Boolean {{#if}} proof of concept using IsAffectedByTension

Void Volley (Should be TRUE)

Query result:

Error: Table Skills not found.

IF: TRUE

Abyssal Connection (Should be FALSE)

Query result:

Error: Table Skills not found.

IF: TRUE


Enemy Names

Error: Table EnemiesTest not found.
Error: Table EnemiesTest not found.

Bad Mobile Thumbnails

110009 01 r05 portrait.png 110274 01 r05 portrait.png 110260 01 r05 portrait.png