Hello,
I've got this query to show a map of subobjects:
{{#ask: [[Belongs to::{{PAGENAME}}]] |[[Coordinates::+]] |?Coordinates |?Name |?Adresse |?Online |?Typ | template=Popup Maps | showtitle=off | format=leaflet | icon=Map marker icon – Nicolas Mollet – Library – Stores – classic.png | cluster=yes | clustermaxradius=8 }}
which works fine. I want to make use of the same thing with compound subqueries.
{{#compound_query:
[[Belongs to::{{PAGENAME}}]]
[[Coordinates::+]]
; format=leaflet
; ?Coordinates
; ?Name
|
[[Belongs to::{{PAGENAME}}]]
[[Coordinates::+]]
[[Typ::Krankenhaus]]
; format=leaflet
; icon=Hospital_symbol_FLC.svg
; ?Coordinates
| template=Popup Maps
| showtitle=off
| cluster=yes
| clustermaxradius=8
}}
does not work as it does not return a map but a table of results. As soon as I add another attribute except for the coordinates like "Name" above which I'd like to show using the template things don't work. I couldn't find a clue yet. Maybe someone can help.
Thanks!