Semantic Maps examples/Using templates (queries)

Using templates with the Maps extension works a bit different compared to "usual" SemanticMediaWiki templates. In usual templates the parameter  usually represents the page title. In templates used with Maps  represents the property that comes after the   property. See the second example for an example.

If one wants to printout the page title within the template one can use. To print out the coordinates one can use  and.

First example
Adding a link to maps.google.com by using a template. See template "Google Maps Link".

Second example
Custom formatting of the queried properties using the template and showtitle parameters. See used template "Location Popup".

In this example the property  can be printed out in the template with. The property  can be printed out in the template with.