Template:Query map/doc

Usage
Uses data from Wikidata to create a map of certain items in a particular geographical area. The parameters are:
 * class: (required) the qid of the class of item to display, e.g. for lighthouses it is Q39715
 * location or country: (required) the administrative area to display, e.g. for Cornwall it is Q22338583
 * zoom: (optional) the zoom level of the map. If not specified then it will use from the location, if available, otherwise it will default to level 6 (for locations) or 4 (for countries).
 * caption: (optional) caption to display underneath the map. If not specified then a default caption in the form Map of s in  will be used.

Example
A map of lighthouses in Cornwall: produces the map shown.