CINXE.COM
Plantilla:Two maps block - Viquipèdia, l'enciclopèdia lliure
<!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-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="ca" dir="ltr"> <head> <meta charset="UTF-8"> <title>Plantilla:Two maps block - Viquipèdia, l'enciclopèdia lliure</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-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )cawikimwclientpreferences=([^;]+)/);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":false,"wgSeparatorTransformTable":[",\t.",".\t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],"wgRequestId":"35ee767f-c40a-4045-98ea-c094ffbba7eb","wgCanonicalNamespace":"Template","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":10,"wgPageName":"Plantilla:Two_maps_block","wgTitle":"Two maps block","wgCurRevisionId":33739376,"wgRevisionId":33739376,"wgArticleId":2049025,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Pàgines que usen l'extensió Kartographer","Infotaules de geografia"],"wgPageViewLanguage":"ca","wgPageContentLanguage":"ca","wgPageContentModel":"wikitext","wgRelevantPageName":"Plantilla:Two_maps_block","wgRelevantArticleId":2049025,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true, "wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"ca","pageLanguageDir":"ltr","pageVariantFallbacks":"ca"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":10000,"wgCoordinates":{"lat":42.4025,"lon":2.1084},"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q123418614","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready", "site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.kartographer.style":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","wikibase.client.data-bridge.externalModifiers":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.kartographer.link","ext.kartographer.staticframe","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.UkensKonkurranse","ext.gadget.refToolbar","ext.gadget.charinsert","ext.gadget.AltresViccionari","ext.gadget.purgetab","ext.gadget.DocTabs","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init", "ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","wikibase.client.vector-2022","wikibase.client.data-bridge.init","ext.checkUser.clientHints","oojs-ui.styles.icons-media","oojs-ui-core.icons","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=ca&modules=ext.kartographer.style%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.data-bridge.externalModifiers%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=ca&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=ca&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="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Plantilla:Two maps block - Viquipèdia, l'enciclopèdia lliure"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//ca.m.wikipedia.org/wiki/Plantilla:Two_maps_block"> <link rel="alternate" type="application/x-wiki" title="Modifica" href="/w/index.php?title=Plantilla:Two_maps_block&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Viquipèdia (ca)"> <link rel="EditURI" type="application/rsd+xml" href="//ca.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://ca.wikipedia.org/wiki/Plantilla:Two_maps_block"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.ca"> <link rel="alternate" type="application/atom+xml" title="Canal de sindicació Atom Viquipèdia" href="/w/index.php?title=Especial:Canvis_recents&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-10 ns-subject mw-editable page-Plantilla_Two_maps_block rootpage-Plantilla_Two_maps_block skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Vés al contingut</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="Lloc"> <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="Menú principal" > <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">Menú principal</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">Menú principal</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">amaga</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navegació </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Portada" title="Visiteu la pàgina principal [z]" accesskey="z"><span>Portada</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Especial:Article_aleatori" title="Carrega una pàgina a l’atzar [x]" accesskey="x"><span>Article a l'atzar</span></a></li><li id="n-Articles-de-qualitat" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Articles_de_qualitat"><span>Articles de qualitat</span></a></li> </ul> </div> </div> <div id="p-Comunitat" class="vector-menu mw-portlet mw-portlet-Comunitat" > <div class="vector-menu-heading"> Comunitat </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Portal" title="Sobre el projecte, què podeu fer, on trobareu les coses"><span>Portal viquipedista</span></a></li><li id="n-Agenda-d'actes" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Trobades"><span>Agenda d'actes</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Especial:Canvis_recents" title="Una llista dels canvis recents al wiki [r]" accesskey="r"><span>Canvis recents</span></a></li><li id="n-La-taverna" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:La_taverna"><span>La taverna</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Contacte"><span>Contacte</span></a></li><li id="n-Xat" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Canals_IRC"><span>Xat</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Ajuda" title="El lloc per a saber més coses"><span>Ajuda</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Portada" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Viquipèdia" src="/static/images/mobile/copyright/wikipedia-wordmark-ca.svg" style="width: 7.5em; height: 1.4375em;"> <img class="mw-logo-tagline" alt="l'Enciclopèdia Lliure" src="/static/images/mobile/copyright/wikipedia-tagline-ca.svg" width="120" height="14" style="width: 7.5em; height: 0.875em;"> </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/Especial:Cerca" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Cerca a la Viquipèdia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Cerca</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="Cerca a Viquipèdia" aria-label="Cerca a Viquipèdia" autocapitalize="sentences" title="Cerca a la Viquipèdia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Especial:Cerca"> </div> <button class="cdx-button cdx-search-input__end-button">Cerca</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Eines personals"> <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="Aparença"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <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="Aparença" > <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">Aparença</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="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_ca.wikipedia.org&uselang=ca" class=""><span>Donatius</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=Especial:Crea_compte&returnto=Plantilla%3ATwo+maps+block" title="Us animem a crear un compte i iniciar una sessió, encara que no és obligatori" class=""><span>Crea un compte</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=Especial:Registre_i_entrada&returnto=Plantilla%3ATwo+maps+block" title="Us animem a registrar-vos, però no és obligatori [o]" accesskey="o" class=""><span>Inicia la sessió</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="Més opcions" > <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="Eines personals" > <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">Eines personals</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menú d'usuari" > <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="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_ca.wikipedia.org&uselang=ca"><span>Donatius</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Especial:Crea_compte&returnto=Plantilla%3ATwo+maps+block" title="Us animem a crear un compte i iniciar una sessió, encara que no és obligatori"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Crea un compte</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Especial:Registre_i_entrada&returnto=Plantilla%3ATwo+maps+block" title="Us animem a registrar-vos, però no és obligatori [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Inicia la sessió</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"> Pàgines per a editors no registrats <a href="/wiki/Ajuda:Introducci%C3%B3" aria-label="Vegeu més informació sobre l'edició"><span>més informació</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/Especial:Contribucions_pr%C3%B2pies" title="Una llista de les modificacions fetes des d'aquesta adreça IP [y]" accesskey="y"><span>Contribucions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Especial:Discussi%C3%B3_personal" title="Discussió sobre les edicions per aquesta adreça ip. [n]" accesskey="n"><span>Discussió per aquest IP</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="Lloc"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contingut" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contingut</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">amaga</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Inici</div> </a> </li> <li id="toc-Descripció" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Descripció"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Descripció</span> </div> </a> <ul id="toc-Descripció-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Sintaxi" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Sintaxi"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Sintaxi</span> </div> </a> <ul id="toc-Sintaxi-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Exemple" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Exemple"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Exemple</span> </div> </a> <ul id="toc-Exemple-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Vegeu_també" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Vegeu_també"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Vegeu també</span> </div> </a> <ul id="toc-Vegeu_també-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contingut" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Commuta la taula de continguts." > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-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-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Commuta la taula de continguts.</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Plantilla</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Two maps block</span></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="Vés a un article en una altra llengua. Disponible en 3 llengües" > <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-3" 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">3 llengües</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ga mw-list-item"><a href="https://ga.wikipedia.org/wiki/Teimpl%C3%A9ad:Two_maps_block" title="Teimpléad:Two maps block - irlandès" lang="ga" hreflang="ga" data-title="Teimpléad:Two maps block" data-language-autonym="Gaeilge" data-language-local-name="irlandès" class="interlanguage-link-target"><span>Gaeilge</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Modelo:Two_maps_block" title="Modelo:Two maps block - gallec" lang="gl" hreflang="gl" data-title="Modelo:Two maps block" data-language-autonym="Galego" data-language-local-name="gallec" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Templat:Blok_dua_peta" title="Templat:Blok dua peta - malai" lang="ms" hreflang="ms" data-title="Templat:Blok dua peta" data-language-autonym="Bahasa Melayu" data-language-local-name="malai" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q123418614#sitelinks-wikipedia" title="Modifica enllaços interlingües" class="wbc-editpage">Modifica els enllaços</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Espais de noms"> <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-template" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Plantilla:Two_maps_block" title="Vegeu la plantilla [c]" accesskey="c"><span>Plantilla</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Plantilla_Discussi%C3%B3:Two_maps_block&action=edit&redlink=1" rel="discussion" class="new" title="Discussió sobre el contingut d'aquesta pàgina (encara no existeix) [t]" accesskey="t"><span>Discussió</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="Canvia la variant de llengua" > <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">català</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="Vistes"> <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="selected vector-tab-noicon mw-list-item"><a href="/wiki/Plantilla:Two_maps_block"><span>Mostra</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block&action=edit" title="Modifica el codi font d'aquesta pàgina [e]" accesskey="e"><span>Modifica el codi</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block&action=history" title="Versions antigues d'aquesta pàgina [h]" accesskey="h"><span>Mostra l'historial</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Eines de la pàgina"> <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="Eines" > <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">Eines</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">Eines</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">amaga</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Més opcions" > <div class="vector-menu-heading"> Accions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Plantilla:Two_maps_block"><span>Mostra</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block&action=edit" title="Modifica el codi font d'aquesta pàgina [e]" accesskey="e"><span>Modifica el codi</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block&action=history"><span>Mostra l'historial</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Especial:Enlla%C3%A7os/Plantilla:Two_maps_block" title="Una llista de totes les pàgines wiki que enllacen amb aquesta [j]" accesskey="j"><span>Què hi enllaça</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Especial:Seguiment/Plantilla:Two_maps_block" rel="nofollow" title="Canvis recents a pàgines enllaçades des d'aquesta pàgina [k]" accesskey="k"><span>Canvis relacionats</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Especial:P%C3%A0gines_especials" title="Llista totes les pàgines especials [q]" accesskey="q"><span>Pàgines especials</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block&oldid=33739376" title="Enllaç permanent a aquesta revisió de la pàgina"><span>Enllaç permanent</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Plantilla:Two_maps_block&action=info" title="Més informació sobre aquesta pàgina"><span>Informació de la pàgina</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Especial:UrlShortener&url=https%3A%2F%2Fca.wikipedia.org%2Fwiki%2FPlantilla%3ATwo_maps_block"><span>Obtén una URL abreujada</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Especial:QrCode&url=https%3A%2F%2Fca.wikipedia.org%2Fwiki%2FPlantilla%3ATwo_maps_block"><span>Descarrega el codi QR</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> Imprimeix/exporta </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Especial:DownloadAsPdf&page=Plantilla%3ATwo_maps_block&action=show-download-screen"><span>Baixa com a PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="Versió per a impressió d'aquesta pàgina [p]" accesskey="p"><span>Versió per a impressora</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"> En altres projectes </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/Q123418614" title="Enllaç a l'element del repositori de dades connectat [g]" accesskey="g"><span>Element a Wikidata</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="Eines de la pàgina"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Aparença"> <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">Aparença</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">amaga</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 id="mw-indicator-coordinates-ind" class="mw-indicator"><div class="mw-parser-output"><span id="coordinates"><span title="Coordenades geogràfiques WGS84">Coord.:</span> <span class="plainlinks nourlexpansion"><a class="external text" href="//geohack.toolforge.org/geohack.php?pagename=Plantilla:Two_maps_block&language=ca&params=42.4025_N_2.1084_E_"><span class="geo-default"><span class="geo-dms" title="Mapes, fotos aèries i altres informacions per a aquesta localització">42° 24′ 09″ N, 2° 06′ 30″ E</span></span><span class="geo-multi-punct"> / </span><span class="geo-nondefault"><span class="geo-dec" title="Mapes, fotos aèries i altres informacions per a aquesta localització"><span class="latitude">42.4025°N</span>,<span class="longitude">2.1084°E</span></span><span style="display:none"> / <span class="geo">42.4025; 2.1084</span></span></span></a></span></span></div></div> </div> <div id="siteSub" class="noprint">De la Viquipèdia, l'enciclopèdia lliure</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="ca" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r33711414">.mw-parser-output .template-documentation{clear:both;margin:1em 0 0 0;border:1px solid #aaa;background-color:#ecfcf4;padding:1em}@media screen{html.skin-theme-clientpref-night .mw-parser-output .template-documentation{background-color:#0b1e1c}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .template-documentation{background-color:#0b1e1c}}</style> <div id="template-documentation" class="template-documentation iezoomfix"><div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;"><span style="font-weight: bold; font-size: 125%"><span typeof="mw:File"><span><img alt="Icona de documentació de mòdul" src="//upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/50px-Test_Template_Info-Icon.svg.png" decoding="async" width="50" height="22" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/75px-Test_Template_Info-Icon.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/19/Test_Template_Info-Icon.svg/100px-Test_Template_Info-Icon.svg.png 2x" data-file-width="1792" data-file-height="800" /></span></span> Documentació de la plantilla</span><span class="plainlinks" id="doc_editlinks"> [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/%C3%BAs&action=view">mostra</a> ] [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/%C3%BAs&action=edit">modifica el codi</a> ] [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/%C3%BAs&action=history">mostra l'historial</a> ] [ <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block&action=purge">refresca</a> ]</span></div> <p>Sub-funció per a construir un bloc amb el continguts dels <b>mapes de localització</b> per a plantilles de geografia i d'elements ubicats al territori. DEBE SER invocada des d'INFOTAULES. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Descripció"><span id="Descripci.C3.B3"></span>Descripció</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:Two_maps_block/%C3%BAs&action=edit&section=T-1" title="Modifica la secció: Descripció"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>La plantilla construeix el "bloc de mapes" seguint el següent ordre: </p> <ol><li>En un <u>bloc superior</u> ocupant tot l'ample: una <u>imatge</u> aportada manualment a <code>v_image_map</code>; és opcional i complementària (no és excloent) amb les altres formes de presentar mapes en el bloc inferior. Acostum a servir per a representar esquemes complexos, com ara el conjunt de territoris mundials d'un estat, o un esquema o grafisme, etc.</li> <li>Un <u>bloc inferior</u> pot emplenar-se de dues formes diferents:</li></ol> <dl><dd><ul><li>amb <u>dos mapes bàsics</u>: una <a href="https://www.wikidata.org/wiki/Property:p242" class="extiw" title="d:Property:p242">Imatge del mapa localitzador <small>(P242)</small></a> (manualment amb <code>v_p242</code>) a l'esquerra per ubicar el territori objecte de forma esquemàtica. A la dreta es mostra un mapa dinàmic centrat en les coordenades.(*)</li> <li>amb un <u>mapa especial</u> construït a mida mitjançant <span style="white-space:nowrap;">{{<a href="/wiki/Plantilla:Map_draw" title="Plantilla:Map draw">Map draw</a>}}</span> aportat amb el paràmetre <code>v_draw_map</code> que permet generar un mapa dinàmic afegint-li una capa amb una línia o un polígon que ressalta una àrea definida per un conjunt de coordenades. Aquest mapa <b>ÉS</b> excloent amb el bloc de dos "mapes bàsics".</li></ul></dd></dl> <p>Com a norma general, per evitar que un mapa es construeixi amb dades WD cal indicar el valor <code>NONE</code> al paràmetre manual corresponent (<code>v_p242</code> per al "mapa localitzador" i el paràmetre de coordenades manuals <code>v_p625_lat_dec</code> per evitar el mapa dinàmic). Amb el paràmetre especial <code>v_basic_maps =NONE</code> s'evita que surti cap map dels previstos al bloc inferior. </p><p>(*) El <b>mapa dinàmic</b> està centrat sobre les coordenades (una o dues) de l'article i mostra (si existeix disponible a l'OpenStreetMap) el perímetre de l'ítem al que es refereix l'article. El text, format color i mida del punt es pot parametritzar. </p><p>Sobre aquest mapa es poden afegir fins a 3 capes amb altres continguts complementaris com ara una línia que descriu el recorregut de l'element, polígons amb subdivisions territorials, un conjunt de punts (parades d'una línia, etapes d'una ruta, ..), etc. L'ús d'aquestes capes anul·la la informació perimetral provinent de l'OpenStreetMap. Aquestes capes s'informen amb el paràmetre <code>layer</code> que es defineixen en JSON i s'emmagatzemen a Commons amb <a class="external text" href="https://www.mediawiki.org/wiki/Help:Map_Data">format Map Data</a>. </p> <div class="mw-heading mw-heading2"><h2 id="Sintaxi">Sintaxi</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:Two_maps_block/%C3%BAs&action=edit&section=T-2" title="Modifica la secció: Sintaxi"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <pre>{{Two_maps_block | item = |{{{v_zoom_map|}}}= |v_item_territory = | v_image_map= |v_caption_map= | v_draw_map= |v_basic_maps= | v_p242= |v_p242_size= | v_marker= |v_marker_name= | v_marker_image= |v_marker_description= | v_marker_color= |v_marker_size= | v_marker_name_2= |marcador2= | v_marker_image_2= |v_marker_description_2= | v_marker_color_2= |v_marker_size_2= | v_stroke_4= |linia_mida= | v_p625_lat_lon= |v_p625_lat_lon2= | v_p625_lat_dec= |v_p625_lon_dec= | v_p625_lat_dec2= |v_p625_lon_dec2= | layer= }}</pre> <ul><li><code>item </code> (opcional): Codi de l'ítem Wikidata a tractar. Si no s'informa es farà servir l'article actiu</li> <li><code>v_item_territory</code> (opcional): Codi de l'ítem Wikidata de la unitat territorial que es vol agafar per a dibuixar el perímetre de geomask. Això permet que el mapa dibuixat quedi "focalitzat" en un territori diferent al que estem tractant. Ex.: tractem un edifici i circumscrivim el mapa al municipi on es troba. Si no s'informa es farà servir el valor <code>item </code> o el de l'article actiu</li> <li><code></code> (opcional): nivell de zoom del mapa dinàmic (0-18): 0=mapa mundi, 9-11=regió, 13=ciutat, 18=edifici.</li> <li><code>v_image_map </code> (opcional): Imatge que es mostrarà al bloc superior amb un mapa especial per a complementar els estàndards obtinguts via coordenades. Algunes infotaules fan servir <a href="https://www.wikidata.org/wiki/Property:P1621" class="extiw" title="d:Property:P1621">Mapa detallat <small>(P1621)</small></a> per obtenir, previ a la crida, el contingut a incorporar en aquest paràmetre.</li> <li><code>v_caption_map </code> (opcional): Peu d'imatge de <code>v_image_map </code></li> <li><code>v_p242</code> = nom de la imatge que representa el <u>mapa localitzador</u> que es mostrarà al costat esquerre. Si no s'informa, s'agafarà el contingut de <a href="https://www.wikidata.org/wiki/Property:P242" class="extiw" title="d:Property:P242">Imatge del mapa localitzador <small>(P242)</small></a>. Es pot evitar indicant <code>NONE</code> com a valor d'aquest paràmetre.</li> <li><code>v_p242_size</code> = Mida del mapa localitzador. Per defecte, es mostra 150x150px quan està juntament amb el mapa dinàmic o 250x250px quan no existeix mapa dinàmic.</li> <li><code>v_basic_maps</code> = amb valor NONE evita la recuperació des de WD de tot el bloc inferior (mapa localitzador + mapa dinàmic)</li> <li><code>v_marker</code> (opcional): <i>icona</i> que mostrarà a la coordenada. Els noms d'icones disponibles és a <a class="mw-kartographer-maplink" data-mw-kartographer="maplink" data-style="osm-intl" data-zoom="10" data-overlays="["_b72bc990c86a936695bc0f43385d6e1ded97a704"]">Maki Icons</a>.</li> <li><code>v_marker_color</code> (opcional): Color del marcador del punt amb format CSS. Per defecte és "#FF0000". Vegeu la <a href="/wiki/Colors_HTML#Nom_de_colors_X11" title="Colors HTML">llista de colors</a>.</li> <li><code>v_marker_size</code> (opcional): Mida del marcador. Valors: <i>small</i>, <i>medium</i>, <i>large</i>; per defecte és small.</li> <li><code>v_marker_name</code> (opcional): Títol a l'etiqueta de l'objecte.</li> <li><code>v_marker_description</code> (opcional): Text complementari a l'etiqueta de l'objecte.</li> <li><code>v_marker_image</code> (opcional): imatge que es mostrarà a l'etiqueta de l'objecte. Només nom del fitxer, sense codi wiki de format i sense "fitxer: / file:,....").</li> <li><code>v_marker2, v_marker_color_2, v_marker_size_2, v_marker_name_2, v_marker_description_2, v_marker_image_2</code> Conjunt de paràmetres si hi ha un segon punt (<code>v_p625_lat_dec2 / v_p625_long_dec2</code>)</li> <li><code>v_p625_lat_lon </code> Coordenades decimals en format <code>lat,lon</code>. Les úniques en un monopunt, o les de l'inici en un multipunt.</li> <li><code>v_p625_lat_dec / v_p625_lon_dec </code> Coordenades. Les úniques en un monopunt, o les de l'inici en un multipunt. Excloents amb <code>v_p625_lat_lon</code></li> <li><code>v_p625_lat_lon2</code> Coordenades decimals en format <code>lat,lon</code>, del punt final en un multipunt.</li> <li><code>v_p625_lat_dec2 / v_p625_lon_dec2</code> Coordenades del punt final en un multipunt. Excloents amb <code>v_p625_lat_lon2</code></li> <li><code>layer</code>Fins a 3 noms del fitxer (data:xxxxxx.map) on hi ha el codi JSON per representar continguts al mapa dinàmic. Entre els noms de cada fitxer cal col·locar un separador <code>###</code>.</li> <li><code>v_stroke_4</code>Color de la línia obtinguda des d'OSM en aquells objectes que són un traçat. Per defecte és "#0000FF". Vegeu la <a href="/wiki/Colors_HTML#Nom_de_colors_X11" title="Colors HTML">llista de colors</a>.</li> <li><code>v_stroke-width_4</code>Amplada de la línia obtinguda des d'OSM en aquells objectes que són un traçat. Per defecte és 5.</li></ul> <p>La plantilla accepta tots els paràmetres previstos a <span style="white-space:nowrap;">{{<a href="/wiki/Plantilla:Two_maps_block/Build_map" title="Plantilla:Two maps block/Build map">Two_maps_block/Build_map</a>}}</span>. </p> <div class="mw-heading mw-heading2"><h2 id="Exemple">Exemple</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:Two_maps_block/%C3%BAs&action=edit&section=T-3" title="Modifica la secció: Exemple"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <table> <tbody><tr> <td><pre>{{Two_maps_block| item = Q23145 | v_marker_name= Llo |v_marker= a | v_marker_description= Aiguaneix | v_marker_color= |marcador_mida= | v_marker_name_2= Ebre |v_marker_2= school | v_marker_image_2= |v_marker_description_2= Eflueix | v_marker_color_2= 006400 |v_marker_size_2= | v_p625_lat_dec= 42.4025 |v_p625_lon_dec= 2.1084 | v_p625_lat_lon_2= 41.363656, 0.302644 | v_coordinate_serie_5 = 41.6083, 0.6448; 41.7862, 0.8212; 41.8926, 1.0574; 42.0631, 1.3211; 42.3484, 1.4667;42.4311, 1.9247 | v_marker_name_5= capitals |v_marker_5= town | v_marker_color_5= |v_marker_size_5= | v_draw_layer=Data:Riu Segre.map }} </pre> </td> <td><table align="center" style="width:auto; cellspacing:1; cellpadding:0%; border:0; margin:0; display:table;"><tbody><tr><td align="center" style="width:auto; vertical-align:middle;"><span typeof="mw:File"><a href="/wiki/Fitxer:Segre_(rivi%C3%A8re).png" class="mw-file-description" title="lang=ca"><img alt="lang=ca" src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Segre_%28rivi%C3%A8re%29.png/150px-Segre_%28rivi%C3%A8re%29.png" decoding="async" width="150" height="108" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Segre_%28rivi%C3%A8re%29.png/225px-Segre_%28rivi%C3%A8re%29.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Segre_%28rivi%C3%A8re%29.png/300px-Segre_%28rivi%C3%A8re%29.png 2x" data-file-width="827" data-file-height="598" /></a></span> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q23145?uselang=ca#P242" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span> </td> <td align="center" style="width:auto; vertical-align:middle;"><a class="mw-kartographer-map notheme mw-kartographer-container floatright" style="width: 150px; height: 150px;" data-mw-kartographer="mapframe" data-style="osm-intl" data-width="150" data-height="150" data-zoom="5" data-lat="42.263161467074" data-lon="1.7183586613553" data-overlays="["_8fee98341347a5440b2cb1248cf54d8d42611347"]" href="/wiki/Especial:Map/5/42.263161467074/1.7183586613553/ca"><img src="https://maps.wikimedia.org/img/osm-intl,5,42.263161467074,1.7183586613553,150x150.png?lang=ca&domain=ca.wikipedia.org&title=Plantilla%3ATwo_maps_block&revid=33739376&groups=_8fee98341347a5440b2cb1248cf54d8d42611347" width="150" height="150" decoding="async" srcset="https://maps.wikimedia.org/img/osm-intl,5,42.263161467074,1.7183586613553,150x150@2x.png?lang=ca&domain=ca.wikipedia.org&title=Plantilla%3ATwo_maps_block&revid=33739376&groups=_8fee98341347a5440b2cb1248cf54d8d42611347 2x" alt="Map" /></a></td></tr><tr><td colspan="2" align="center" style="width:auto; vertical-align:middle;"><small>A <span class="plainlinks nourlexpansion"><a class="external text" href="//geohack.toolforge.org/geohack.php?pagename=Plantilla:Two_maps_block&language=ca&params=42.4025_N_2.1084_E_"><span class="geo-default"><span class="geo-dms" title="Mapes, fotos aèries i altres informacions per a aquesta localització">42° 24′ 09″ N, 2° 06′ 30″ E</span></span><span class="geo-multi-punct"> / </span><span class="geo-nondefault"><span class="geo-dec" title="Mapes, fotos aèries i altres informacions per a aquesta localització"><span class="latitude">42.4025°N</span>,<span class="longitude">2.1084°E</span></span><span style="display:none"> / <span class="geo">42.4025; 2.1084</span></span></span></a></span></small><br /><small><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Maki2-school-12.svg/15px-Maki2-school-12.svg.png" decoding="async" width="15" height="15" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Maki2-school-12.svg/23px-Maki2-school-12.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Maki2-school-12.svg/30px-Maki2-school-12.svg.png 2x" data-file-width="12" data-file-height="12" /></span></span>  <span class="plainlinks nourlexpansion"><a class="external text" href="//geohack.toolforge.org/geohack.php?pagename=Plantilla:Two_maps_block&language=ca&params=41.363656_N_0.302644_E_"><span class="geo-default"><span class="geo-dms" title="Mapes, fotos aèries i altres informacions per a aquesta localització">41° 21′ 49″ N, 0° 18′ 10″ E</span></span><span class="geo-multi-punct"> / </span><span class="geo-nondefault"><span class="geo-dec" title="Mapes, fotos aèries i altres informacions per a aquesta localització"><span class="latitude">41.363656°N</span>,<span class="longitude">0.302644°E</span></span><span style="display:none"> / <span class="geo">41.363656; 0.302644</span></span></span></a></span></small></td></tr></tbody></table> </td></tr></tbody></table> <div class="mw-heading mw-heading2"><h2 id="Vegeu_també"><span id="Vegeu_tamb.C3.A9"></span>Vegeu també</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Plantilla:Two_maps_block/%C3%BAs&action=edit&section=T-4" title="Modifica la secció: Vegeu també"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><span style="white-space:nowrap;">{{<a href="/wiki/Plantilla:Two_maps_block/Build_map" title="Plantilla:Two maps block/Build map">Two maps block/Build map</a>}}</span></li></ul></div><div id="documentation-meta-data" class="template-documentation plainlinks" style="font-style: italic; padding: 0 1em;"> La <a href="/wiki/Viquip%C3%A8dia:Documentaci%C3%B3_de_plantilles" title="Viquipèdia:Documentació de plantilles">documentació</a> de més amunt està transclosa de <a href="/wiki/Plantilla:Two_maps_block/%C3%BAs" title="Plantilla:Two maps block/ús">Plantilla:Two maps block/ús</a>. <small style="font-style: normal">(<a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/%C3%BAs&action=edit">modifica</a> | <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block/%C3%BAs&action=history">historial</a>)</small> <br />Els editors poden fer <a href="/wiki/Viquip%C3%A8dia:Proves_de_plantilles" title="Viquipèdia:Proves de plantilles">proves amb aquesta plantilla</a> al seu espai de proves <small style="font-style: normal">(<a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Especial:Mypage/proves/Plantilla:Two_maps_block&action=edit&preload=Plantilla%3ATwo+maps+block&summary=Versi%C3%B3+per+a+proves+de+%5B%5BPlantilla%3ATwo+maps+block%5D%5D&editintro=Plantilla%3A%C3%9As+de+la+plantilla%2Fav%C3%ADs+d%27edici%C3%B3">crea</a> | <a class="external text" href="https://ca.wikipedia.org/w/index.php?title=Especial:Mypage/proves/Plantilla:Two_maps_block&action=edit">modifica</a>)</small><br />Afegiu categories en la subpàgina <a href="/wiki/Plantilla:Two_maps_block/%C3%BAs" title="Plantilla:Two maps block/ús">/ús</a>. Vegeu les <a href="/wiki/Especial:Cerca_per_prefix/Plantilla:Two_maps_block/" title="Especial:Cerca per prefix/Plantilla:Two maps block/">subpàgines d'aquesta plantilla</a>, <a class="external text" href="https://iw.toolforge.org/templatetiger/template-parameter.php?template=Two_maps_block&lang=cawiki">utilització de paràmetres</a>.</div> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐58856689b6‐5twwg Cached time: 20241127232932 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.441 seconds Real time usage: 0.530 seconds Preprocessor visited node count: 2154/1000000 Post‐expand include size: 70908/2097152 bytes Template argument size: 2561/2097152 bytes Highest expansion depth: 20/100 Expensive parser function count: 3/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 3399/5000000 bytes Lua time usage: 0.307/10.000 seconds Lua memory usage: 2667736/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 503.334 1 -total 100.00% 503.334 1 Plantilla:Documentation 91.03% 458.203 1 Plantilla:Two_maps_block/ús 42.74% 215.100 1 Plantilla:Map_draw/ús/Maki_Icons 37.32% 187.825 1 Plantilla:Two_maps_block 17.81% 89.646 1 Plantilla:Two_maps_block/Build_map 16.95% 85.329 1 Plantilla:Map_draw 11.42% 57.502 18 Plantilla:If_empty 8.95% 45.049 3 Plantilla:P 8.22% 41.358 3 Plantilla:GetLabelFix --> <!-- Saved in parser cache with key cawiki:pcache:idhash:2049025-0!canonical and timestamp 20241127232932 and revision id 33739376. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Obtingut de «<a dir="ltr" href="https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block&oldid=33739376">https://ca.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block&oldid=33739376</a>»</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Especial:Categorias" title="Especial:Categorias">Categoria</a>: <ul><li><a href="/wiki/Categoria:Infotaules_de_geografia" title="Categoria:Infotaules de geografia">Infotaules de geografia</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Categoria oculta: <ul><li><a href="/wiki/Categoria:P%C3%A0gines_que_usen_l%27extensi%C3%B3_Kartographer" title="Categoria:Pàgines que usen l'extensió Kartographer">Pàgines que usen l'extensió Kartographer</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> La pàgina va ser modificada per darrera vegada el 1 ago 2024 a les 13:05.</li> <li id="footer-info-copyright">El text està disponible sota la <a href="/wiki/Viquip%C3%A8dia:Text_de_la_llic%C3%A8ncia_de_Creative_Commons_Reconeixement-Compartir_Igual_4.0_No_adaptada" title="Viquipèdia:Text de la llicència de Creative Commons Reconeixement-Compartir Igual 4.0 No adaptada"> Llicència de Creative Commons Reconeixement i Compartir-Igual</a>; es poden aplicar termes addicionals. Vegeu les <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use/ca">Condicions d'ús</a>. Wikipedia® (Viquipèdia™) és una <a href="/wiki/Marca_comercial" title="Marca comercial">marca registrada</a> de <a rel="nofollow" class="external text" href="https://www.wikimediafoundation.org">Wikimedia Foundation, Inc</a>.<br /></li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Política de privadesa</a></li> <li id="footer-places-about"><a href="/wiki/Viquip%C3%A8dia:Quant_a_la_Viquip%C3%A8dia">Quant al projecte Viquipèdia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Viquip%C3%A8dia:Av%C3%ADs_d%27exempci%C3%B3_de_responsabilitat">Descàrrec de responsabilitat</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Codi de conducta</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Desenvolupadors</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/ca.wikipedia.org">Estadístiques</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Declaració de cookies</a></li> <li id="footer-places-mobileview"><a href="//ca.m.wikipedia.org/w/index.php?title=Plantilla:Two_maps_block&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Versió per a mòbils</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-57488d5c7d-j26gr","wgBackendResponseTime":144,"wgKartographerLiveData":{"_8fee98341347a5440b2cb1248cf54d8d42611347":[{"type":"ExternalData","service":"page","url":"/w/api.php?format=json\u0026formatversion=2\u0026action=jsondata\u0026title=Riu+Segre.map"},{"type":"ExternalData","service":"geoline","url":"https://maps.wikimedia.org/geoline?getgeojson=1\u0026ids=Q23145","properties":{"stroke-width":5,"stroke":"#0000FF","title":"geoline4"}},{"features":[{"type":"Feature","geometry":{"coordinates":[[0.6448,41.6083],[0.8212,41.7862],[1.0574,41.8926],[1.3211,42.0631],[1.4667,42.3484],[1.9247,42.4311]],"type":"MultiPoint"},"properties":{"marker-size":"small","title":"POI","marker-symbol":"town","marker-color":"7e7e7e"}},{"type":"Feature","geometry":{"coordinates":[2.1084,42.4025],"type":"Point"},"properties":{"marker-size":"small","title":"Llo","description":"Aiguaneix","marker-symbol":"a","marker-color":"FF0000"}},{"type":"Feature","geometry":{"coordinates":[0.302644,41.363656],"type":"Point"},"properties":{"marker-size":"small","title":"Ebre","description":"Eflueix","marker-symbol":"school","marker-color":"006400"}}],"type":"FeatureCollection"}]},"wgPageParseReport":{"limitreport":{"cputime":"0.441","walltime":"0.530","ppvisitednodes":{"value":2154,"limit":1000000},"postexpandincludesize":{"value":70908,"limit":2097152},"templateargumentsize":{"value":2561,"limit":2097152},"expansiondepth":{"value":20,"limit":100},"expensivefunctioncount":{"value":3,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":3399,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 503.334 1 -total","100.00% 503.334 1 Plantilla:Documentation"," 91.03% 458.203 1 Plantilla:Two_maps_block/ús"," 42.74% 215.100 1 Plantilla:Map_draw/ús/Maki_Icons"," 37.32% 187.825 1 Plantilla:Two_maps_block"," 17.81% 89.646 1 Plantilla:Two_maps_block/Build_map"," 16.95% 85.329 1 Plantilla:Map_draw"," 11.42% 57.502 18 Plantilla:If_empty"," 8.95% 45.049 3 Plantilla:P"," 8.22% 41.358 3 Plantilla:GetLabelFix"]},"scribunto":{"limitreport-timeusage":{"value":"0.307","limit":"10.000"},"limitreport-memusage":{"value":2667736,"limit":52428800}},"cachereport":{"origin":"mw-api-int.codfw.main-58856689b6-5twwg","timestamp":"20241127232932","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>