Maps/Geocode

The Maps extension supports geocoding at all places where you can specify a location. You can access this functionality directly using the  parser function, which gives you the coordinates for the address you provide to it.

Usecases
You can use  inline with some text or in an infobox.

The Brandenburg Gate is in Berlin at

Result: The Brandenburg Gate is in Berlin at

Another common use case is to store coordinates in SMW using the coordinate data type, so they can be queried.

Has coordinates::

Basic syntax
Result:

Specifying the output coordinate format
Result:

Result:

Passing along coordinates
This is to show that if you have a dynamic value that can be either an address or a set of coordinates, you can safely pass it to the  parser function. If you want to convert coordinates into a different format, it is better to use the  parser function.

Result: