Wikibase/Maps TemplateData

Example of TemplateData skeleton
Below, a barebone example of templateData that shows you how the 'maps' key fits in with the rest of the templateData. 'maps' values correspond to the name of the service being used, in this case 'wikidata.'. The values in the wikidata object must be valid 'params' (i.e. in this case, 'foo' - aliases are not allowed); 'maps' keys, i.e. 'bar' here, correspond to keys coming from the wikidata service.

Example
This is a full example of a template and maps for wikidata.

Template:

Template data (maps part):

Available fields and field structure
A complete list of fields are defined in wikidata:Special:ListProperties