Test1: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
}} |
}} |
||
== |
== MAPS == |
||
<mapframe text="<translate nowrap>Map of [[wikipedia:London|London]]</translate>" latitude="51.505" longitude="-0.126" zoom="8" width="300" height="300" align="left"> |
|||
=== Displaying maps is done with the #display_map parser function. === |
|||
{ |
|||
#display_map:center=Brandenburg Gate, Berlin, Germany |
|||
"type": "FeatureCollection", |
|||
{{#display_map:center=Brandenburg Gate, Berlin, Germany}} |
|||
"features": [ |
|||
===Leaflet maps can be customized using various parameters.=== |
|||
{ |
|||
#display_map:center=Berlin|width=400|height=250 |
|||
"type": "Feature", |
|||
{{#display_map:center=Berlin|width=400|height=250}} |
|||
"properties": { |
|||
===Markers=== |
|||
"title": "[[wikipedia:London|London]] is the capital of [[wikipedia:United Kingdom|United Kingdom]]", |
|||
#display_map:Brandenburg Gate, Berlin, Germany |
|||
"description": "[[File:Houses_of_Parliament.jpg|Houses of Parliament|280px]]", |
|||
{{#display_map:Brandenburg Gate, Berlin, Germany}} |
|||
"marker-symbol": "town-hall", |
|||
=== multiple locations by separating them with semicolons.=== |
|||
"marker-size": "large", |
|||
#display_map:Berlin; Brussel; 40° 42' 46.02" N, 74° 0' 21.39" W |
|||
"marker-color": "f00" |
|||
{{#display_map:Berlin; Brussel; 40° 42' 46.02" N, 74° 0' 21.39" W}} |
|||
}, |
|||
===You can customize the markers per location.=== |
|||
"geometry": { |
|||
{{#display_map: |
|||
"type": "Point", |
|||
Berlin~The city Berlin~Berlin is a really nice city and there is plenty of Club Mate~Red-marker.png; |
|||
"coordinates": [ |
|||
Amsterdam~The city Amsterdam~Amsterdam is the capital of The Netherlands~Green-marker.png |
|||
-0.1226806780323386, |
|||
}} |
|||
51.515268213580114 |
|||
] |
|||
{{#display_map: |
|||
} |
|||
Wien ~ Austria ~ Majestix ~ Red-marker.png; |
|||
} |
|||
Braunau ~ Austria ~ Weichei ~ Green-marker.png; |
|||
] |
|||
Nantes ~ France ~ Ladyfr ~ Green-marker.png; |
|||
}</mapframe> |
|||
}} |
|||
<br style="clear: both;" clear="all" /> |
|||
Latest revision as of 11:54, 2 June 2026
testtitel
{{{content}}}
title=defaulttitel
defaulttitel
{{{content}}}
MAPS
Displaying maps is done with the #display_map parser function.
- display_map:center=Brandenburg Gate, Berlin, Germany
Leaflet maps can be customized using various parameters.
- display_map:center=Berlin|width=400|height=250
Markers
- display_map:Brandenburg Gate, Berlin, Germany
multiple locations by separating them with semicolons.
- display_map:Berlin; Brussel; 40° 42' 46.02" N, 74° 0' 21.39" W