Template:SmallMap

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
[[Has coordinates::{{{Coordinates|}}}|]]
+
[[Has coordinates::{{{coordinates|}}}|]]
{{#if:{{{Coordinates|}}}|
+
{{#if:{{{coordinates|}}}|
 
{{#display_point:
 
{{#display_point:
service=googlemaps
+
{{{coordinates}}}
|{{{Coordinates}}}
+
| service=openlayers
|zoom=10
+
| zoom=10
|height=250
+
| height=250
|width=250
+
| width=250
|controls=small
+
| controls=small
 +
| layers=google,osm
 +
| label={{{label}}}
 +
| title={{{title}}}
 
}}
 
}}
 
}}
 
}}
Line 15: Line 18:
 
Use this template to include small maps into your pages
 
Use this template to include small maps into your pages
 
<pre>
 
<pre>
{{Location
+
{{SmallMap
| Coordinates=50.85137811° N, 5.690781176° E
+
| coordinates=50.85137811° N, 5.690781176° E
 +
| label = <give your marker a label> (optional)
 +
| title = <Describe where you're pointing at> (optional)
 
}}
 
}}
 
</pre>
 
</pre>
 
[http://www.mediawiki.org/wiki/Semantic_Maps#Usage SemanticMap Usage] & [http://www.mediawiki.org/wiki/Extension:Maps#Usage Maps usage]
 
[http://www.mediawiki.org/wiki/Semantic_Maps#Usage SemanticMap Usage] & [http://www.mediawiki.org/wiki/Extension:Maps#Usage Maps usage]
 
</noinclude>
 
</noinclude>

Revision as of 14:23, 18 September 2009


Use this template to include small maps into your pages

{{SmallMap
| coordinates=50.85137811° N, 5.690781176° E
| label = <give your marker a label> (optional)
| title = <Describe where you're pointing at> (optional)
}}

SemanticMap Usage & Maps usage

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools