Template:SmallMap
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | [[Has coordinates::{{{ | + | [[Has coordinates::{{{coordinates|}}}|]] |
− | {{#if:{{{ | + | {{#if:{{{coordinates|}}}| |
{{#display_point: | {{#display_point: | ||
− | + | {{{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> | ||
− | {{ | + | {{SmallMap |
− | | | + | | 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) }}