Template:SmallMap
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m (switching to openlayers) |
||
(11 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | [[Has coordinates::{{{ | + | [[Has coordinates::{{{coordinates|}}}|]] |
− | {{#if:{{{ | + | {{#if:{{{coordinates|}}}| |
+ | {{#display_point: | ||
+ | {{{coordinates}}} | ||
+ | | service=openlayers | ||
+ | | zoom=10 | ||
+ | | height=250 | ||
+ | | width=250 | ||
+ | | controls=small | ||
+ | | label={{{label|}}} | ||
+ | | title={{{title|}}} | ||
+ | }} | ||
+ | }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
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 | + | [http://www.mediawiki.org/wiki/Semantic_Maps#Usage SemanticMap Usage] & [http://www.mediawiki.org/wiki/Extension:Maps#Usage Maps usage] |
</noinclude> | </noinclude> |
Latest revision as of 23:11, 12 June 2011
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) }}