Template:SmallMap
From syn2cat - HackerSpace.lu
(Difference between revisions)
m (Just a test) |
m (switching to openlayers) |
||
(8 intermediate revisions by one user not shown) | |||
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 |
+ | | label={{{label|}}} | ||
+ | | title={{{title|}}} | ||
}} | }} | ||
}} | }} | ||
Line 15: | Line 17: | ||
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) }}