CINXE.COM
Quelltext der Seite Modul:Mapframe – Reiseführer auf Wikivoyage
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available" lang="de" dir="ltr"> <head> <meta charset="UTF-8"> <title>Quelltext der Seite Modul:Mapframe – Reiseführer auf Wikivoyage</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available";var cookie=document.cookie.match(/(?:^|; )dewikivoyagemwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"b6a288d7-9ee8-4799-b874-f4d708a1f64b","wgCanonicalNamespace":"Module","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":828,"wgPageName":"Modul:Mapframe","wgTitle":"Mapframe","wgCurRevisionId":1594994,"wgRevisionId":0,"wgArticleId":86253,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"Scribunto","wgRelevantPageName":"Modul:Mapframe","wgRelevantArticleId":86253,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["autoconfirmed"],"wgRestrictionMove":["autoconfirmed"],"wgNoticeProject":"wikivoyage","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor": {"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgCodeEditorCurrentLanguage":"lua","wgRelatedArticlesCompat":[],"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.codeEditor.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.charinsert.styles":"ready","ext.wikimediamessages.styles":"ready", "ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.codeEditor","ext.scribunto.edit","mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.charinsert","ext.gadget.CommonsDirekt","ext.gadget.Wdsearch","ext.gadget.Edittools","ext.gadget.ListingInfo","ext.gadget.MapTools","ext.gadget.MarkerTooltip","ext.gadget.MarkerUtilities","ext.gadget.Poi2gpx","ext.gadget.ScrollGallery","ext.gadget.TabsSelection","ext.gadget.Upload","ext.urlShortener.toolbar","ext.centralauth.centralautologin","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=de&modules=ext.charinsert.styles%7Cext.codeEditor.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=de&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=de&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.5"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Quelltext der Seite Modul:Mapframe – Reiseführer auf Wikivoyage"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//de.m.wikivoyage.org/wiki/Modul:Mapframe"> <link rel="icon" href="/static/favicon/wikivoyage.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikivoyage (de)"> <link rel="EditURI" type="application/rsd+xml" href="//de.wikivoyage.org/w/api.php?action=rsd"> <link rel="canonical" href="https://de.wikivoyage.org/wiki/Modul:Mapframe"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.de"> <link rel="alternate" type="application/atom+xml" title="Atom-Feed für „Wikivoyage“" href="/w/index.php?title=Spezial:Letzte_%C3%84nderungen&feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="codeeditor-loading skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-828 ns-subject page-Modul_Mapframe rootpage-Modul_Mapframe skin-vector-2022 action-edit"><a class="mw-jump-link" href="#bodyContent">Zum Inhalt springen</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Website"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Hauptmenü" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Hauptmenü</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Hauptmenü</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">In die Seitenleiste verschieben</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">Verbergen</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage" class="mw-list-item"><a href="/wiki/Hauptseite" title="Hauptseite anzeigen [z]" accesskey="z"><span>Hauptseite</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikivoyage:%C3%9Cber_uns"><span>Über Wikivoyage</span></a></li><li id="n-Wikivoyage-Lounge" class="mw-list-item"><a href="/wiki/Wikivoyage:Lounge"><span>Wikivoyage-Lounge</span></a></li><li id="n-Was-gibt-es-in-der-Nähe?" class="mw-list-item"><a href="/wiki/Spezial:In_der_N%C3%A4he"><span>Was gibt es in der Nähe?</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Spezial:Zuf%C3%A4llige_Seite" title="Zufällige Seite aufrufen [x]" accesskey="x"><span>Zufällige Seite</span></a></li> </ul> </div> </div> <div id="p-Mitmachen" class="vector-menu mw-portlet mw-portlet-Mitmachen" > <div class="vector-menu-heading"> Mitmachen </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-Erste-Schritte" class="mw-list-item"><a href="/wiki/Hilfe:Neu_bei_Wikivoyage"><span>Erste Schritte</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Hilfe:Portal" title="Hilfeseite anzeigen"><span>Hilfe</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikivoyage:Autorenportal" title="Über das Projekt, was du tun kannst, wo was zu finden ist"><span>Autorenportal</span></a></li><li id="n-Projektseiten" class="mw-list-item"><a href="/wiki/Wikivoyage:Index"><span>Projektseiten</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Spezial:Letzte_%C3%84nderungen" title="Liste der letzten Änderungen in diesem Wiki [r]" accesskey="r"><span>Letzte Änderungen</span></a></li><li id="n-Wie-du-Wikivoyage-helfen-kannst" class="mw-list-item"><a href="/wiki/Wikivoyage:Wie_du_Wikivoyage_helfen_kannst"><span>Wie du Wikivoyage helfen kannst</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Hauptseite" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikivoyage.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikivoyage" src="/static/images/mobile/copyright/wikivoyage-wordmark-en.svg" style="width: 7.5em; height: 1.5625em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Spezial:Suche" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Wikivoyage durchsuchen [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Suche</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Wikivoyage durchsuchen" aria-label="Wikivoyage durchsuchen" autocapitalize="sentences" title="Wikivoyage durchsuchen [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Spezial:Suche"> </div> <button class="cdx-button cdx-search-input__end-button">Suchen</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Meine Werkzeuge"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Erscheinungsbild"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Änderung des Aussehens der Schriftgröße, -breite und -farbe der Seite" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Erscheinungsbild" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Erscheinungsbild</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=de.wikivoyage.org&uselang=de" class=""><span>Spenden</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Spezial:Benutzerkonto_anlegen&returnto=Modul%3AMapframe&returntoquery=action%3Dedit" title="Wir ermutigen dich dazu, ein Benutzerkonto zu erstellen und dich anzumelden. Es ist jedoch nicht zwingend erforderlich." class=""><span>Benutzerkonto erstellen</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Spezial:Anmelden&returnto=Modul%3AMapframe&returntoquery=action%3Dedit" title="Sich anzumelden wird gerne gesehen, ist jedoch nicht zwingend erforderlich. [o]" accesskey="o" class=""><span>Anmelden</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Weitere Optionen" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Meine Werkzeuge" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Meine Werkzeuge</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Benutzermenü" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=de.wikivoyage.org&uselang=de"><span>Spenden</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Spezial:Benutzerkonto_anlegen&returnto=Modul%3AMapframe&returntoquery=action%3Dedit" title="Wir ermutigen dich dazu, ein Benutzerkonto zu erstellen und dich anzumelden. Es ist jedoch nicht zwingend erforderlich."><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Benutzerkonto erstellen</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Spezial:Anmelden&returnto=Modul%3AMapframe&returntoquery=action%3Dedit" title="Sich anzumelden wird gerne gesehen, ist jedoch nicht zwingend erforderlich. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Anmelden</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Seiten für abgemeldete Benutzer <a href="/wiki/Hilfe:Einf%C3%BChrung" aria-label="Erfahre mehr über das Bearbeiten"><span>Weitere Informationen</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Spezial:Meine_Beitr%C3%A4ge" title="Eine Liste der Bearbeitungen, die von dieser IP-Adresse gemacht wurden [y]" accesskey="y"><span>Beiträge</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Spezial:Meine_Diskussionsseite" title="Diskussion über Änderungen von dieser IP-Adresse [n]" accesskey="n"><span>Diskussionsseite</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Website"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <h1 id="firstHeading" class="firstHeading mw-first-heading">Quelltext der Seite Modul:Mapframe</h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Dieser Artikel existiert nur in dieser Sprache. Füge den Artikel für andere Sprachen hinzu" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-0" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">Sprachen hinzufügen</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namensräume"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-module" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Modul:Mapframe" title="Die Modulseite ansehen [c]" accesskey="c"><span>Modul</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Modul_Diskussion:Mapframe" rel="discussion" title="Diskussion zum Seiteninhalt [t]" accesskey="t"><span>Diskussion</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Sprachvariante ändern" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Ansichten"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="vector-tab-noicon mw-list-item"><a href="/wiki/Modul:Mapframe"><span>Lesen</span></a></li><li id="ca-viewsource" class="selected vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Modul:Mapframe&action=edit" title="Diese Seite ist geschützt. Ihr Quelltext kann dennoch angesehen und kopiert werden. [e]" accesskey="e"><span>Quelltext anzeigen</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Modul:Mapframe&action=history" title="Frühere Versionen dieser Seite [h]" accesskey="h"><span>Versionsgeschichte</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Seitenwerkzeuge"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Werkzeuge" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Werkzeuge</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Werkzeuge</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">In die Seitenleiste verschieben</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">Verbergen</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Weitere Optionen" > <div class="vector-menu-heading"> Aktionen </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="vector-more-collapsible-item mw-list-item"><a href="/wiki/Modul:Mapframe"><span>Lesen</span></a></li><li id="ca-more-viewsource" class="selected vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Modul:Mapframe&action=edit"><span>Quelltext anzeigen</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Modul:Mapframe&action=history"><span>Versionsgeschichte</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Allgemein </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Spezial:Linkliste/Modul:Mapframe" title="Liste aller Seiten, die hierher verlinken [j]" accesskey="j"><span>Links auf diese Seite</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Spezial:%C3%84nderungen_an_verlinkten_Seiten/Modul:Mapframe" rel="nofollow" title="Letzte Änderungen an Seiten, die von hier verlinkt sind [k]" accesskey="k"><span>Änderungen an verlinkten Seiten</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=de" title="Dateien hochladen [u]" accesskey="u"><span>Datei hochladen</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Spezial:Spezialseiten" title="Liste aller Spezialseiten [q]" accesskey="q"><span>Spezialseiten</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Modul:Mapframe&action=info" title="Weitere Informationen über diese Seite"><span>Seiteninformationen</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Spezial:URL-K%C3%BCrzung&url=https%3A%2F%2Fde.wikivoyage.org%2Fw%2Findex.php%3Ftitle%3DModul%3AMapframe%26action%3Dedit"><span>Gekürzte URL abrufen</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Spezial:QrCode&url=https%3A%2F%2Fde.wikivoyage.org%2Fw%2Findex.php%3Ftitle%3DModul%3AMapframe%26action%3Dedit"><span>QR-Code runterladen</span></a></li><li class="mw-list-item"><a href="/w/index.php?title=Modul:Mapframe&useparsoid=0"><span>Zum Legacy-Parser wechseln</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In anderen Projekten </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q52554979" title="Link zum verbundenen Objekt im Datenrepositorium [g]" accesskey="g"><span>Wikidata-Datenobjekt</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Seitenwerkzeuge"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Erscheinungsbild"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Erscheinungsbild</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">In die Seitenleiste verschieben</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">Verbergen</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> </div> <div id="contentSub"><div id="mw-content-subtitle">← <a href="/wiki/Modul:Mapframe" title="Modul:Mapframe">Modul:Mapframe</a></div></div> <div id="mw-content-text" class="mw-body-content"><p>Du bist aus den folgenden Gründen nicht berechtigt, die Seite zu bearbeiten: </p> <ul class="permissions-errors"><li class="mw-permissionerror-protectedpagetext">Diese Seite wurde geschützt, um Bearbeitungen sowie andere Aktionen zu verhindern.</li><li class="mw-permissionerror-globalblocking-blockedtext-range"><b>Deine IP-Adresse befindet sich in einem Bereich, der <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Global_blocks" class="extiw" title="m:Special:MyLanguage/Global blocks">in allen Wikimedia Foundation-Wikis</a> gesperrt ist.</b> Die Sperre wurde durchgeführt von <a href="/wiki/Benutzer:Jon_Kolbert" title="Benutzer:Jon Kolbert">Jon Kolbert</a>. Die angegebene Begründung ist <i><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/NOP" class="extiw" title="m:Special:MyLanguage/NOP">Open proxy/Webhost</a>: See the <a href="https://meta.wikimedia.org/wiki/WM:OP/H" class="extiw" title="m:WM:OP/H">help page</a> if you are affected </i>. <ul><li>Beginn der Sperre: 16:12, 27. Aug. 2023</li> <li>Ablauf der Sperre: 16:12, 27. Aug. 2028</li></ul> Deine aktuelle IP-Adresse ist 8.222.208.146. Der gesperrte Bereich ist 8.222.128.0/17. Bitte füge alle Informationen jeder Anfrage hinzu, die du stellst. Wenn du glaubst, dass die Sperre ein Fehler ist, kannst du zusätzliche Informationen und Hilfestellungen in der globalen Richtlinie „<a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/No_open_proxies" class="extiw" title="m:Special:MyLanguage/No open proxies">Keine offenen Proxys</a>“ finden. Anderenfalls stelle bitte <a href="https://meta.wikimedia.org/wiki/Steward_requests/Global" class="extiw" title="m:Steward requests/Global">eine Anfrage im Meta-Wiki</a>, um die Sperre zu diskutieren. Du kannst auch eine E-Mail an die <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards" class="extiw" title="m:Special:MyLanguage/Stewards">Steward</a>-<a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/VRT" class="extiw" title="m:Special:MyLanguage/VRT">VRT</a>-Queue per <kbd>stewards@wikimedia.org</kbd> inklusive aller obigen Details schicken.</li></ul><hr /> <p>Du kannst den Quelltext dieser Seite betrachten und kopieren. </p><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="en" dir="ltr" name="wpTextbox1">-- inserting a mapframe map -- This edition was made for the special needs of Wikivoyage. For a use at a -- Wikipedia please use https://en.wikipedia.org/wiki/Module:Mapframe -- documentation local Mapframe = { suite = 'Mapframe', serial = '2024-01-26', item = 52554979 } -- module import -- require( 'strict' ) local cd = require( 'Module:Coordinates' ) local mg = mw.loadData( 'Module:Marker utilities/Groups' ) local mi = require( 'Module:Mapshape utilities/i18n' ) local mp = require( 'Module:Mapframe/Params' ) local mu = require( 'Module:Mapshape utilities' ) local wu = require( 'Module:Wikidata utilities' ) local yn = require( 'Module:Yesno' ) -- module variable and administration local mf = { content = {}, entityId = nil, wikilang = nil, moduleInterface = Mapframe } -- return decimal coordinate if possible local function toDec( coord, dir ) if mu.isSet( coord ) then local t = cd.toDec( coord, dir, 6 ) if t.error == 0 then return t.dec end end return nil end -- split coordinates to latitude and longitude local function _parseCoords( coords ) local lat = nil local long = nil if not mu.isSet( coords ) then return nil, nil end coords = coords:upper() local count if not coords:find( '[,]' ) and coords:find( '[NS]' ) then coords, count = coords:gsub( '([NS])', '%1,' ) -- adding separator end local parts = mw.text.split( coords, ',', true ) if #parts == 2 or #parts == 3 then -- 3: including elevation lat = mw.text.trim( parts[ 1 ] ) long = mw.text.trim( parts[ 2 ] ) -- check for mask borders if lat:find( '36000', 1, true ) and long:find( '180', 1, true ) then lat = tonumber( lat ) long = tonumber( long ) else lat = toDec( lat, 'lat' ) long = toDec( long, 'long' ) end if not lat or not long then return nil, nil end end return lat, long end -- parse set of coordinates -- programmer of function: user Yurik (Yuri Astrakhan), see Modul:Map local function parseCoords( geoType, coords ) local geoTypes = { Point = { levels = 1, min = 1 }, MultiPoint = { levels = 1, min = 2 }, LineString = { levels = 1, min = 2 }, MultiLineString = { levels = 2, min = 2 }, Polygon = { levels = 2, min = 4 }, MultiPolygon = { levels = 3, min = 4 } } local levels = geoTypes[ geoType ].levels local min = geoTypes[ geoType ].min local results = {} for i = 1, levels, 1 do results[ i ] = {} end local gap = 0 local errors = '' local closeArrays = function( gap ) if #results[ levels ] < min then errors = errors .. mw.ustring.format( mi.mfMinValues, min ) .. ' ' elseif min == 1 and #results[ levels ] ~= 1 then -- Point errors = errors .. mi.mfExactlyOne .. ' ' end for i = levels, levels-gap+1, -1 do table.insert( results[ i-1 ], results[ i ] ) results[ i ] = {} end return 0 -- reset gap end local points = mw.text.split( coords, ';', true ) local lat, long, val for i = 1, #points, 1 do val = mw.text.trim( points[ i ] ) if val == '' then gap = gap + 1 if gap >= levels then errors = errors .. mi.mfTooManyLevels .. ' ' end else lat, long = _parseCoords( val ) if lat and long then if gap > 0 then gap = closeArrays( gap ) end table.insert( results[ levels ], { long, lat } ) else errors = errors .. mi.mfBadData .. ' ' end end end closeArrays( levels - 1 ) if errors == '' then return geoType == 'Point' and results[ 1 ][ 1 ] or results[ 1 ], errors else return nil, errors end end -- get individual coordinate from Wikidata local function getWdCoords( id ) if mu.isSet( id ) then local c = wu.getValue( id, 'P625' ) if c ~= '' then return c.latitude, c.longitude end end return nil, nil end -- preparing title and description for geoJSON object local function getTitle( title, description, image, firstId, ids, service ) local function geomaskTitle() if service == 'geomask' then title = mw.ustring.format( mi.geomask, title ) end end -- getting title if only one id if title == '' then title = nil end if mu.isSet( firstId ) and firstId == ids then title = mu.addLink( title or mu.getTitle( firstId ), firstId, mf.entityId, mf.wikiLang ) geomaskTitle() if not mu.isSet( description ) and not mu.isSet( image ) then image = mu.getImage( firstId ) end else title = title or mw.title.getCurrentTitle().subpageText geomaskTitle() end if not mu.isSet( description ) and mu.isSet( image ) then description = '[[File:' .. image .. '|100x100px]]' end return title, description end -- check for mapshapes Wikidata ids local function idMatch( only, exclude, id ) only = only or '' exclude = exclude or '' if only == '' and exclude == '' then return true end local function isIn( list ) local parts = mw.text.split( list, ',', true ) for i = 1, #parts, 1 do if mw.text.trim( id ) == mw.text.trim( parts[ i ] ) then return true end end return false end if only ~= '' then return isIn( only ) else return not isIn( exclude ) end end -- make GeoJSON object for tag call local function makeGeoJSON( args, argIndex ) local service = '' for key, value in pairs( mp.services ) do for key2, value2 in ipairs( value ) do if args.service == value2 then service = key break end end if service ~= '' then break end end if service == '' then return mi.mfNoService end local world = '36000,-180;36000,180;-36000,180;-36000,-180;36000,-180;;' local coordinates, description, errors, firstId, geojson, geoType, i, id local ids, image, lat, link, long, properties, rgb, stroke, title, values -- default title and description if service ~= 'page' then title = args.title description = args.description image = args.image end -- processing coordinate data instead of Wikidata IDs args.coord = mw.ustring.gsub( args.coord or '', ';*$', '' ) if mu.isSet( args.coord ) and service ~= 'page' and service ~= 'shapes' then if mu.isSet( args.wikidata ) then return mi.mfTogether end if service == 'point' then args.coord = mw.ustring.gsub( args.coord, ';;*', ';' ) if mw.ustring.find( args.coord, ';', 1, true ) then geoType = 'MultiPoint' else geoType = 'Point' end elseif service == 'geoline' then args.coord = mw.ustring.gsub( args.coord, ';;;*', ';;' ) if mw.ustring.find( args.coord, ';;', 1, true ) then geoType = 'MultiLineString' else geoType = 'LineString' end elseif service == 'geoshape' or service == 'geomask' then if service == 'geomask' then args.coord = world .. args.coord end args.coord = mw.ustring.gsub( args.coord, ';;;;*', ';;;' ) if mw.ustring.find( args.coord, ';;', 1, true ) then geoType = 'MultiPolygon' else geoType = 'Polygon' end end coordinates, errors = parseCoords( geoType, args.coord ) if not coordinates then return errors end title, description = getTitle( title, description, image, nil, nil, service ) if geoType == 'Point' or geoType == 'MultiPoint' then properties = { title = title, description = description, [ 'marker-symbol' ] = mu.getParameter( args.marker, nil ), [ 'marker-color' ] = mu.getParameter( args.markerColor, mi.defaultMarkerColor ) } else stroke = args.stroke or '' if stroke == '' then stroke = mi.defaultStroke end properties = { title = title, description = description, fill = mu.getParameter( args.fill, mi.defaultFill ), [ 'fill-opacity' ] = mu.getNumber( args.fillOpacity, mi.defaultFillOpacity ), stroke = stroke, [ 'stroke-width' ] = mu.getNumber( args.strokeWidth, mi.defaultStrokeWidth ), [ 'stroke-opacity' ] = mu.getNumber( args.strokeOpacity, mi.defaultStrokeOpacity ) } end geojson = { type = 'Feature', geometry = { type = geoType, coordinates = coordinates }, properties = properties } table.insert( mf.content, mw.text.jsonEncode( geojson ) ) return '' -- no errors end -- processing Wikidata and Wikimedia Commons data if service == 'shapes' and not mi.excludeOSM then -- in case of shapes multiple GeoJSON objects are returned if not mu.isSet( args.wikidata ) then return mi.mfNoWikidata end values = mu.getMapshapes( args.wikidata ) if #values == 0 then return mi.mfNoParts end args.defaultType = mu.getParameter( args.defaultType, 'geoline' ) stroke = args.stroke or '' if stroke == '' then stroke = args.defaultColor or '' end if stroke == '' then stroke = mi.defaultStroke end if not string.find( stroke, '#', 1, true ) then stroke = '#' .. stroke end for i = 1, #values, 1 do id = values[ i ].id if idMatch( args.only, args.exclude, id ) then title = mu.addLink( mw.wikibase.label( id ) or id, id, mf.entityId, mf.wikiLang ) description = mu.getImage( id ) if description == '' then description = nil -- else -- description = '[[File:' .. description .. '|141px]]' end rgb = mu.getColor( id ) if rgb == '' then rgb = stroke end geojson = { type = 'ExternalData', service = args.defaultType, ids = id, properties = { title = title, description = description, fill = mu.getParameter( args.fill, mi.defaultFill ), [ 'fill-opacity' ] = mu.getNumber( args.fillOpacity, mi.defaultFillOpacity ), stroke = rgb, [ 'stroke-width' ] = mu.getNumber( args.strokeWidth, mi.defaultShapesWidth ), [ 'stroke-opacity' ] = mu.getNumber( args.strokeOpacity, mi.defaultShapesOpacity ) } } -- collecting multiple geojson codes table.insert( mf.content, mw.text.jsonEncode( geojson ) ) end end return '' -- objects already inserted, no errors elseif service == 'page' then -- data from Wikimedia Commons if args.commons then geojson = { type = 'ExternalData', service = 'page', title = mw.ustring.gsub( args.commons, '[Dd]ata:', '' ) } else return mi.mfNoCommons end elseif service == 'point' then ids = mw.text.split( args.wikidata, ',', true ) coordinates = {} for i = 1, #ids, 1 do id = mw.text.trim( ids[ i ] ) if id ~= '' and mw.wikibase.isValidEntityId( id ) then lat, long = getWdCoords( id ) if lat and long then table.insert( coordinates, { long, lat } ) if #coordinates == 1 then title, description = getTitle( title, description, image, id, id, service ) end end end end if #coordinates == 0 then return mi.mfNoWdCoord end i = #coordinates == 1 geojson = { type = 'Feature', geometry = { type = i and 'Point' or 'MultiPoint', coordinates = i and coordinates[ 1 ] or coordinates }, properties = { title = title, description = description, [ 'marker-symbol' ] = mu.getParameter( args.marker, nil ), [ 'marker-color' ] = mu.getParameter( args.markerColor, mi.defaultMarkerColor ) } } -- geoline or geoshape/geomask elseif not mi.excludeOSM then if mu.isSet( args.wikidata ) then ids = args.wikidata else ids = mf.entityId end if not mu.isSet( ids ) then return mi.mfNoWikidata end -- getting first id firstId = mu.getFirstId( ids ) title, description = getTitle( title, description, image, firstId, ids, service ) -- getting color from first id stroke = args.stroke or '' if stroke == '' then stroke = mu.getColor( firstId ) if stroke == '' then stroke = mi.defaultStroke end end if service == 'geoshape' and argIndex > 0 then args.fill = mu.getParameter( args.fill, mi.defaultColors[ argIndex ] ) end geojson = { type = 'ExternalData', service = service, ids = ids, properties = { title = title, description = description, fill = mu.getParameter( args.fill, mi.defaultFill ), [ 'fill-opacity' ] = mu.getNumber( args.fillOpacity, mi.defaultFillOpacity ), stroke = stroke, [ 'stroke-width' ] = mu.getNumber( args.strokeWidth, mi.defaultStrokeWidth ), [ 'stroke-opacity' ] = mu.getNumber( args.strokeOpacity, mi.defaultStrokeOpacity ) } } end table.insert( mf.content, mw.text.jsonEncode( geojson ) ) return '' end -- processing multiple shape definitions local function makeTagContent( args ) local errors = '' local r = mu.getParameter( args.raw, nil ) if r then return r, false, errors end local err = false local commons, service, single, wikidata local function mergeArgs( indx ) service = args[ 'type' .. indx ] or '' commons = args[ 'page' .. indx ] or '' if commons ~= '' then service = 'page' end wikidata = args[ 'wikidata' .. indx ] or '' if service == '' and wikidata ~= '' then service = 'geomask' end end -- mapgroup parameters if args.groupWikidata ~= '' then single = { service = 'geomask', wikidata = args.groupWikidata, fill = args.fillMask } errors = errors .. makeGeoJSON( single, 0 ) end if args.highlightWikidata ~= '' then single = { service = 'geoshape', wikidata = args.highlightWikidata, fill = mu.getParameter( args.fill, mi.defaultHighlight ) } errors = errors .. makeGeoJSON( single, 0 ) end local argsIndex = '' mergeArgs( argsIndex ) while service ~= '' do -- remove index from args parameters and copy them to single single = { commons = commons, wikidata = wikidata, service = service } if commons ~= '' and wikidata ~= '' then err = true end for k, v in pairs( args ) do if v == '' then v = nil end if string.match( k, '^[%a%-]+' .. argsIndex .. '$' ) then single[ string.gsub( k, argsIndex, '' ) ] = v end end if argsIndex == '' then argsIndex = 1 end errors = errors .. makeGeoJSON( single, argsIndex ) argsIndex = argsIndex + 1 mergeArgs( argsIndex ) -- stop if there is no service anymore end if #mf.content == 0 then return nil, err, errors elseif #mf.content == 1 then return mf.content[ 1 ], err, errors else return '[' .. table.concat( mf.content, ',') .. ']', err, errors end end -- calling mapframe/maplink tag; addings shapes local function _mapframe( args, frame ) local tagArgs = {} mf.entityId = mw.wikibase.getEntityIdForCurrentPage() mf.wikiLang = mw.getContentLanguage():getCode() -- auto-center if tagArgs.latitude = nil or tagArgs.longitude = nil tagArgs.latitude = toDec( args.lat, 'lat' ) tagArgs.longitude = toDec( args.long, 'long' ) if not tagArgs.latitude or not tagArgs.longitude then if args.coords ~= '' then tagArgs.latitude, tagArgs.longitude = _parseCoords( args.coords ) else tagArgs.latitude = nil tagArgs.longitude = nil end end tagArgs.zoom = tonumber( args.zoom ) -- auto-zoom if tagArgs.zoom = nil if tagArgs.zoom then tagArgs.zoom = math.floor( tagArgs.zoom ) if tagArgs.zoom < 1 or tagArgs.zoom > mi.maxZoomLevel then tagArgs.zoom = nil end end if tagArgs.latitude and tagArgs.longitude and not tagArgs.zoom then tagArgs.zoom = mi.defaultZoom end if args.tagName == 'mapframe' then tagArgs.align = mu.getParameter( args.align, 'right' ) if args.width == 'full' then tagArgs.width = 'full' tagArgs.align = 'center' else tagArgs.width = mu.getSize( args.width, mi.defaultWidth ) + mi.borderAdjustment -- 2px: inside borders end tagArgs.height = mu.getSize( args.height, mi.defaultHeight ) end tagArgs.show = args.show if tagArgs.show ~= '' then if args.group ~= '' then tagArgs.group = args.group else if not tagArgs.show:find( ',' ) then tagArgs.group = tagArgs.show else tagArgs.group = mi.defaultGroup end end else tagArgs.show = mg.showAll tagArgs.group = mu.checkGroup( args.group ) end tagArgs.group = mu.translateGroup( tagArgs.group ) if not mw.ustring.find( tagArgs.show, tagArgs.group ) then tagArgs.show = tagArgs.show .. ',' .. tagArgs.group end if yn( args.plain, false ) then tagArgs.frameless = '1' else tagArgs.text = args.name if tagArgs.text == '' and args.tagName == 'mapframe' then tagArgs.text = string.format( mi.mapOf, mw.title.getCurrentTitle().subpageText ) end end tagArgs.class = args.class if args.tagName == 'maplink' then if tagArgs.class == '' and ( tagArgs.text == '' or tagArgs.text == '""' ) then -- Hide pushpin icon in front of an empty text link tagArgs.class = 'no-icon' end end local tagContent, err, errors = makeTagContent( args ) local result = frame:extensionTag( args.tagName, tagContent, tagArgs ) if err then result = result .. mi.mfTogether2 end if mu.isSet( errors ) then result = result .. '<span class="error">' .. errors .. '</span>' .. mi.mfErrorCateg end -- adding maintenance categories if mw.title.getCurrentTitle().namespace == 0 then if mi.usePropertyCategs then result = result .. wu.getCategories( mi.properties ) .. mu.getCategories( mi.properties ) end if tagContent then result = result .. mi.mfWithShapes end end return result end -- for Mapframe template function mf.mapframe( frame ) local args, errors = mu.checkParams( frame:getParent().args, mp.params, 'Mapframe', mi.mfUnknown ) args.tagName = 'mapframe' return _mapframe( args, frame ) .. errors end -- for Maplink template function mf.maplink( frame ) local args, errors = mu.checkParams( frame:getParent().args, mp.params, 'Mapframe', mi.mfUnknown ) local isMapframe = yn( args.frame, false ) -- wp compatibility if isMapframe then args.tagName = 'mapframe' else args.tagName = 'maplink' end return _mapframe( args, frame ) .. errors end return mf </textarea><div id="mw-scribunto-console"></div><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p>Folgende Vorlagen werden auf dieser Seite verwendet: </p></div><ul> <li><a href="/wiki/Vorlage:Ben%C3%B6tigt_Submodule" class="mw-redirect" title="Vorlage:Benötigt Submodule">Vorlage:Benötigt Submodule</a> (<a href="/w/index.php?title=Vorlage:Ben%C3%B6tigt_Submodule&action=edit" class="mw-redirect" title="Vorlage:Benötigt Submodule">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Ben%C3%B6tigt_andere_Module" title="Vorlage:Benötigt andere Module">Vorlage:Benötigt andere Module</a> (<a href="/w/index.php?title=Vorlage:Ben%C3%B6tigt_andere_Module&action=edit" title="Vorlage:Benötigt andere Module">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Box" title="Vorlage:Box">Vorlage:Box</a> (<a href="/w/index.php?title=Vorlage:Box&action=edit" title="Vorlage:Box">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Vorlage:Box/styles.css" title="Vorlage:Box/styles.css">Vorlage:Box/styles.css</a> (<a href="/w/index.php?title=Vorlage:Box/styles.css&action=edit" title="Vorlage:Box/styles.css">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:DU" class="mw-redirect" title="Vorlage:DU">Vorlage:DU</a> (<a href="/w/index.php?title=Vorlage:DU&action=edit" class="mw-redirect" title="Vorlage:DU">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Vorlage:Dokumentation" title="Vorlage:Dokumentation">Vorlage:Dokumentation</a> (<a href="/w/index.php?title=Vorlage:Dokumentation&action=edit" title="Vorlage:Dokumentation">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Vorlage:Dokumentation_Unterseite" title="Vorlage:Dokumentation Unterseite">Vorlage:Dokumentation Unterseite</a> (<a href="/w/index.php?title=Vorlage:Dokumentation_Unterseite&action=edit" title="Vorlage:Dokumentation Unterseite">Quelltext anzeigen</a>) schreibgeschützt (nur angemeldete, nicht neue Benutzer)</li><li><a href="/wiki/Vorlage:FIRSTBASEPAGENAME" title="Vorlage:FIRSTBASEPAGENAME">Vorlage:FIRSTBASEPAGENAME</a> (<a href="/w/index.php?title=Vorlage:FIRSTBASEPAGENAME&action=edit" title="Vorlage:FIRSTBASEPAGENAME">Quelltext anzeigen</a>) schreibgeschützt (nur angemeldete, nicht neue Benutzer)</li><li><a href="/wiki/Vorlage:FULLROOTPAGENAME" title="Vorlage:FULLROOTPAGENAME">Vorlage:FULLROOTPAGENAME</a> (<a href="/w/index.php?title=Vorlage:FULLROOTPAGENAME&action=edit" title="Vorlage:FULLROOTPAGENAME">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:High-use" title="Vorlage:High-use">Vorlage:High-use</a> (<a href="/w/index.php?title=Vorlage:High-use&action=edit" title="Vorlage:High-use">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Module_other" title="Vorlage:Module other">Vorlage:Module other</a> (<a href="/w/index.php?title=Vorlage:Module_other&action=edit" title="Vorlage:Module other">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Module_rating" title="Vorlage:Module rating">Vorlage:Module rating</a> (<a href="/w/index.php?title=Vorlage:Module_rating&action=edit" title="Vorlage:Module rating">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Modulversion" title="Vorlage:Modulversion">Vorlage:Modulversion</a> (<a href="/w/index.php?title=Vorlage:Modulversion&action=edit" title="Vorlage:Modulversion">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Namespace_detect" title="Vorlage:Namespace detect">Vorlage:Namespace detect</a> (<a href="/w/index.php?title=Vorlage:Namespace_detect&action=edit" title="Vorlage:Namespace detect">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Nowrap_begin" title="Vorlage:Nowrap begin">Vorlage:Nowrap begin</a> (<a href="/w/index.php?title=Vorlage:Nowrap_begin&action=edit" title="Vorlage:Nowrap begin">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Nowrap_end" title="Vorlage:Nowrap end">Vorlage:Nowrap end</a> (<a href="/w/index.php?title=Vorlage:Nowrap_end&action=edit" title="Vorlage:Nowrap end">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Ns_has_subpages" title="Vorlage:Ns has subpages">Vorlage:Ns has subpages</a> (<a href="/w/index.php?title=Vorlage:Ns_has_subpages&action=edit" title="Vorlage:Ns has subpages">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Ombox" title="Vorlage:Ombox">Vorlage:Ombox</a> (<a href="/w/index.php?title=Vorlage:Ombox&action=edit" title="Vorlage:Ombox">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Pagelist" title="Vorlage:Pagelist">Vorlage:Pagelist</a> (<a href="/w/index.php?title=Vorlage:Pagelist&action=edit" title="Vorlage:Pagelist">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Purge" title="Vorlage:Purge">Vorlage:Purge</a> (<a href="/w/index.php?title=Vorlage:Purge&action=edit" title="Vorlage:Purge">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Vorlage:Replace" title="Vorlage:Replace">Vorlage:Replace</a> (<a href="/w/index.php?title=Vorlage:Replace&action=edit" title="Vorlage:Replace">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Tl" title="Vorlage:Tl">Vorlage:Tl</a> (<a href="/w/index.php?title=Vorlage:Tl&action=edit" title="Vorlage:Tl">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:Trim" title="Vorlage:Trim">Vorlage:Trim</a> (<a href="/w/index.php?title=Vorlage:Trim&action=edit" title="Vorlage:Trim">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Vorlage:%E2%80%A2w" class="mw-redirect" title="Vorlage:•w">Vorlage:•w</a> (<a href="/w/index.php?title=Vorlage:%E2%80%A2w&action=edit" class="mw-redirect" title="Vorlage:•w">bearbeiten</a>) </li><li><a href="/wiki/Vorlage:%E2%80%A2wrap" title="Vorlage:•wrap">Vorlage:•wrap</a> (<a href="/w/index.php?title=Vorlage:%E2%80%A2wrap&action=edit" title="Vorlage:•wrap">bearbeiten</a>) </li><li><a href="/wiki/Modul:Arguments" title="Modul:Arguments">Modul:Arguments</a> (<a href="/w/index.php?title=Modul:Arguments&action=edit" title="Modul:Arguments">bearbeiten</a>) </li><li><a href="/wiki/Modul:Coordinates" title="Modul:Coordinates">Modul:Coordinates</a> (<a href="/w/index.php?title=Modul:Coordinates&action=edit" title="Modul:Coordinates">Quelltext anzeigen</a>) schreibgeschützt (nur angemeldete, nicht neue Benutzer)</li><li><a href="/wiki/Modul:Coordinates/i18n" title="Modul:Coordinates/i18n">Modul:Coordinates/i18n</a> (<a href="/w/index.php?title=Modul:Coordinates/i18n&action=edit" title="Modul:Coordinates/i18n">bearbeiten</a>) </li><li><a href="/wiki/Modul:Failsafe" title="Modul:Failsafe">Modul:Failsafe</a> (<a href="/w/index.php?title=Modul:Failsafe&action=edit" title="Modul:Failsafe">bearbeiten</a>) </li><li><a href="/wiki/Modul:Mapframe" title="Modul:Mapframe">Modul:Mapframe</a> (<a href="/w/index.php?title=Modul:Mapframe&action=edit" title="Modul:Mapframe">Quelltext anzeigen</a>) schreibgeschützt (nur angemeldete, nicht neue Benutzer)</li><li><a href="/wiki/Modul:Mapframe/Doku" title="Modul:Mapframe/Doku">Modul:Mapframe/Doku</a> (<a href="/w/index.php?title=Modul:Mapframe/Doku&action=edit" title="Modul:Mapframe/Doku">bearbeiten</a>) </li><li><a href="/wiki/Modul:Mapframe/Params" title="Modul:Mapframe/Params">Modul:Mapframe/Params</a> (<a href="/w/index.php?title=Modul:Mapframe/Params&action=edit" title="Modul:Mapframe/Params">bearbeiten</a>) </li><li><a href="/wiki/Modul:Mapshape_utilities" title="Modul:Mapshape utilities">Modul:Mapshape utilities</a> (<a href="/w/index.php?title=Modul:Mapshape_utilities&action=edit" title="Modul:Mapshape utilities">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Modul:Mapshape_utilities/i18n" title="Modul:Mapshape utilities/i18n">Modul:Mapshape utilities/i18n</a> (<a href="/w/index.php?title=Modul:Mapshape_utilities/i18n&action=edit" title="Modul:Mapshape utilities/i18n">Quelltext anzeigen</a>) schreibgeschützt (nur angemeldete, nicht neue Benutzer)</li><li><a href="/wiki/Modul:Marker_utilities/Groups" title="Modul:Marker utilities/Groups">Modul:Marker utilities/Groups</a> (<a href="/w/index.php?title=Modul:Marker_utilities/Groups&action=edit" title="Modul:Marker utilities/Groups">Quelltext anzeigen</a>) schreibgeschützt (nur angemeldete, nicht neue Benutzer)</li><li><a href="/wiki/Modul:Message_box" title="Modul:Message box">Modul:Message box</a> (<a href="/w/index.php?title=Modul:Message_box&action=edit" title="Modul:Message box">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Modul:Message_box/configuration" title="Modul:Message box/configuration">Modul:Message box/configuration</a> (<a href="/w/index.php?title=Modul:Message_box/configuration&action=edit" title="Modul:Message box/configuration">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Modul:Message_box/ombox.css" title="Modul:Message box/ombox.css">Modul:Message box/ombox.css</a> (<a href="/w/index.php?title=Modul:Message_box/ombox.css&action=edit" title="Modul:Message box/ombox.css">bearbeiten</a>) </li><li><a href="/wiki/Modul:Namespace_detect" title="Modul:Namespace detect">Modul:Namespace detect</a> (<a href="/w/index.php?title=Modul:Namespace_detect&action=edit" title="Modul:Namespace detect">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Modul:Namespace_detect/config" title="Modul:Namespace detect/config">Modul:Namespace detect/config</a> (<a href="/w/index.php?title=Modul:Namespace_detect/config&action=edit" title="Modul:Namespace detect/config">bearbeiten</a>) </li><li><a href="/wiki/Modul:Namespace_detect/data" title="Modul:Namespace detect/data">Modul:Namespace detect/data</a> (<a href="/w/index.php?title=Modul:Namespace_detect/data&action=edit" title="Modul:Namespace detect/data">bearbeiten</a>) </li><li><a href="/wiki/Modul:Pagelist" title="Modul:Pagelist">Modul:Pagelist</a> (<a href="/w/index.php?title=Modul:Pagelist&action=edit" title="Modul:Pagelist">bearbeiten</a>) </li><li><a href="/wiki/Modul:String" title="Modul:String">Modul:String</a> (<a href="/w/index.php?title=Modul:String&action=edit" title="Modul:String">bearbeiten</a>) </li><li><a href="/wiki/Modul:Tools" title="Modul:Tools">Modul:Tools</a> (<a href="/w/index.php?title=Modul:Tools&action=edit" title="Modul:Tools">bearbeiten</a>) </li><li><a href="/wiki/Modul:Wikidata_utilities" title="Modul:Wikidata utilities">Modul:Wikidata utilities</a> (<a href="/w/index.php?title=Modul:Wikidata_utilities&action=edit" title="Modul:Wikidata utilities">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li><li><a href="/wiki/Modul:Yesno" title="Modul:Yesno">Modul:Yesno</a> (<a href="/w/index.php?title=Modul:Yesno&action=edit" title="Modul:Yesno">Quelltext anzeigen</a>) schreibgeschützt (nur Administratoren)</li></ul></div><p id="mw-returnto">Zurück zur Seite <a href="/wiki/Modul:Mapframe" title="Modul:Mapframe">Modul:Mapframe</a>.</p> <!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1&useformat=desktop" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Abgerufen von „<a dir="ltr" href="https://de.wikivoyage.org/wiki/Modul:Mapframe">https://de.wikivoyage.org/wiki/Modul:Mapframe</a>“</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy/de">Datenschutz</a></li> <li id="footer-places-about"><a href="/wiki/Wikivoyage:%C3%9Cber_uns">Über Wikivoyage</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikivoyage:Impressum">Kontakt und Impressum</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Verhaltenskodex</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Entwickler</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/de.wikivoyage.org">Statistiken</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Stellungnahme zu Cookies</a></li> <li id="footer-places-mobileview"><a href="//de.m.wikivoyage.org/w/index.php?title=Modul:Mapframe&action=edit&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile Ansicht</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-5c59558b9d-tvbbz","wgBackendResponseTime":226,"wgPageParseReport":{"limitreport":{"cputime":"0.006","walltime":"0.008","ppvisitednodes":{"value":18,"limit":1000000},"postexpandincludesize":{"value":785,"limit":2097152},"templateargumentsize":{"value":0,"limit":2097152},"expansiondepth":{"value":2,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 0.000 1 -total"]},"cachereport":{"origin":"mw-web.codfw.main-5c59558b9d-tvbbz","timestamp":"20241130161624","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>