Data:Sample:Test: Difference between revisions

From Desynced Wiki
(Add ordering example)
No edit summary
Line 1: Line 1:
{{#cargo_query:
{{#cargo_query:
tables=entity
tables=entity
|fields=internal_sockets,small_sockets,medium_sockets,large_sockets,types1,name,CONCAT( '[[File:', name, '.png|64x64px|link=', name, ']]') = Image
|fields=name,CONCAT( '[[File:', name, '.png|64x64px|link=', name, ']]')=Image,internal_sockets=I,small_sockets=S,medium_sockets=M,large_sockets=L,types1=Type,
|order by=large_sockets DESC,medium_sockets DESC,small_sockets DESC, internal_sockets DESC,types1
|order by=large_sockets DESC,medium_sockets DESC,small_sockets DESC, internal_sockets DESC,types1
|format=dynamic table
}}
{{#cargo_query:
tables=entity
|fields=internal_sockets,count(*)=Num Entities
|group by=internal_sockets
|order by=count(*) DESC
|format=pie chart
|height=500px
|width=500px
}}
}}

Revision as of 08:43, 13 August 2023

Error: No field named "internal_sockets" found for any of the specified database tables.


Error: No field named "internal_sockets" found for any of the specified database tables.