Template:PicsFromLocation
From artserver wiki
Ask query template to be included in Property:Location value pages.
Query consists of:
- Sub-query: what subjects have the Property:Location with the value PAGENAME -
- result: Property:Dive Site values
- The Dive Site values (subpquery results) are used to query File page with each Dive Site value
==Dive Sites at Location== {{#ask: [[Location::{{PAGENAME}}]] |format=list |limit=50 |offset=0 |link=all |sep=, }} ==Pictures at Location== {{#ask: [[File:+]][[Dive Site::<q>[[Location::{{PAGENAME}}]]</q>]] |?Dive Site |?Species |?Date |format=broadtable |limit=50 |offset=0 |link=all |sort=Date |order=asc |headers=show |searchlabel=... further results |class=sortable wikitable smwtable }}